File tree 3 files changed +27
-11
lines changed
3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 16
16
brew install netcdf-fortran
17
17
brew install mpich
18
18
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 31
31
REPORT_ERROR_LOGS=true make deps/lib/libFMS.a -s -j
32
32
echo "::endgroup::"
33
33
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
-
45
34
- name : Compile MOM6 in symmetric memory mode
46
35
shell : bash
47
36
run : |
Original file line number Diff line number Diff line change 17
17
sudo apt-get install libopenmpi-dev
18
18
sudo apt-get install linux-tools-common
19
19
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