3 echo "Setting up derecho environment"
5 .
/etc
/profile.d
/z00_modules.sh
6 echo "Loading modules : $*"
8 echo $cmd && eval "${cmd}"
10 # We should be handed in the modules to load
11 while [ $# -gt 0 ]; do
13 echo $cmd && eval "${cmd}"
17 # Go back to working directory if for unknown reason HPC config changing your directory on you
18 if [ "$workingDirectory" != "$PWD" ]; then
19 echo "derecho module loading changed working directory"
20 echo " Moving back to $workingDirectory"