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
a5e8654f
Commit
a5e8654f
authored
Dec 05, 2022
by
iker_martin
Browse files
Updating Exec scripts to make them more easy to execute in other systems
parent
a14e5c25
Changes
4
Hide whitespace changes
Inline
Side-by-side
Exec/extrae.xml
→
Exec/
Extrae/
extrae.xml
View file @
a5e8654f
File moved
Exec/trace.sh
→
Exec/
Extrae/
trace.sh
View file @
a5e8654f
File moved
Exec/runAll.sh
0 → 100644
View file @
a5e8654f
dir
=
"/home/martini/malleability_benchmark"
partition
=
"P1"
exclude
=
"c00,c01,c02"
procs
=(
2 10 20 40 80 120 160
)
cores
=
20
#====== Do not modify these values =======
codeDir
=
"/Codes/build"
execDir
=
"/Exec"
ResultsDir
=
"/Results"
use_extrae
=
0
qty
=
1
outFileIndex
=
$2
if
[
$#
-ge
1
]
then
qty
=
$1
fi
for
proc
in
"
${
procs
[@]
}
"
do
echo
"------------------------------------------run np=
$proc
"
node_qty
=
$((
$proc
/
$cores
))
if
[
$node_qty
-eq
0
]
then
node_qty
=
1
fi
config_file
=
"test
$proc
"".ini"
for
((
i
=
0
;
i<qty
;
i++
))
do
#Execute test
sbatch
-p
$partition
--exclude
=
$exclude
-N
$node_qty
$dir$execDir
/generalRun.sh
$dir
$config_file
$use_extrae
$outFileIndex
done
done
echo
"End"
Exec/runTrace.sh
View file @
a5e8654f
dir
=
"/home/martini/malleability_benchmark"
#procs=(2 10 20 40 80 120 160)
procs
=(
2
)
partition
=
"P1"
exclude
=
"c00,c01,c02"
procs
=(
2 10 20 40 80 120 160
)
cores
=
20
...
...
@@ -40,12 +41,12 @@ do
lower_dir
=
"Run
$i
"
mkdir
$lower_dir
cd
$lower_dir
cp
$dir$execDir
/extrae.xml
.
cp
$dir$execDir
/trace.sh
.
cp
$dir$execDir
/
Extrae/
extrae.xml
.
cp
$dir$execDir
/
Extrae/
trace.sh
.
cp
../../
$config_file
.
#
pwd
sbatch
-p
P1
-N
$node_qty
$dir$execDir
/generalRun.sh
$dir
$config_file
$use_extrae
$outFileIndex
#
Execute test
sbatch
-p
$partition
--exclude
=
$exclude
-N
$node_qty
$dir$execDir
/generalRun.sh
$dir
$config_file
$use_extrae
$outFileIndex
cd
..
done
cd
..
...
...
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