File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed
Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1616 brew install netcdf-fortran
1717 brew install mpich
1818 echo "::endgroup::"
19+
20+ # NOTE: Floating point exceptions are currently disabled due to an error in
21+ # HDF5 1.4.3. They will be re-enabled when the default brew version has
22+ # been updated to a working version.
23+
24+ - name : Set compiler flags
25+ shell : bash
26+ run : |
27+ cd .testing
28+ echo "FCFLAGS_DEBUG = -g -O0 -Wextra -Wno-compare-reals -fbacktrace -fcheck=bounds" >> config.mk
29+ echo "FCFLAGS_REPRO = -g -O2 -fbacktrace" >> config.mk
30+ echo "FCFLAGS_INIT = -finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
31+ echo "FCFLAGS_FMS = -g -fbacktrace -O0" >> config.mk
32+ cat config.mk
33+ echo "::endgroup::"
Original file line number Diff line number Diff line change 3131 REPORT_ERROR_LOGS=true make deps/lib/libFMS.a -s -j
3232 echo "::endgroup::"
3333
34- - name : Store compiler flags used in Makefile
35- shell : bash
36- run : |
37- echo "::group::config.mk"
38- cd .testing
39- echo "FCFLAGS_DEBUG=-g -O0 -Wextra -Wno-compare-reals -fbacktrace -ffpe-trap=invalid,zero,overflow -fcheck=bounds" >> config.mk
40- echo "FCFLAGS_REPRO=-g -O2 -fbacktrace" >> config.mk
41- echo "FCFLAGS_INIT=-finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
42- cat config.mk
43- echo "::endgroup::"
44-
4534 - name : Compile MOM6 in symmetric memory mode
4635 shell : bash
4736 run : |
Original file line number Diff line number Diff line change 1717 sudo apt-get install libopenmpi-dev
1818 sudo apt-get install linux-tools-common
1919 echo "::endgroup::"
20+
21+ - name : Store compiler flags used in Makefile
22+ shell : bash
23+ run : |
24+ echo "::group::config.mk"
25+ cd .testing
26+ echo "FCFLAGS_DEBUG = -g -O0 -Wextra -Wno-compare-reals -fbacktrace -ffpe-trap=invalid,zero,overflow -fcheck=bounds" >> config.mk
27+ echo "FCFLAGS_REPRO = -g -O2 -fbacktrace" >> config.mk
28+ echo "FCFLAGS_INIT = -finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
29+ echo "FCFLAGS_FMS = -g -fbacktrace -O0" >> config.mk
30+ cat config.mk
31+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments