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

Do not use MPI, but start 68 sequential programs

parent bd1b9642
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ opcount_suffix = opcount, nonopcount | expand opcount
# Input parameters
dim = 3
mbperrank = 100
ranks = 66
ranks = 1
floatingbytes = 8
# Metaini Calculations
......
......@@ -8,7 +8,7 @@ opcount_suffix = opcount, nonopcount | expand opcount
# Input parameters
dim = 3
mbperrank = 100
ranks = 66
ranks = 1
floatingbytes = 8
# Metaini Calculations
......
......@@ -20,9 +20,13 @@ do
COUNT=0
while [ $COUNT -lt $UPPER ]; do
exec=${inifile%.ini}
line=$(grep ^"ranks = " $inifile)
np=${line##ranks = }
mpirun -np $np ./$exec $inifile
MAXCORES=68
CORE=0
while [ $CORE -lt $MAXCORES ]; do
hwloc-bind --single ./$exec $inifile &
CORE=$((CORE + 1))
done
wait
COUNT=$((COUNT + 1))
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