runAll_nonMaM.sh 600 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash

scriptDir="$(dirname "$0")"
source $scriptDir/config.txt
dirM="${dirBI}../SparseMatrix"
export dirBI

#matrix="tub100.rb"
#matrix="sherman2.rb"
matrix="HV15R.rb"


procs=(2 20 40 80 160)
msm=(0 1)
mss=(1 2)
mrm=(0 1)
is_syncs=(1 0)
qty=1
if [ $# -ge 1 ]
then
  qty=$1
fi

proc_c=200
echo "$dirM/$matrix"
for proc in "${procs[@]}"
do
  echo "------------------------------------------run np=$proc next=0"
  node_qty=$(($proc / 20))
  if [ $node_qty -eq 0 ]
  then
    node_qty=1
  fi
  sbatch -p P1 -N $node_qty $dirBI/Exec/generalRun.sh $proc $dirM/$matrix $proc_c $qty
done

echo "End"