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
ed209ce9
Commit
ed209ce9
authored
Nov 24, 2022
by
iker_martin
Browse files
Hotfix. Minor changes in Extrae scripts to work correctly
parent
8ad61042
Changes
3
Hide whitespace changes
Inline
Side-by-side
Exec/generalRun.sh
View file @
ed209ce9
...
...
@@ -34,10 +34,7 @@ if [ $use_extrae -ne 1 ]
then
mpirun
-np
$numP
$dir$codeDir
/a.out
$configFile
$outFileIndex
$SLURM_JOB_NODELIST
$SLURM_JOB_NUM_NODES
else
# EXTRAE Configuration
export
EXTRAE_CONFIG_FILE
=
./extrae.xml
export
LD_PRELOAD
=
${
EXTRAE_HOME
}
/lib/libmpitrace.so
srun
-n
$numP
--mpi
=
pmi2
$dir$codeDir
/a.out
$configFile
$outFileIndex
$SLURM_JOB_NODELIST
$SLURM_JOB_NUM_NODES
srun
-n
$numP
--mpi
=
pmi2 ./trace.sh
$dir$codeDir
/a.out
$configFile
$outFileIndex
$SLURM_JOB_NODELIST
$SLURM_JOB_NUM_NODES
fi
...
...
Exec/runTrace.sh
View file @
ed209ce9
...
...
@@ -41,6 +41,7 @@ do
mkdir
$lower_dir
cd
$lower_dir
cp
$dir$execDir
/extrae.xml
.
cp
$dir$execDir
/trace.sh
.
cp
../../
$config_file
.
#pwd
...
...
Exec/trace.sh
0 → 100755
View file @
ed209ce9
#!/bin/bash
# Configure Extrae
export
EXTRAE_CONFIG_FILE
=
./extrae.xml
# Load the tracing library (choose C/Fortran)
export
LD_PRELOAD
=
${
EXTRAE_HOME
}
/lib/libmpitrace.so
# Run the program
$*
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