Skip to content
Snippets Groups Projects
Commit 485d1a7a authored by Andreas Herten's avatar Andreas Herten
Browse files

Add aux env scripts

parent ecf40e1a
Branches
No related tags found
No related merge requests found
env.sh 0 → 100644
project="training2317"
export JSCCOURSE_DIR_GROUP=/p/project/$project
export JSCCOURSE_DIR_LOCAL=${JSCCOURSE_DIR_LOCAL_BASE:-$HOME}/MSA-Workshop
jutil env activate -p $project -A $project
export _JSC_MATERIAL_SYNC="rsync --archive --update --exclude='.*' --exclude='.*/' $JSCCOURSE_DIR_GROUP/material/ $JSCCOURSE_DIR_LOCAL"
export _JSC_MATERIAL_SYNC_FORCE="rsync --archive --exclude='.*' --exclude='.*/' $JSCCOURSE_DIR_GROUP/material/ $JSCCOURSE_DIR_LOCAL"
alias jsc-material-sync='bash -c "eval $_JSC_MATERIAL_SYNC"'
alias jsc-material-sync-force='bash -c "eval $_JSC_MATERIAL_SYNC_FORCE"'
export MPI_HOME=$EBROOTPSMPI
source ${JSCCOURSE_DIR_GROUP}/modules.sh
\ No newline at end of file
if [[ "$SYSTEMNAME" == "juwelsbooster" || "$SYSTEMNAME" == "juwels" ]]; then
echo "Extending \$MODULEPATH with custom directory" >&2
module use /p/project/training2317/easybuild/${SYSTEMNAME}/modules/all/Compiler/mpi/GCC/11.3.0/
echo "Loading MSA-aware ParaStationMPI module" >&2
module load GCC ParaStationMPI/5.8.1-1-msa-aware
else
echo "Only JUWELS Cluster / JUWELS Booster are currently supported!"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment