Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
swift-cs-performance-workshop-2021
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonathan Frawley
swift-cs-performance-workshop-2021
Commits
4dba7301
Commit
4dba7301
authored
4 years ago
by
Mark Turner
Browse files
Options
Downloads
Patches
Plain Diff
scalasca
parent
2f4c7c2c
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
conf/dine.py
+14
-2
14 additions, 2 deletions
conf/dine.py
env.sh
+2
-2
2 additions, 2 deletions
env.sh
run.sh
+3
-3
3 additions, 3 deletions
run.sh
src/common.py
+1
-1
1 addition, 1 deletion
src/common.py
src/sodshock_scalasca.py
+5
-4
5 additions, 4 deletions
src/sodshock_scalasca.py
with
25 additions
and
12 deletions
conf/dine.py
+
14
−
2
View file @
4dba7301
...
...
@@ -20,7 +20,7 @@ site_configuration = {
'
scheduler
'
:
'
slurm
'
,
'
launcher
'
:
'
local
'
,
'
access
'
:
[
'
-p bluefield1
'
,
'
-A durham
'
],
'
environs
'
:
[
'
intel
'
],
'
environs
'
:
[
'
scorep
'
],
'
max_jobs
'
:
100
,
},
{
...
...
@@ -57,7 +57,19 @@ site_configuration = {
'
ftn
'
:
''
,
'
target_systems
'
:
[
'
dine
'
],
'
variables
'
:
[[
'
SCOREP_ENABLE_PROFILING
'
,
'
1
'
],[
'
SCOREP_EXPERIMENT_DIRECTORY
'
,
'
scorep_profiler_output
'
],[
'
MPICC
'
,
'
mpiicc
'
],[
'
I_MPI_FABRICS
'
,
'
shm:tcp
'
],[
'
MPS_STAT_LEVEL
'
,
'
2
'
]]
}
},
{
'
modules
'
:
[
'
intel_comp/2018
'
,
'
intel_mpi/2018
'
,
'
parmetis/4.0.3
'
,
'
parallel_hdf5/1.10.3
'
,
'
gsl/2.4
'
,
'
fftw/3.3.8epyc
'
,
'
python/3.6.5
'
,
'
scorep/6.0
'
,
'
cube/4.5
'
],
'
name
'
:
'
scorep
'
,
'
cc
'
:
'
icc
'
,
'
cxx
'
:
'
icpc
'
,
'
ftn
'
:
''
,
'
target_systems
'
:
[
'
dine
'
],
'
variables
'
:
[[
'
SCOREP_ENABLE_PROFILING
'
,
'
1
'
],[
'
SCOREP_EXPERIMENT_DIRECTORY
'
,
'
scorep_profiler_output
'
],[
'
MPICC
'
,
'
mpiicc
'
],[
'
I_MPI_FABRICS
'
,
'
shm:tcp
'
],[
'
MPS_STAT_LEVEL
'
,
'
2
'
]]
}
],
'
logging
'
:
[
{
...
...
This diff is collapsed.
Click to expand it.
env.sh
+
2
−
2
View file @
4dba7301
...
...
@@ -3,8 +3,8 @@ module purge
module load python/3.6.5
source
~/reframe_env/bin/activate
export
STAGE_DIR
=
$HOME
/reframe_stage
export
OUTPUT_DIR
=
$HOME
/reframe_output
export
STAGE_DIR
=
/cosma5/data/durham/dc-turn5
/reframe_stage
export
OUTPUT_DIR
=
/cosma5/data/durham/dc-turn5
/reframe_output
export
RFM_SAVE_LOG_FILES
=
1
export
PYTHONPATH
=
$PYTHONPATH
:
`
pwd
`
/src
This diff is collapsed.
Click to expand it.
run.sh
+
3
−
3
View file @
4dba7301
...
...
@@ -8,13 +8,13 @@ source env.sh
--stage
$STAGE_DIR
\
--purge-env
\
-C
conf/dine.py
\
-c
src
\
-c
src
/sodshock_scalasca.py
\
-r
\
-v
\
--performance-report
\
-n
\
'
PMillenniumT
est'
\
'
swift_scorep_t
est
s
'
\
--output
\
$OUTPUT_DIR
\
--report-file
=
pmill_768
.log
--report-file
=
swift_scorep_tests
.log
This diff is collapsed.
Click to expand it.
src/common.py
+
1
−
1
View file @
4dba7301
...
...
@@ -5,7 +5,7 @@ import reframe.utility.sanity as sn
def
setup
(
test
,
launcher
,
num_tasks
,
num_tasks_per_node
=
1
):
test
.
time_limit
=
'
1h
'
test
.
num_tasks
=
num_tasks
test
.
num_tasks
=
1
#
num_tasks
test
.
num_tasks_per_node
=
1
test
.
valid_prog_environs
=
[
'
*
'
]
...
...
This diff is collapsed.
Click to expand it.
src/sodshock_scalasca.py
+
5
−
4
View file @
4dba7301
...
...
@@ -14,21 +14,22 @@ class SodShock3dTest(rfm.RegressionTest):
ic_dir
=
common
.
setup
(
self
,
launcher
,
num_tasks
,
num_tasks_per_node
=
num_tasks
)
test_dir
=
'
swiftsim/examples/HydroTests/SodShock_3D
'
self
.
cpus_per_task
=
32
# added
#
self.cpus_per_task = 32 # added
print
(
f
'
Running with threads : <
{
num_threads
}
>
'
)
self
.
keep_files
=
[
test_dir
]
self
.
build_system
.
config_opts
=
[
'
--disable-ipo
'
,
'
--disable-ipo
'
,
#temporary disable - support is forthcoming
'
--with-tbbmalloc
'
,
'
--with-parmetis
'
]
self
.
prerun_cmds
=
[
f
'
pushd
{
test_dir
}
'
]
num_iterations
=
1
0000
num_iterations
=
1
# self.build_system.options = ['CC=scorep mpicc', 'CFLAGS=-fopenmp'] #Added for scalasca
#self.build_system.make_opts = ['CC="scorep --user --thread=pthread mpicc"'] #change mpicc to icc for non-mpi
self
.
build_system
.
make_opts
=
[
'
CC=
"
scorep --user --thread=pthread icc
"'
]
if
launcher
==
'
scalasca
'
:
self
.
executable
=
'
../../swift
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment