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
Proteo
Commits
0982cac5
Commit
0982cac5
authored
Dec 15, 2022
by
iker_martin
Browse files
Minor change to valgrind runs. Now tries to check the children code
parent
37e6dc94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Codes/runValgrind.sh
View file @
0982cac5
...
@@ -21,7 +21,7 @@ read -r ini fin <<<$(echo $aux)
...
@@ -21,7 +21,7 @@ read -r ini fin <<<$(echo $aux)
diff
=
$((
fin
-
ini
))
diff
=
$((
fin
-
ini
))
numP
=
$(
head
-
$fin
$1
|
tail
-
$diff
|
cut
-d
';'
-f1
|
grep
Procs |
cut
-d
'='
-f2
)
numP
=
$(
head
-
$fin
$1
|
tail
-
$diff
|
cut
-d
';'
-f1
|
grep
Procs |
cut
-d
'='
-f2
)
mpirun
-np
$numP
valgrind
--leak-check
=
full
--show-leak-kinds
=
all
--trace-children
=
yes
--log-file
=
nc.vg.%p
$dir$codeDir
/build/a.out
$configFile
$outIndex
$nodelist
$nodes
mpirun
-np
$numP
valgrind
--leak-check
=
full
--show-leak-kinds
=
all
--track-origins
=
yes
--trace-children
=
yes
--log-file
=
nc.vg.%p
$dir$codeDir
/build/a.out
$configFile
$outIndex
$nodelist
$nodes
echo
"END RUN"
echo
"END RUN"
sed
-i
's/application called MPI_Abort(MPI_COMM_WORLD, -100) - process/shrink cleaning/g'
slurm-
$SLURM_JOB_ID
.out
sed
-i
's/application called MPI_Abort(MPI_COMM_WORLD, -100) - process/shrink cleaning/g'
slurm-
$SLURM_JOB_ID
.out
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