Thank you for the information. On Mon, Jul 13, 2020 at 1:54 PM Andrew Stubbs <ams@xxxxxxxxxxxxxxxx> 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