runBase.sh 746 Bytes
Newer Older
1
2
3
4
#!/bin/bash

#SBATCH -N 1
#SBATCH -p P1
5
#SBATCH -t 00:30:00
6

7
dirM="/home/martini/SparseMatrix/"
8
dirCG="/home/martini/malleable_cg"
9
10
11
matrix="Queen_4147.rb"
#matrix="audikw_1.rb"
#matrix="bcsstk01.rsa"
12
13
14
15
16
17
18

module load /home/martini/MODULES/modulefiles/mpich-4.0.3-ofi

nodelist=$SLURM_JOB_NODELIST
nodes=$SLURM_JOB_NUM_NODES
cores=20
numP=$1
19
20
numC=$2
msm=$3
21
mss=$5
22
23
24
mrm=$4
send_sync=$6

25

26
initial_nodelist=$(bash $dirCG/BashScripts/createInitialNodelist.sh $numP $cores $nodelist)
27
28
29
echo "Test numP=$numP numC=$numC Meths=$msm $mrm $mss -- Is_synch=$send_sync qty=$qty"
mpirun -hosts $initial_nodelist -np $numP $dirCG/build/a.out $dirM/$matrix $numC $msm $mss $mrm $mss $send_sync $nodelist $nodes
#mpirun -np 4 ./ConjugateGradient bcsstk17.rsa
30
echo "End"