diff --git a/build.sh b/build.sh index 24a4d16fb93e427fef0366283706e9d6e295f9fc..76d85ecadf203bf55c0dda064ee47d22c4c6cb53 100755 --- a/build.sh +++ b/build.sh @@ -21,6 +21,8 @@ if [ "$2" == "gin" ] then echo "Compiling on gin\n" + source "$HOME/.bashrc" + ## Check if MPI folder exist if not copy MPICH if [ ! -d $HOME/$5/MPI ]; then diff --git a/run.sh b/run.sh index eddcfd61b6a9d1584c7257ae4f27904bf2e9f2a4..e59d45389953092947f4783a30c31c3becf747a3 100755 --- a/run.sh +++ b/run.sh @@ -8,6 +8,7 @@ echo "Branch: $6" if [ "$2" == "gin" ] then + source "$HOME/.bashrc" module load gcc/4.9.2 if [ $? -ne 0 ]; then curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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