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

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

7
8
scriptDir="$(dirname "$0")"
source $scriptDir/config.txt
9
dirM="${dirCG}../SparseMatrix"
10
export dirCG
11
#matrix="Queen_4147.rb"
12
#matrix="audikw_1.rb"
13
14
#matrix="bcsstk01.rsa"
matrix="bcsstk17.rsa"
15
16
17
18

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

numP=$1
19
numC=$2
20
qty=1
21
if [ $# -gt 2 ]
22
then
23
  qty=$3
24
fi
25

26
27
sbatch -p P1 -N 1 $dirCG/Exec/generalRun.sh $numP $dirM/$matrix $numC $qty

28
echo "End"