Skip to content

Commit 167a62e

Browse files
authored
Merge pull request #12 from pjpegion/dev/emc
merge dev/emc into ocean stochastic branch
2 parents bd477a9 + cd06356 commit 167a62e

206 files changed

Lines changed: 9695 additions & 11230 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ coverage:
33
project:
44
default:
55
threshold: 100%
6+
base: parent
67
patch:
78
default:
89
threshold: 100%
10+
base: parent
11+
comment:
12+
# This must be set to the number of test cases (TCs)
13+
after_n_builds: 8

.gitignore

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22
*.swp
33
*~
44
html
5-
*.log
5+
6+
7+
# Build output
8+
*.o
9+
*.mod
610
MOM6
7-
build/
8-
deps/
11+
12+
13+
# Autoconf
14+
aclocal.m4
15+
autom4te.cache/
16+
config.log
17+
config.status
18+
configure
19+
/Makefile
20+
Makefile.mkmf

.gitlab-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ setup:
3232
- git clone --recursive http://gitlab.gfdl.noaa.gov/ogrp/Gaea-stats-MOM6-examples.git tests && cd tests
3333
# Install / update testing scripts
3434
- git clone https://github.com/adcroft/MRS.git MRS
35-
- (cd MRS ; git checkout xanadu-fms)
3635
# Update MOM6-examples and submodules
3736
- (cd MOM6-examples && git checkout . && git checkout dev/gfdl && git pull && git submodule init && git submodule update)
3837
- (cd MOM6-examples/src/MOM6 && git submodule update)
3938
- test -d MOM6-examples/src/LM3 || make -f MRS/Makefile.clone clone_gfdl -s
4039
- make -f MRS/Makefile.clone MOM6-examples/.datasets -s
41-
#- (cd MOM6-examples/src/mkmf && git pull https://github.com/adcroft/mkmf.git add_coverage_mode)
4240
- env > gitlab_session.log
4341
# Cache everything under tests to unpack for each subsequent stage
4442
- cd ../ ; time tar zcf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz tests
@@ -62,7 +60,7 @@ gnu:ocean-only-nolibs:
6260
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
6361
- make -f MRS/Makefile.build build/gnu/env && cd build/gnu
6462
# mkdir -p build/gnu/repro/symmetric_dynamic/ocean_only && cd build/gnu/repro/symmetric_dynamic/ocean_only
65-
- ../../MOM6-examples/src/mkmf/bin/list_paths -l ../../../config_src/{solo_driver,dynamic_symmetric} ../../../src ../../MOM6-examples/src/FMS
63+
- ../../MOM6-examples/src/mkmf/bin/list_paths -l ../../../config_src/{solo_driver,dynamic_symmetric,ext*} ../../../src ../../MOM6-examples/src/FMS
6664
- sed -i '/FMS\/.*\/test_/d' path_names
6765
- ../../MOM6-examples/src/mkmf/bin/mkmf -t ../../MOM6-examples/src/mkmf/templates/ncrc-gnu.mk -p MOM6 -c"-Duse_libMPI -Duse_netCDF" path_names
6866
- time (source ./env ; make NETCDF=3 REPRO=1 MOM6 -s -j)
@@ -75,7 +73,7 @@ gnu:ice-ocean-nolibs:
7573
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
7674
- make -f MRS/Makefile.build build/gnu/env && cd build/gnu
7775
# mkdir -p build/gnu/repro/symmetric_dynamic/ocean_only && cd build/gnu/repro/symmetric_dynamic/ocean_only
78-
- ../../MOM6-examples/src/mkmf/bin/list_paths -l ../../../config_src/{coupled_driver,dynamic} ../../../src ../../MOM6-examples/src/{FMS,coupler,SIS2,icebergs,ice_param,land_null,atmos_null}
76+
- ../../MOM6-examples/src/mkmf/bin/list_paths -l ../../../config_src/{coupled_driver,dynamic,ext*} ../../../src ../../MOM6-examples/src/{FMS,coupler,SIS2,icebergs,ice_param,land_null,atmos_null}
7977
- sed -i '/FMS\/.*\/test_/d' path_names
8078
- ../../MOM6-examples/src/mkmf/bin/mkmf -t ../../MOM6-examples/src/mkmf/templates/ncrc-gnu.mk -p MOM6 -c"-Duse_libMPI -Duse_netCDF -D_USE_LEGACY_LAND_ -Duse_AM3_physics" path_names
8179
- time (source ./env ; make NETCDF=3 REPRO=1 MOM6 -s -j)
@@ -118,7 +116,7 @@ run:
118116
- time tar zxf $CACHE_DIR/build-intel-repro-$CI_PIPELINE_ID.tgz
119117
- time tar zxf $CACHE_DIR/build-pgi-repro-$CI_PIPELINE_ID.tgz
120118
# time tar zxf $CACHE_DIR/build-gnu-debug-$CI_PIPELINE_ID.tgz
121-
- (echo '#!/bin/tcsh';echo 'make -f MRS/Makefile.tests all -B') > job.sh
119+
- (echo '#!/bin/tcsh';echo 'make -f MRS/Makefile.tests all') > job.sh
122120
- sbatch --clusters=c3,c4 --nodes=29 --time=0:34:00 --account=gfdl_o --qos=debug --job-name=mom6_regressions --output=log.$CI_PIPELINE_ID --wait job.sh
123121
- cat log.$CI_PIPELINE_ID
124122
- test -f restart_results_gnu.tar.gz

.gitmodules

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,3 @@
44
[submodule "pkg/GSW-Fortran"]
55
path = pkg/GSW-Fortran
66
url = https://github.com/TEOS-10/GSW-Fortran.git
7-
[submodule "pkg/MOM6_DA_hooks"]
8-
path = pkg/MOM6_DA_hooks
9-
url = https://github.com/MJHarrison-GFDL/MOM6_DA_hooks.git
10-
[submodule "pkg/geoKdTree"]
11-
path = pkg/geoKdTree
12-
url = https://github.com/travissluka/geoKdTree.git

.testing/.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
config.mk
2-
work/
3-
results/
1+
# Test output
2+
/config.mk
3+
/build/
4+
/work/
5+
/results/
6+
/deps/

0 commit comments

Comments
 (0)