Re: Install and Configure GCC 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux