Dear Yann,
On 31/07/2019 14:18, Yann Sagon wrote:
Dear list,
I’m trying to compile fosscuda/2019b on a CentOS7 server using EB 3.9.3
It’s failed and here are the relevant debug log:
== 2019-07-31 13:55:40,928 easyblock.py:2806 INFO Running method
install_step part of step install
== 2019-07-31 13:55:40,929 run.py:268 DEBUG run_cmd_qa: Output of "
./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 "
will be logged to /tmp/eb-ktWLVS/easybuild-run_cmd_qa-W1SQ8j.log
== 2019-07-31 13:55:40,929 run.py:295 DEBUG run_cmd_qa: running cmd
./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 (in
/dev/shm/ebbuild/CUDA/10.1.105/GCC-8.2.0-2.31.1)
== 2019-07-31 13:55:40,929 run.py:336 DEBUG new_qa:
== 2019-07-31 13:55:40,930 run.py:351 DEBUG new_std_qa[Would you like to
remove all CUDA files under .*? (yes/no/abort): [\s\n]*$]: ['no\n']
== 2019-07-31 13:55:40,931 run.py:358 DEBUG New noQandA list is:
['^Configuring[\\s\\n]*$', 'Installation Complete[\\s\\n]*$', 'Verifying
archive integrity.*[\\s\\n]*$', '^Uncompressing NVIDIA CUDA[\\s\\n]*$',
'.* -> .*[\\s\\n]*$']
== 2019-07-31 14:01:42,674 run.py:440 DEBUG run_cmd_qa exception caught
when killing child process: [Errno 3] No such process
== 2019-07-31 14:01:42,675 run.py:441 DEBUG run_cmd_qa: full stdouterr:
== 2019-07-31 14:01:43,444 build_log.py:163 ERROR EasyBuild crashed with
an error (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/vsc_base-2.8.4-py2.7.egg/vsc/utils/exceptions.py:124
in __init__): run_cmd_qa: cmd ./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 :
Max nohits 300 reached: end of output (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/easybuild_framework-3.9.3-py2.7.egg/easybuild/tools/run.py:443
in run_cmd_qa)
== 2019-07-31 14:01:43,444 easyblock.py:3050 WARNING build failed (first
300 chars): run_cmd_qa: cmd ./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 :
Max nohits 300 reached: end of output
== 2019-07-31 14:01:43,452 easyblock.py:294 INFO Closing log for
application name CUDA version 10.1.105
== 2019-07-31 14:01:43,452 build_log.py:252 INFO FAILED: Installation
ended unsuccessfully (build directory:
/dev/shm/ebbuild/CUDA/10.1.105/GCC-8.2.0-2.31.1): build failed (first
300 chars): run_cmd_qa: cmd ./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 :
Max nohits 300 reached: end of output
== 2019-07-31 14:01:43,453 build_log.py:252 INFO Results of the build
can be found in the log file(s)
/tmp/eb-ktWLVS/easybuild-CUDA-10.1.105-20190731.135347.uuxvT.log
== 2019-07-31 14:01:43,455 build_log.py:163 ERROR EasyBuild crashed with
an error (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/vsc_base-2.8.4-py2.7.egg/vsc/utils/exceptions.py:124
in __init__): build failed (first 300 chars): run_cmd_qa: cmd
./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 :
Max nohits 300 reached: end of output (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/easybuild_framework-3.9.3-py2.7.egg/easybuild/main.py:115
in build_and_install_software)
== 2019-07-31 14:01:43,456 filetools.py:1245 DEBUG Not creating existing
path /tmp/eb-ktWLVS
== 2019-07-31 14:01:43,457 build_log.py:163 ERROR EasyBuild crashed with
an error (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/vsc_base-2.8.4-py2.7.egg/vsc/utils/exceptions.py:124
in __init__): Build of
/home/sagon/.local/easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/easybuild_easyconfigs-3.9.3-py2.7.egg/easybuild/easyconfigs/c/CUDA/CUDA-10.1.105-GCC-8.2.0-2.31.1.eb
failed (err: 'build failed (first 300 chars): run_cmd_qa: cmd
./cuda-installer --silent --toolkit
--toolkitpath=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105
--defaultroot=/opt/ebsofts/Compiler/GCC/8.2.0-2.31.1/CUDA/10.1.105 :
Max nohits 300 reached: end of output ') (at
easybuild/software/EasyBuild/3.9.3/lib/python2.7/site-packages/easybuild_framework-3.9.3-py2.7.egg/easybuild/main.py:147
in build_and_install_software)
Any clue?
It looks like the cuda-installer script isn't producing any output at
all, which makes EasyBuild trip on it since it's expecting an
interactive installation script (which produces output that EasyBuild
can match against known question patterns).
What happens if you run the ./cuda-installer manually yourself?
regards,
Kenneth