Skip to content

Commit 6ca52ac

Browse files
committed
some cleanup
1 parent 285c9a6 commit 6ca52ac

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed
Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
1-
module load Intel ParaStationMPI SciPy-Stack petsc4py mpi4py FFTW JUBE
2-
module load Scalasca CubeLib CubeGUI Vampir PAPI
3-
module unload Score-P
1+
Required modules on JURECA:
42

5-
NICHT Score-P LADEN!
3+
module load Intel ParaStationMPI SciPy-Stack petsc4py mpi4py FFTW
4+
module load Scalasca CubeLib CubeGUI Vampir PAPI
5+
module unload Score-P
66

77

8-
Bindings bauen:
8+
Build bindings (unless fixed in the official release/installed version):
99

10-
cd $PROJECT/tools/scorep_binding_python-master
11-
export PATH=/p/project/ccstma/scorep/6.0-trunk-mrobefix_intel-parastation-papi/bin:$PATH
12-
pip install --user .
10+
cd $PROJECT/tools/scorep_binding_python-master
11+
export PATH=/p/project/ccstma/scorep/6.0-trunk-mrobefix_intel-impi-papi/bin:$PATH
12+
pip install --user .
1313

1414

15-
Im Jobscript:
15+
In your jobscript:
1616

1717
export PATH=/p/project/ccstma/scorep/6.0-trunk-mrobefix_intel-parastation-papi/bin:$PATH
18-
1918
export SCOREP_PROFILING_MAX_CALLPATH_DEPTH=90
2019
export SCOREP_ENABLE_TRACING=1
2120
export SCOREP_TOTAL_MEMORY=256M
22-
export SCOREP_EXPERIMENT_DIRECTORY=mydir
21+
export SCOREP_EXPERIMENT_DIRECTORY=data/mydir
2322

24-
srun python -m scorep --mpi pySDC_with_PETSc.py -n N
23+
srun python -m scorep --mpi run_simple_forcing_benchmark.py -n N
2524
srun scout.mpi --time-correct $SCOREP_EXPERIMENT_DIRECTORY/traces.otf2
2625

2726

28-
Ablauf:
27+
Workflow:
28+
* Activate scorep-controller in the main Python file
29+
* Run job without tracing, only do profiling (export SCOREP_ENABLE_TRACING=0)
30+
* scorep-score -c N $SCOREP_EXPERIMENT_DIRECTORY/profile.cubex
31+
* Check memory requirements, adapt in job script (export SCOREP_TOTAL_MEMORY=XXX) and restart job with tracing (export SCOREP_ENABLE_TRACING=1)
32+
* square $SCOREP_EXPERIMENT_DIRECTORY
2933

30-
* Starte Job ohne Tracing (export SCOREP_ENABLE_TRACING=0), nur Profiling
31-
* scorep-score -c N <SCOREP_EXPERIMENT_DIRECTORY>/profile.cubex
32-
* Dann check memory requirements, restart Job mit Tracing (export SCOREP_ENABLE_TRACING=1)
33-
* scout schon im Jobscript?
34-
* square <SCOREP_EXPERIMENT_DIRECTORY>

pySDC/projects/Performance/run_simple_forcing_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def run_simulation(name=None, nprocs_space=None):
8383
controller_params = dict()
8484
controller_params['logger_level'] = 30 if space_rank == 0 else 99 # set level depending on rank
8585
controller_params['predict_type'] = 'fine_only'
86-
controller_params['hook_class'] = dump # activate to get data output at each step
86+
# controller_params['hook_class'] = dump # activate to get data output at each step
8787

8888
# fill description dictionary for easy step instantiation
8989
description = dict()
599 KB
Binary file not shown.

pySDC/projects/Performance/visualize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def plot_data(name=''):
7373
plt_helper.plt.yticks(range(-2, 3))
7474
cbar = plt_helper.plt.colorbar()
7575
cbar.set_label('concentration')
76-
plt_helper.plt.title(f"Time: {obj['time']:6.4f}")
76+
# plt_helper.plt.title(f"Time: {obj['time']:6.4f}")
7777

7878
# save plot, beautify
7979
fname = f'data/{name}_{index}'

0 commit comments

Comments
 (0)