Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Malleable_CG
Commits
4015ba23
Commit
4015ba23
authored
Feb 26, 2024
by
iker_martin
Browse files
Minor changes to Exec scripts for debugging
parent
169ef7a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Exec/runBase.sh
View file @
4015ba23
...
...
@@ -10,7 +10,8 @@ dirM="${dirCG}../SparseMatrix"
export
dirCG
#matrix="Queen_4147.rb"
#matrix="audikw_1.rb"
matrix
=
"bcsstk01.rsa"
#matrix="bcsstk01.rsa"
matrix
=
"bcsstk17.rsa"
module load /home/martini/MODULES/modulefiles/mpich-4.0.3-ofi
...
...
Exec/runValgrind.sh
View file @
4015ba23
#!/bin/bash
#SBATCH -N 1
#SBATCH -p P1
#SBATCH -t 00:10:00
module load /home/martini/MODULES/modulefiles/mpich-4.0.3-ofi
module load /home/martini/MODULES/modulefiles/intel64Only.module
scriptDir
=
"
$(
dirname
"
$0
"
)
"
source
$scriptDir
/config.txt
export
dirCG
nodelist
=
$SLURM_JOB_NODELIST
nodes
=
$SLURM_JOB_NUM_NODES
cores
=
20
numP
=
$1
numC
=
2
msm
=
0
mss
=
2
mrm
=
1
send_sync
=
0
numC
=
$2
initial_nodelist
=
$(
bash BashScripts/createInitialNodelist.sh
$numP
$cores
$nodelist
)
echo
"Test"
mpirun
-hosts
$initial_nodelist
-np
$numP
valgrind
--leak-check
=
full
--show-leak-kinds
=
all
--track-origins
=
yes
--trace-children
=
yes
--log-file
=
nc.vg.%p ./build/a.out bcsstk01.rsa
$numC
$msm
$mss
$mrm
$mss
$send_sync
#mpirun -hosts $initial_nodelist -np $numP valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --trace-children=yes --log-file=nc.vg.%p ./build/a.out bcsstk01.rsa $numC
mpirun
-np
$numP
valgrind
--leak-check
=
full
--show-leak-kinds
=
all
--track-origins
=
yes
--trace-children
=
yes
--log-file
=
nc.vg.%p
$dirCG
/build/a.out ../bcsstk01.rsa
$numC
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment