diff --git a/setupHPC_test.sh b/setupHPC_test.sh new file mode 100644 index 0000000000000000000000000000000000000000..d1c8f2b936067566e9f4c7da84ea2b76252bfa16 --- /dev/null +++ b/setupHPC_test.sh @@ -0,0 +1,19 @@ + +basepath=${PWD} +settingpath=HPC_setup + +if [[ $HOSTNAME == *"juwels"* ]]; then + echo "You are on juwels. Prepare env for juwels..." + hpcsys="juwels" + echo "host ist juwels" +elif [[ $HOSTNAME == *"hdfml"* ]]; then + echo "You are on hdfml. Prepareenv for hdfml..." +else + echo "Unknown hpc host \`$HOSTNAME\`. Script only works on juwels and hdfml." +# hpcsys="juwels" #remove that later + echo "exit" + exit +fi + +source HPC_setup/setup_venv${hpcsys}.sh $basepath/$settingpath +#source $settingpath/testcall_juwels.sh $basepath/$settingpath