Skip to content

Commit d9c7bd9

Browse files
Merge branch 'NOAA-EMC:dev/emc' into feature/restartfh
2 parents a728cea + 60c397b commit d9c7bd9

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

.github/actions/macos-setup/action.yml

+15
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,18 @@ runs:
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::"

.github/actions/testing-setup/action.yml

-11
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ runs:
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: |

.github/actions/ubuntu-setup/action.yml

+12
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,15 @@ runs:
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::"

0 commit comments

Comments
 (0)