From Dan @ Slack:
As you might know we have had problems to rebuild some software on Saga (Rocky Linux 9). I have tried to build several of those using eessi_container.sh and have for the most part been successful. But, all of the intel compiler builds fail at the sanity check step. Digging at bit deeper it seems that which (used by the intel compiler easyblock for the sanity check) is not working as expected in the build container.
Apptainer> which gcc
Illegal option --
Usage: /usr/bin/which [-a] args
Apptainer> which
Illegal option --
Usage: /usr/bin/which [-a] args
Apptainer> /usr/bin/which gcc
/usr/bin/gcc
And after sourcing the EESSI environment.
[EESSI pilot 2021.12] $ which
Illegal option --
Usage: /usr/bin/which [-a] args
[EESSI pilot 2021.12] $ which gcc
Illegal option --
Usage: /usr/bin/which [-a] args
[EESSI pilot 2021.12] $ /usr/bin/which gcc
/cvmfs/pilot.eessi-hpc.org/versions/2021.12/compat/linux/x86_64/usr/bin/gcc
This could be a busybox issue, but it needs investigating.
From Dan @ Slack:
And after sourcing the EESSI environment.
This could be a busybox issue, but it needs investigating.