From: Andrew Stubbs <ams@codesourcery.com>
To: MAHDI LOTFI <mahdiscience2012@gmail.com>, <gcc-help@gcc.gnu.org>
Subject: Re: Install and Configure GCC 9
Date: Mon, 13 Jul 2020 10:24:19 +0100 [thread overview]
Message-ID: <263ae15b-21f4-3f26-1f68-149ad48416aa@codesourcery.com> (raw)
In-Reply-To: <CAJfh_XrcKuvoaSRJTnVeLVD7kxLKz7ntxzqPi9E5FmTUpMZMhA@mail.gmail.com>
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
next prev parent reply other threads:[~2020-07-13 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-10 2:36 MAHDI LOTFI
2020-07-13 9:24 ` Andrew Stubbs [this message]
2020-07-13 5:00 ` MAHDI LOTFI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=263ae15b-21f4-3f26-1f68-149ad48416aa@codesourcery.com \
--to=ams@codesourcery.com \
--cc=gcc-help@gcc.gnu.org \
--cc=mahdiscience2012@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).