runBase.sh 437 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
matrix="bcsstk01.rsa"
14
15
16
17

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

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

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

27
echo "End"