Changes
Page history
Create Debugging
authored
May 31, 2021
by
Hauke Schulz
Hide whitespace changes
Inline
Side-by-side
Debugging.md
0 → 100644
View page @
b0e5b59d
## Modify config script e.g. mistral.intel
```
bash
CC
=
'mpicc'
-CFLAGS
=
'-gdwarf-4 -O0 -qno-opt-dynamic-align -ftz -march=native -g'
+CFLAGS
=
'-gdwarf-4 -O3 -qno-opt-dynamic-align -ftz -march=native -g'
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_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'
+ICON_OCEAN_FCFLAGS
=
'-O3 -assume norealloc_lhs -reentrancy threaded -qopt-report-file=stdout -qopt-report=0 -qopt-report-phase=vec'
```
\ No newline at end of file