public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Install and Configure GCC 9
@ 2020-07-10  2:36 MAHDI LOTFI
  2020-07-13  9:24 ` Andrew Stubbs
  0 siblings, 1 reply; 3+ messages in thread
From: MAHDI LOTFI @ 2020-07-10  2:36 UTC (permalink / raw)
  To: gcc-help

Hello
  I am a researcher from Jam Petrochemical company. I want to use OpenACC
with GCC compiler(FORTRAN language).
Unfortunately I can not configure gcc-9.3.0 for NVIDIA  GT218M  GPU on
Ubuntu 16.04.
the following error occur when I use openAcc progma:
"libgomp: device type nvidia not supported"
Can you Help me and give me a step by step tutorial to install gcc and
configure it for  NVIDIA  GT218M as an offloading target of OpenACC?


-- 
Mahdi Lotfi
Student at Sharif University of Technology

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Install and Configure GCC 9
  2020-07-13  9:24 ` Andrew Stubbs
@ 2020-07-13  5:00   ` MAHDI LOTFI
  0 siblings, 0 replies; 3+ messages in thread
From: MAHDI LOTFI @ 2020-07-13  5:00 UTC (permalink / raw)
  To: Andrew Stubbs; +Cc: gcc-help

Thank you for the information.

On Mon, Jul 13, 2020 at 1:54 PM Andrew Stubbs <ams@codesourcery.com> wrote:

> On 10/07/2020 03:36, MAHDI LOTFI via Gcc-help wrote:
> > Hello
> >    I am a researcher from Jam Petrochemical company. I want to use
> OpenACC
> > with GCC compiler(FORTRAN language).
> > Unfortunately I can not configure gcc-9.3.0 for NVIDIA  GT218M  GPU on
> > Ubuntu 16.04.
> > the following error occur when I use openAcc progma:
> > "libgomp: device type nvidia not supported"
> > Can you Help me and give me a step by step tutorial to install gcc and
> > configure it for  NVIDIA  GT218M as an offloading target of OpenACC?
>
> Hi Mahdi,
>
> You can build your own offload toolchain using the instructions here:
>
> https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC
>
> Alternatively, Ubuntu 18.04+ has a package "gcc-offload-nvptx".
>
> Depending on your need, you may find that building your own from the
> devel/omp/gcc-9 (or gcc-10) git branch works better.
>
> Hope that helps
>
> Andrew
>


-- 
Mahdi Lotfi
Student at Sharif University of Technology

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Install and Configure GCC 9
  2020-07-10  2:36 Install and Configure GCC 9 MAHDI LOTFI
@ 2020-07-13  9:24 ` Andrew Stubbs
  2020-07-13  5:00   ` MAHDI LOTFI
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Stubbs @ 2020-07-13  9:24 UTC (permalink / raw)
  To: MAHDI LOTFI, gcc-help

On 10/07/2020 03:36, MAHDI LOTFI via Gcc-help wrote:
> Hello
>    I am a researcher from Jam Petrochemical company. I want to use OpenACC
> with GCC compiler(FORTRAN language).
> Unfortunately I can not configure gcc-9.3.0 for NVIDIA  GT218M  GPU on
> Ubuntu 16.04.
> the following error occur when I use openAcc progma:
> "libgomp: device type nvidia not supported"
> Can you Help me and give me a step by step tutorial to install gcc and
> configure it for  NVIDIA  GT218M as an offloading target of OpenACC?

Hi Mahdi,

You can build your own offload toolchain using the instructions here:

https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC

Alternatively, Ubuntu 18.04+ has a package "gcc-offload-nvptx".

Depending on your need, you may find that building your own from the 
devel/omp/gcc-9 (or gcc-10) git branch works better.

Hope that helps

Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-13  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10  2:36 Install and Configure GCC 9 MAHDI LOTFI
2020-07-13  9:24 ` Andrew Stubbs
2020-07-13  5:00   ` MAHDI LOTFI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).