Skip to content

Commit

Permalink
Use APPTAINERENV_PREPEND_PATH while launching a container (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisklein authored May 14, 2024
2 parents b6ff0f3 + 032ce0f commit 76c09c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slurm-singularity-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ run_in() {
# export the PATH and LD_LIBRARY_PATH environment variable to the container
#export SINGULARITYENV_PATH=$PATH
#export SINGULARITYENV_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export APPTAINERENV_PATH=$PATH
export APPTAINERENV_PREPEND_PATH=$PATH
export APPTAINERENV_LD_LIBRARY_PATH=$LD_LIBRARY_PATH

echo "Start container image $container"
Expand Down

0 comments on commit 76c09c7

Please sign in to comment.