File tree Expand file tree Collapse file tree 3 files changed +32
-10
lines changed
implementations/sweeper_classes Expand file tree Collapse file tree 3 files changed +32
-10
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,8 @@ def check_convergence(S):
196196 # get residual and check against prescribed tolerance (plus check number of iterations
197197 res = L .status .residual
198198 converged = S .status .iter >= S .params .maxiter or res <= L .params .restol or S .status .force_done
199+ if converged is None :
200+ converged = False
199201
200202 return converged
201203
Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ def integrate(self):
5050
5151 # integrate RHS over all collocation nodes
5252 for m in range (1 , self .coll .num_nodes + 1 ):
53+ me .append (L .dt * self .coll .Qmat [m , 1 ] * (L .f [1 ].impl + L .f [1 ].expl ))
5354 # new instance of dtype_u, initialize values with 0
54- me .append (P .dtype_u (P .init , val = 0.0 ))
55- for j in range (1 , self .coll .num_nodes + 1 ):
56- me [- 1 ] += L .dt * self .coll .Qmat [m , j ] * (L .f [j ].impl + L .f [j ].expl )
55+ for j in range (2 , self .coll .num_nodes + 1 ):
56+ me [m - 1 ] += L .dt * self .coll .Qmat [m , j ] * (L .f [j ].impl + L .f [j ].expl )
5757
5858 return me
5959
Original file line number Diff line number Diff line change 1- module load CubeGUI
2- module load CubeLib
3- module load Vampir
1+ module load Intel ParaStationMPI SciPy-Stack petsc4py mpi4py FFTW JUBE
2+ module load Scalasca CubeLib CubeGUI Vampir PAPI
3+ module unload Score-P
44
5- export PATH=/p/project/ccstma/scorep/5.0-trunk_mprobefix_intel-prarstation-papi/bin:$PATH
5+ NICHT Score-P LADEN!
66
7- module load Intel ParaStationMPI SciPy-Stack petsc4py mpi4py FFTW JUBE
87
9- srun python -m scorep --mpi pySDC_with_PETSc.py 1
8+ Bindings bauen:
109
11- export SCOREP_PROFILING_MAX_CALLPATH_DEPTH=90
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 .
13+
14+
15+ Im Jobscript:
16+
17+ export PATH=/p/project/ccstma/scorep/6.0-trunk-mrobefix_intel-parastation-papi/bin:$PATH
1218
19+ export SCOREP_PROFILING_MAX_CALLPATH_DEPTH=90
1320export SCOREP_ENABLE_TRACING=1
1421export SCOREP_TOTAL_MEMORY=256M
22+ export SCOREP_EXPERIMENT_DIRECTORY=mydir
23+
24+ srun python -m scorep --mpi pySDC_with_PETSc.py -n N
25+ srun scout.mpi --time-correct $SCOREP_EXPERIMENT_DIRECTORY/traces.otf2
26+
27+
28+ Ablauf:
29+
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>
You can’t perform that action at this time.
0 commit comments