[gmx-users] Installation with CUDA on Debian / gcc 6+

Jochen Hub jhub at gwdg.de
Mon Apr 1 21:11:13 CEST 2019


Hi Mark, Szilárd, and Åke,

many thanks for your help, this fully answers our questions.

Cheers,
Jochen

Am 01.04.19 um 18:28 schrieb Szilárd Páll:
> On Mon, Apr 1, 2019 at 5:08 PM Jochen Hub <jhub at gwdg.de> wrote:
> 
>> Hi Åke,
>>
>> ah, thanks, we had indeed a CUDA 8.0 on our Debian. So we'll try to
>> install CUA 10.1.
>>
>> But as a side question: Doesn't the supported gcc version strongly
>> depend on the Linux distribution, see here:
>>
>> https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
> 
> 
> On paper yes in practice not so much.
> 
> The officially listed "qualified" combinations are not strict (and hard)
> requirement-combinations; as long as the CUDA dkms compiles for your kernel
> and the nvcc works with the gcc compiler you provide it, things will
> generally work. Kernels or compilers shipped by a distro can deviate enough
> from others that issues may arise, but those cases are not overly common
> (as far as I know, though admittedly I don't maintain diverse
> infrastructure).
> 
> By the way, your distro is not "qualified" at all ;)
> 
> --
> Szilárd
> 
> Thanks,
>> Jochen
>>
>>
>> Am 01.04.19 um 16:52 schrieb Åke Sandgren:
>>> Use a newer version of CUDA?
>>>
>>> CUDA 10.1 supports GCC 8.
>>>
>>> On 4/1/19 4:33 PM, Jochen Hub wrote:
>>>> Hi all,
>>>>
>>>> we try to install Gromacs with CUDA support on a Debian system. Cuda
>>>> complains about the gcc 6.30 naively installed on Debian, since Cuda
>>>> supports gcc only until gcc 5.
>>>>
>>>> The problem is that Debian removed packages for gcc-5, so installing an
>>>> older gcc is more tedious.
>>>>
>>>> We understand that CUDA support for gcc strongly depends on the Linux
>>>> Distribution, see
>>>>
>>>> https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
>>>>
>>>> Therefore: Is there any workaround to compile Gromacs with CUDA under
>>>> Debian with a gcc 6+ ?
>>>>
>>>> Thanks a lot,
>>>> Jochen
>>>>
>>>>
>>>
>>
>> --
>> ---------------------------------------------------
>> Dr. Jochen Hub
>> Computational Molecular Biophysics Group
>> Institute for Microbiology and Genetics
>> Georg-August-University of Göttingen
>> Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.
>> Phone: +49-551-39-14189
>> http://cmb.bio.uni-goettingen.de/
>> ---------------------------------------------------
>> --
>> Gromacs Users mailing list
>>
>> * Please search the archive at
>> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
>> posting!
>>
>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>> * For (un)subscribe requests visit
>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
>> send a mail to gmx-users-request at gromacs.org.

-- 
---------------------------------------------------
Dr. Jochen Hub
Computational Molecular Biophysics Group
Institute for Microbiology and Genetics
Georg-August-University of Göttingen
Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.
Phone: +49-551-39-14189
http://cmb.bio.uni-goettingen.de/
---------------------------------------------------


More information about the gromacs.org_gmx-users mailing list