Heya,unfortunately, a change to the GCCcore EasyBlock, which was meant to improve default NVPTX architecture for GCC 13.1 and newer, has introduced this issue. In EasyBuild installations without a CUDA compute capability set, the code fails to check for an empty list, causing this error to show up. For now, "|eb --include-easyblocks-from-pr 3449" can be used as a |workaround|. This PR fixes the bug in the EasyBlock.|
|Best regards, Jan ||| On 18.09.24 14:07, Loris Bennett wrote:
Hi,
With EasyBuild 4.9.3 and
eb Rust-1.79.0-GCCcore-13.3.0.eb --robot --parallel=8
I get
== building and installing GCCcore/13.3.0...
...
ERROR: Traceback (most recent call last):
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/main.py",
line 137, in build_and_install_software
(ec_res['success'], app_log, err) = build_and_install_one(ec, init_env)
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/framework/easyblock.py",
line 4276, in build_and_install_one
result = app.run_all_steps(run_test_cases=run_test_cases)
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/easyblocks/g/gcc.py",
line 1081, in run_all_steps
return super(EB_GCC, self).run_all_steps(*args, **kwargs)
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/framework/easyblock.py",
line 4155, in run_all_steps
self.run_step(step_name, step_methods)
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/framework/easyblock.py",
line 3990, in run_step
step_method(self)()
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/easyblocks/g/gcc.py",
line 612, in configure_step
cuda_cc = self.map_nvptx_capability()
File
"/trinity/shared/easybuild/software/EasyBuild/4.9.3/lib/python3.6/site-packages/easybuild/easyblocks/g/gcc.py",
line 431, in map_nvptx_capability
return sorted_gcc_cc[0]
IndexError: list index out of range
Looks like the list
sorted_gcc_cc
is empty. Does anyone know why this might be?
Cheers,
Loris
-- --- Jan André Reuter Jülich Supercomputing Centre (JSC) ATML Parallel Performance Phone: +49-2461-61-8871 E-Mail:[email protected] Internet:http://www.fz-juelich.de --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Jülich GmbH 52425 Jülich Sitz der Gesellschaft: Jülich Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Stefan Müller Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende), Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens --------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature

