public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: MAHDI LOTFI <mahdiscience2012@gmail.com>
To: Andrew Stubbs <ams@codesourcery.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Install and Configure GCC 9
Date: Mon, 13 Jul 2020 09:30:21 +0430	[thread overview]
Message-ID: <CAJfh_XqxOD3Dpz+JVGx-MqM-=QKo3KPU-DhUbcucZpez3XaVrg@mail.gmail.com> (raw)
In-Reply-To: <263ae15b-21f4-3f26-1f68-149ad48416aa@codesourcery.com>

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

      reply	other threads:[~2020-07-13  9:30 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
2020-07-13  5:00   ` MAHDI LOTFI [this message]

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='CAJfh_XqxOD3Dpz+JVGx-MqM-=QKo3KPU-DhUbcucZpez3XaVrg@mail.gmail.com' \
    --to=mahdiscience2012@gmail.com \
    --cc=ams@codesourcery.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).