Commit f10570db authored by incardon's avatar incardon
Browse files

Adding running command

parent 3270dec2
Pipeline #881 failed with stages
in 3 minutes and 56 seconds
......@@ -4,6 +4,7 @@
echo "Directory: $1"
echo "Machine: $2"
echo "Num of processors: $3"
echo "Branch: $6"
exit 1
......@@ -28,7 +29,7 @@ then
exit 0;
fi
mpirun -np $3 ./src/pdata
mpirun -np $3 ./build/src/pdata
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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
exit 1 ;
......@@ -63,7 +64,7 @@ else
source $HOME/openfpm_vars_$6
mpirun -np $3 ./src/pdata
mpirun -np $3 ./build/src/pdata
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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
exit 1 ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment