Skip to content
Snippets Groups Projects
Commit 651d63e8 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Extract the ranks from the inifile

parent 04680c07
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,9 @@ do ...@@ -20,7 +20,9 @@ do
COUNT=0 COUNT=0
while [ $COUNT -lt $UPPER ]; do while [ $COUNT -lt $UPPER ]; do
exec=${inifile%.ini} exec=${inifile%.ini}
mpirun -np 66 ./$exec $inifile line=$(grep ^"ranks = " $inifile)
np=${line##ranks = }
mpirun -np $np ./$exec $inifile
COUNT=$((COUNT + 1)) COUNT=$((COUNT + 1))
done done
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment