Update Debugging authored by Hauke Schulz's avatar Hauke Schulz
......@@ -7,7 +7,7 @@ CC='mpicc'
FC='mpif90'
+FCFLAGS="-O0 -I${NETCDFF_ROOT}/include -gdwarf-4 -g -march=native -pc64 -fp-model source"
+ICON_FCFLAGS='-O0 -assume realloc_lhs -ftz -fpe0 -fnoinline -no-ip -DDO_NOT_COMBINE_PUT_AND_NOCHECK'
+ICON_FCFLAGS='-O0 -assume realloc_lhs -ftz -no-ip -DDO_NOT_COMBINE_PUT_AND_NOCHECK'
+ICON_OCEAN_FCFLAGS='-O0 -assume norealloc_lhs -reentrancy threaded -qopt-report-file=stdout -qopt-report=0 -qopt-report-phase=vec'
-FCFLAGS="-I${NETCDFF_ROOT}/include -gdwarf-4 -g -march=native -pc64 -fp-model source"
-ICON_FCFLAGS='-O2 -assume realloc_lhs -ftz -DDO_NOT_COMBINE_PUT_AND_NOCHECK'
......@@ -22,8 +22,8 @@ module load arm-forge
ddt &
```
## Run experiment through ddt
## Run experiment through ddt by adding the following lines to the runscript, after $START is defined
```bash
module load arm-forge
ddt srun ...
loadmodule="arm-forge/19.1.4 $loadmodule"
START="ddt --connect $START"
```
\ No newline at end of file