Dear Kenneth,

> -----Message d'origine-----
> De : Kenneth Hoste <[email protected]>
> Envoyé : mercredi, 7 août 2019 21:08
> À : Yann Sagon <[email protected]>
> Cc : [email protected]
> Objet : Re: TR: [easybuild] Failed to compile CUDA 10.1.105 on CentOS7
> 
> Dear Yann,
> 
> The problem seems to be that the installation is taking longer than EasyBuild
> is expecting, which makes it conclude that the installer is asking as question
> that it doesn't know the answer too.

Indeed it seems a correct assumption.
 
> The CUDA installer used to be an interactive command, it seems like that's no
> longer the case (it doesn't produce any output for me either, but it does
> finish after about 1 minute).
> 
> For you, it ran for about 6 minutes before giving up, based on the timestaps
> in the log.

Yes it's taking a long time because I'm doing the build on a compute node which 
is connected in 1GB Ethernet to the nfs storage of the destination.


> 
> Please try this:
> 
> * take a copy of the custom easyblock for CUDA (cuda.py, see
> https://github.com/easybuilders/easybuild-
> easyblocks/blob/master/easybuild/easyblocks/c/cuda.py)
> 
> * change the "maxhits=300" to a higher value, for example "maxhits=1000";
> that will make EasyBuild wait longer before it kills the installer
> 
> * make 'eb' use the modified easyblock using "eb --include-easyblocks
> /path/to/cuda.py CUDA-10.1.105-GCC/8.2.0-2.31.1.eb"
> 
> Let me know if that helps...

Yes this function and the installation finished properly.

> 
> How long does the installation take when you do it manually?

Manually I don't know but with EasyBuild, 29 minutes. That seems quite a lot 
even for 1Gb network!

Thanks for the help!

Reply via email to