Tool fails when being called again after doing sbatch or srun from within the tool.
Reason
Tool use SINGULARITY_ variables internally to control behavior of singularity. When apptainer is launched
it sets the corresponding APPTAINER_ variables, which are inherited to the job and not unset when calling the tool outside the container.
Solution is to unset also the apptainer variables.
Tool fails when being called again after doing
sbatch
orsrun
from within the tool.Reason Tool use
SINGULARITY_
variables internally to control behavior of singularity. When apptainer is launched it sets the correspondingAPPTAINER_
variables, which are inherited to the job and not unset when calling the tool outside the container.Solution is to unset also the apptainer variables.