Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
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 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-requ...@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/ --- -- 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-requ...@gromacs.org.
Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
On Mon, Apr 1, 2019 at 5:08 PM Jochen Hub 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-requ...@gromacs.org. -- 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-requ...@gromacs.org.
Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
Nah, which version of GCC CUDA supports depends on the CUDA version only. What's listed in that table is which GCC version a specific OS release uses by default. On 4/1/19 5:08 PM, Jochen Hub 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 > > 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 >>> >>> >> > -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: a...@hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se -- 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-requ...@gromacs.org.
Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
Hi, Those are the compilers present on those OS distributions, and have been tested. Following that is the best path to an easy life. However, you can often use a gcc version other than the one installed with the OS, which you would need to do in various cases. Mark On Mon, 1 Apr 2019 at 17:08 Jochen Hub 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 > > 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 <+49%20551%203914189> > 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-requ...@gromacs.org. -- 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-requ...@gromacs.org.
Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
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 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-requ...@gromacs.org.
Re: [gmx-users] Installation with CUDA on Debian / gcc 6+
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 > > -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: a...@hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se -- 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-requ...@gromacs.org.
[gmx-users] Installation with CUDA on Debian / gcc 6+
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-requ...@gromacs.org.