From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 6D4BD385702F for ; Mon, 13 Jul 2020 09:24:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6D4BD385702F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Andrew_Stubbs@mentor.com IronPort-SDR: QcrMPAgIeca13fE3WQsvwiGCTvaqbp8PsT8PampdlBN26Cr/iSkUVylFP1SxCdEbo5qL4zTJ8k jN0Q/yq2SHylwmTWX98N3qlwtm6ZxdugWBl70f+HZrgBkSFJFWTtFS4/cmztq+rdnH6qAYDhT6 QZoD1L2YlRJS+03eOyDcNVNBVSDjZGaisIQ7cDAP5Ky/f3TfWTwrlLzY0Pt8KOGR331FrX/wlm XLa4QFKCtNxZhgS1krjF8UPLzmGRdToF4fdVLPuerztA9miwccX2GmvkcaHJH5c0i22InX0aVO 2sk= X-IronPort-AV: E=Sophos;i="5.75,347,1589270400"; d="scan'208";a="52985800" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 13 Jul 2020 01:24:24 -0800 IronPort-SDR: QD6VDshUMCgfgvQGrAi2Jmb/A8eyon8pkf9yHctix1PtcAG0UefIQtzvqJbaKPqDO2GBj+XIDa lyNLoPrSFPS7NR3K0gXMIwDvU9H79Mb0ERzkVsdLHBwwCOCK09fkmAxYshdnypLT88zKPjbQqL Iq0pTUHcnBuMncmcXRo3Mqg5m4JksrVoo/gL43eCgiqta9mk2D6GRuAVA6XH0MnzVt3+77fw57 5fA38YJ7hazt/AO/CDz99SMualKYc5hphEptpxRhtKzL+lADcI2HgLPUs17bVILFIMS4K18kT2 lKg= Subject: Re: Install and Configure GCC 9 To: MAHDI LOTFI , References: From: Andrew Stubbs Message-ID: <263ae15b-21f4-3f26-1f68-149ad48416aa@codesourcery.com> Date: Mon, 13 Jul 2020 10:24:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 09:24:26 -0000 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