Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMEPS #88

Merged
merged 446 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
446 commits
Select commit Hold shift + click to select a range
eaffa8d
remove whitespace
jedwards4b Dec 9, 2022
9c034d9
add another comment
jedwards4b Dec 9, 2022
85946ae
some tests and bug fixes
jedwards4b Dec 13, 2022
3fcf6e2
Fix documentation of DOUT_S_SAVE_INTERIM_RESTART_FILES
billsacks Dec 13, 2022
825cade
fix issue with scaling over instances
jedwards4b Dec 14, 2022
b345944
add a comment
jedwards4b Dec 14, 2022
861b0fd
more cleanup and refactoring
jedwards4b Dec 15, 2022
de5592e
set wallclock time for tests
jedwards4b Dec 15, 2022
3b1c33e
update to xgrid as default
jedwards4b Dec 15, 2022
9ca6451
fix typo
jedwards4b Dec 15, 2022
78448ba
Merge pull request #329 from jedwards4b/ninst_scaling
jedwards4b Dec 15, 2022
1952c94
Merge pull request #327 from billsacks/fix_interim_rest_file_doc
jedwards4b Dec 16, 2022
b1a7c69
add asyncio tests to prealpha
jedwards4b Dec 17, 2022
467f47e
remove multi_driver, add precommit config file
jedwards4b Dec 18, 2022
ce620ef
Merge pull request #331 from jedwards4b/remove_multi_driver
jedwards4b Dec 19, 2022
67b42d5
get the tests working
jedwards4b Dec 20, 2022
884fdf5
more mods for asyncio testing
jedwards4b Dec 20, 2022
65c5a4e
working now for B case
jedwards4b Dec 20, 2022
be2d502
more cleanup
jedwards4b Dec 21, 2022
4e32aed
update workflow to use actions from cdeps
jedwards4b Dec 23, 2022
7590341
needs full SHA
jedwards4b Dec 23, 2022
64f71d7
need to setup environment
jedwards4b Dec 23, 2022
238b861
add scripts_regression_tests to workflow
jedwards4b Dec 23, 2022
d53f965
add scripts_regression_tests to workflow
jedwards4b Dec 23, 2022
6f76ccc
ref not sha
jedwards4b Dec 23, 2022
fa2ccbf
nether ref nor sha
jedwards4b Dec 23, 2022
9bba7a3
fix path
jedwards4b Dec 23, 2022
b23d443
fix cmeps path
jedwards4b Dec 23, 2022
caba810
fix cmeps path
jedwards4b Dec 23, 2022
839d8e9
fix cmeps path
jedwards4b Dec 23, 2022
f965da9
add cpl7
jedwards4b Dec 23, 2022
2fd947b
install PyYAML
jedwards4b Dec 23, 2022
f2f06c2
turn on debug
jedwards4b Dec 27, 2022
0dde540
use pio external
jedwards4b Dec 27, 2022
cd6e6e2
set more env variables
jedwards4b Dec 27, 2022
281332b
try adding pio
jedwards4b Dec 27, 2022
eb44e55
merge to master
jedwards4b Dec 27, 2022
49e3034
add update_workflow pr
jedwards4b Dec 27, 2022
ed8df6f
Merge pull request #332 from jedwards4b/update_workflow
jedwards4b Dec 27, 2022
c094c34
fix naming of logs in multi-instance cases
jedwards4b Dec 27, 2022
39b2b11
Merge pull request #330 from jedwards4b/change_default_ocnatm_grid
jedwards4b Jan 3, 2023
415898a
add werror to extbuild
jedwards4b Jan 4, 2023
428a0e3
test the test
jedwards4b Jan 4, 2023
c082b2e
test the test
jedwards4b Jan 4, 2023
3ad71eb
remove unused variables
jedwards4b Jan 4, 2023
1093e8c
remove unused variables
jedwards4b Jan 4, 2023
cd01b7d
remove unused variables
jedwards4b Jan 4, 2023
4a5a960
remove unused variables
jedwards4b Jan 4, 2023
dc3fc73
remove unused variables
jedwards4b Jan 4, 2023
31c80fc
remove unused variables
jedwards4b Jan 4, 2023
044d348
remove unused variables
jedwards4b Jan 4, 2023
2ce324b
remove unused variables
jedwards4b Jan 4, 2023
5dd533d
remove unused variables
jedwards4b Jan 4, 2023
55317e2
remove unused variables
jedwards4b Jan 4, 2023
8c6feca
remove unused variables
jedwards4b Jan 4, 2023
c9de4ef
remove unused variables
jedwards4b Jan 4, 2023
fe1192f
remove unused variables
jedwards4b Jan 4, 2023
3398d0f
remove unused variables
jedwards4b Jan 4, 2023
971a71b
remove unused variables
jedwards4b Jan 4, 2023
364723c
remove unused variables
jedwards4b Jan 4, 2023
a4ed429
remove unused variables
jedwards4b Jan 4, 2023
31ba054
remove unused variables
jedwards4b Jan 4, 2023
e74da35
remove unused variables
jedwards4b Jan 4, 2023
bf4a69c
remove unused variables
jedwards4b Jan 4, 2023
e0e5c70
remove unused variables
jedwards4b Jan 4, 2023
e2a0a3d
remove unused variables
jedwards4b Jan 4, 2023
ad1e915
remove unused variables
jedwards4b Jan 4, 2023
c7395ef
remove unused variables
jedwards4b Jan 4, 2023
10ed107
remove unused variables
jedwards4b Jan 4, 2023
6cbb8d9
remove unused variables
jedwards4b Jan 4, 2023
c479c83
remove unused variables
jedwards4b Jan 4, 2023
4d9073d
no warnings now for cesm build
jedwards4b Jan 4, 2023
717e6d4
no warnings now for cesm build
jedwards4b Jan 4, 2023
90f918e
no warnings now for cesm build
jedwards4b Jan 4, 2023
b7b6960
no warnings now for cesm build
jedwards4b Jan 4, 2023
8f3b658
put ocnalb back
jedwards4b Jan 4, 2023
707ae2f
no warnings now for cesm build
jedwards4b Jan 4, 2023
7b36b52
no warnings now for cesm build
jedwards4b Jan 4, 2023
2ded3b5
pretty print is broken, leave it out
jedwards4b Jan 5, 2023
d81f8d0
initialize lprint
jedwards4b Jan 6, 2023
6d4c1ff
Merge pull request #333 from jedwards4b/add_werror_to_github_tests
jedwards4b Jan 9, 2023
000c0dc
replace use of master with main
jedwards4b Jan 9, 2023
8922799
gptl argument is still mastertask
jedwards4b Jan 9, 2023
357617f
smooth workflow
jedwards4b Jan 9, 2023
280d399
fix indentation
jedwards4b Jan 9, 2023
47cee68
fix indentation
jedwards4b Jan 9, 2023
29c69da
debug github action
jedwards4b Jan 9, 2023
55bcfe7
need xmllint
jedwards4b Jan 9, 2023
d158969
force build
jedwards4b Jan 9, 2023
098ea11
force buildd
jedwards4b Jan 9, 2023
1781ce8
force buildd
jedwards4b Jan 9, 2023
f806ac2
force buildd
jedwards4b Jan 9, 2023
6ad71d9
redo multiinstance support
jedwards4b Jan 9, 2023
00814cb
still debugging workflow
jedwards4b Jan 9, 2023
0ba7709
fix pio build
jedwards4b Jan 10, 2023
6de45f3
Merge remote-tracking branch 'escomp/main' into feature/updcmeps
DeniseWorthen Jan 10, 2023
9635f7c
fix pio build
jedwards4b Jan 10, 2023
bb86899
remove unused variables, add fix for coord units
DeniseWorthen Jan 10, 2023
764dbe4
fix pio build
jedwards4b Jan 10, 2023
a96e036
srt with cache
jedwards4b Jan 10, 2023
f50bd03
bld cprnc
jedwards4b Jan 10, 2023
419c788
add ubuntu-latest.cmake
jedwards4b Jan 10, 2023
5998250
finally working
jedwards4b Jan 10, 2023
606eb39
Merge pull request #336 from jedwards4b/master_to_main
jedwards4b Jan 10, 2023
d17cd89
move timer init function
jedwards4b Jan 11, 2023
72c8b2c
Merge branch 'main' into esmf_multidriver
jedwards4b Jan 11, 2023
c7fec3b
fix merge issues
jedwards4b Jan 11, 2023
dcdd214
Merge pull request #337 from jedwards4b/esmf_multidriver
jedwards4b Jan 11, 2023
5824c8c
Merge remote-tracking branch 'escomp/main' into feature/updcmeps
DeniseWorthen Jan 12, 2023
c6f23c3
Merge pull request #338 from DeniseWorthen/feature/updcmeps
jedwards4b Jan 12, 2023
9197fd2
updates to MEGAN namelist parser
fvitt Jan 18, 2023
9514b39
log MEGAN settings
fvitt Jan 19, 2023
690cf28
code clean up
fvitt Jan 19, 2023
1f06c58
Merge pull request #339 from fvitt/megan_expr
jedwards4b Jan 20, 2023
d331baa
Merge branch 'main' into pio_asyncio_in_cmeps
jedwards4b Jan 25, 2023
c2f8792
fix issues in merge
jedwards4b Jan 25, 2023
efa1e47
Merge pull request #325 from jedwards4b/pio_asyncio_in_cmeps
jedwards4b Jan 26, 2023
89e4ba6
changes needed for CDEP PR #213
Jan 30, 2023
70d6913
added new auxiliary stream for ocn2med
Jan 31, 2023
a0178b2
fix the multi instance initialization
jedwards4b Feb 1, 2023
96f1b73
Merge pull request #342 from jedwards4b/fix_multiinst_init
jedwards4b Feb 1, 2023
cb36640
Merge pull request #341 from mvertens/feature/cplhist_and_ocnimport
jedwards4b Feb 1, 2023
3a218b8
make xgrid default, handle main task for multidriver cases in esm_tim…
jedwards4b Feb 3, 2023
24522e3
changes for lightning coupling
fvitt Jun 24, 2022
62c15cd
Changed "atm_lightning_flash_freq" to "atm_provides_lightning"
fvitt Jul 13, 2022
6712c8c
rename Sa_lght as Sa_lightning
fvitt Jul 22, 2022
c8ed018
update to cmeps0.14.10
fvitt Feb 3, 2023
21074d9
Merge pull request #343 from jedwards4b/xgrid_and_maintask
jedwards4b Feb 3, 2023
895e623
Revert default aoflux_grid to ogrid
billsacks Mar 16, 2023
24ac1ba
Merge pull request #344 from billsacks/revert_xgrid
jedwards4b Mar 16, 2023
7ff0d3b
Remove unnecessary deallocate
billsacks Mar 22, 2023
97a4fe1
Merge pull request #345 from billsacks/remove_unnecessary_deallocate
jedwards4b Mar 22, 2023
195b86b
Merge remote-tracking branch 'origin/lightning_coupling' into cmeps0.…
fvitt Mar 27, 2023
5bb31fe
Send nitrogen deposition from atm to ocn
mnlevy1981 Mar 28, 2023
6cfd189
Clean up comments
mnlevy1981 Mar 28, 2023
5476eaa
A fix for #346 so that LND2ROF_FMAPNAME will be used
ekluzek Mar 29, 2023
c3e8e23
replace aux_cam with aux_cmeps in testlist
jedwards4b Apr 5, 2023
f191f85
Merge pull request #358 from jedwards4b/aux_cam-to-aux_cmeps
jedwards4b Apr 5, 2023
805d252
using copy_with_weights causes weights to be applied twice
jedwards4b Apr 5, 2023
b31366f
Merge pull request #349 from mnlevy1981/send_ndep_to_ocn
jedwards4b Apr 6, 2023
d8ddff5
Merge pull request #356 from mattldawson/develop-add-linked-libs
jedwards4b Apr 6, 2023
ac4d591
use updated error check and broadcast methods
fvitt Apr 7, 2023
4cf3e05
Added Fwxx_taux and Fwxx_tauy, based on Foxx_taux and Foxx_tauy
phall-brown Apr 12, 2023
e68d9bc
Trying simpler form of sharing Foxx to compwav
phall-brown Apr 14, 2023
eb18694
Turning off Foxx export to waves for testing
phall-brown Apr 14, 2023
22dbf82
Merge pull request #361 from ekluzek/lndrofmapfilefix
jedwards4b Apr 17, 2023
c791efc
Adding Fwxx_taux to get wind stress to pass to wave model
phall-brown Apr 17, 2023
8db2449
Adding Fwxx_taux, using Foxx_taux as a model
phall-brown Apr 17, 2023
a599c2f
Comment out unnecessary line
phall-brown Apr 17, 2023
61cf378
fix issue with xgrid reproducibility
jedwards4b Apr 19, 2023
26f997c
Merge pull request #364 from jedwards4b/xgrid_reproducability_fix
jedwards4b Apr 19, 2023
f126b9f
update the minimum esmf version requirement
jedwards4b Apr 19, 2023
b4c3d9d
Merge pull request #347 from fvitt/cmeps0.14.18_lightning_coupling
jedwards4b Apr 20, 2023
263bebe
added wav/ice coupling
mvertens Apr 25, 2023
e50d27d
merged to cmeps0.14.24
mvertens Apr 25, 2023
17fa9d5
Adding custom field subroutine for waves with cesm, based on equivale…
phall-brown Apr 25, 2023
5712122
Passing So_ofrac to wav component
phall-brown Apr 25, 2023
e6451a4
Changing merge to Fwxx_taux to copy
phall-brown Apr 25, 2023
bdd726a
Fixed syntax of addmrg_to call for Fwxx_taux
phall-brown Apr 25, 2023
dec4bfb
Reverted earlier modifications
phall-brown Apr 25, 2023
d4b8441
Substituting Foxx_taux for Faox_taux
phall-brown Apr 25, 2023
d666f83
Revert "Substituting Foxx_taux for Faox_taux"
phall-brown Apr 26, 2023
3925710
Removed export of So_ofrac to wav component (unnecessary), and other …
phall-brown Apr 26, 2023
e142b2d
Cleaning up earlier, temporary code
phall-brown Apr 26, 2023
14bd205
Removed unnecessary fldList variable
phall-brown Apr 26, 2023
0bab18a
Merge pull request #1 from mvertens/feature/fix_wavice_coupling
mvertens Apr 26, 2023
abc5658
Adding stress from ice to Fwxx_taux
phall-brown Apr 26, 2023
cb585c5
Removed mrg_fracname from Fwxx merges
phall-brown Apr 26, 2023
95c5188
Added ifrac and ofrac to FBFrac for wave component
phall-brown Apr 26, 2023
5633ff2
Using ifrac and ofrac weights for Fbww merge
phall-brown Apr 26, 2023
a3c13d2
Updated comments to include wave component
phall-brown Apr 26, 2023
51f7601
updates to remove mct_mod and all other mct related files from share/
mvertens Apr 28, 2023
bcd23e4
Merge pull request #2 from mvertens/feature/remove_mct_from_share
mvertens Apr 28, 2023
962646a
improves the readability of salt budget
jedwards4b Apr 28, 2023
f80e7d7
undo accidental commit
jedwards4b Apr 28, 2023
68baf9f
Added new fractions (ifrac, ofrac) for wave component
phall-brown Apr 28, 2023
04296bd
Added compwav declaration to med_fraction_set subroutine
phall-brown Apr 28, 2023
5bc4403
Corrected two typos where compice was being passed instead of compwav
phall-brown Apr 28, 2023
69317cb
Removing previous additions for wavcomp
phall-brown Apr 29, 2023
baaf12c
Removing stress from compice from Fwxx_taux
phall-brown Apr 29, 2023
24f419c
turn off HierarchyProtocol, not used in cesm this is a memory and ini…
jedwards4b Apr 29, 2023
9c43424
correct comment delimiter
jedwards4b May 1, 2023
fcc45ff
Merge pull request #369 from jedwards4b/Turn_OFF_HierarchyProtocol
jedwards4b May 1, 2023
cf7ec4f
Merge pull request #368 from jedwards4b/improve_diag_salt_format
jedwards4b May 1, 2023
16d7223
removed unused variable
mvertens May 5, 2023
dbfb31a
removed unneeded xml variables
mvertens May 5, 2023
76bba43
Merge pull request #3 from mvertens/feature/remove_uneeded_xmlvars
mvertens May 5, 2023
7bb5053
check for nans
mvertens May 5, 2023
284137f
Merge pull request #376 from NorESMhub/noresm
jedwards4b May 5, 2023
9ee4d83
refactored logic
mvertens May 5, 2023
3ad7f1f
updated med_diag_mod with recent changes from escomp
mvertens May 5, 2023
311582c
This fails to enable writing of 'daily' files from forecasts shorter …
kdraeder May 6, 2023
0d2a0c8
Merge branch 'aux_cpl_hist_daily' of github.com:kdraeder/CMEPS into a…
kdraeder May 6, 2023
83bba42
updated counters for nans
mvertens May 8, 2023
0b59db6
consistent alias of use statements for check_for_nans
mvertens May 8, 2023
64439f7
fixed compilation bug
mvertens May 8, 2023
5e02def
add ability to compile without needed shr_infnan - as is the case for…
mvertens May 8, 2023
6776c24
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 9, 2023
f1dedf5
Changed Fwxx_taux merge to use 'wfrac'
phall-brown May 9, 2023
22b6278
Merge pull request #377 from mvertens/feature/check_for_nans
jedwards4b May 10, 2023
2685626
Adding merge to wave component Fwxx_taux based on Foxx_taux
phall-brown May 10, 2023
9d4e81c
Fixed a compocn that should have been compwav
phall-brown May 10, 2023
3ca2795
Adding ifrac and ofrac to fraclist_w
phall-brown May 10, 2023
7ac3ca9
make history_n integer variables
jedwards4b May 10, 2023
b22ae22
sames should be samples
jedwards4b May 10, 2023
cca94e4
wopen should return rc
jedwards4b May 10, 2023
66c0d0f
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 11, 2023
a936f7e
Merge pull request #365 from jedwards4b/update_esmf_min_version
jedwards4b May 11, 2023
a316646
major refactor of med_io_mod to handle multiple files
jedwards4b May 11, 2023
4490cff
ntperfile should be type integer
jedwards4b May 11, 2023
57e1970
remove unused variable
jedwards4b May 11, 2023
1aab35a
Merge pull request #1 from jedwards4b/history_n
kdraeder May 11, 2023
5d7470d
CESM_COUPLED should be CESMCOUPLED
jedwards4b May 11, 2023
b60c9d7
Candidate fixes of descriptions and comments
kdraeder May 11, 2023
106a99d
Merge pull request #380 from jedwards4b/cesmcoupledfix
jedwards4b May 11, 2023
42a5fd5
remove dead code
jedwards4b May 11, 2023
fd9151a
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 12, 2023
ebc63bb
allow ufs to use check nan feature
DeniseWorthen May 12, 2023
a25075d
fix comments
DeniseWorthen May 12, 2023
96206b6
adjust indentation
jedwards4b May 12, 2023
f2cbf27
Merge pull request #378 from kdraeder/aux_cpl_hist_daily
jedwards4b May 15, 2023
fd9872f
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 15, 2023
a587023
updates for new stresses sent to wave
May 16, 2023
3dbbda3
merged to head of escomp/main
May 16, 2023
ca8ca8b
udpates needed to pass taux and tauxy to wave
May 16, 2023
d64ffe9
fixed compile bugs
May 16, 2023
488b8d9
fixed compile bugs
May 16, 2023
09d1e08
Merge pull request #382 from mvertens/feature/theorywaves
jedwards4b May 17, 2023
f568cfc
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 17, 2023
c3e57f4
make this an input that can be toggled in user_nl_cpl
jedwards4b May 18, 2023
d84c9b3
expand description
jedwards4b May 18, 2023
a753571
make default .true. add log message
jedwards4b May 19, 2023
0ff2afe
resolve circular dependancy
jedwards4b May 19, 2023
689d674
remove CESMCOUPLED cppdef
jedwards4b May 19, 2023
b6ba816
pass the strict ext build test
jedwards4b May 19, 2023
79cf208
rework based on pr review
jedwards4b May 19, 2023
92ace68
fix yaml syntax
jedwards4b May 19, 2023
60b9f19
fix ext versions
jedwards4b May 19, 2023
0b862b9
fix ext versions
jedwards4b May 19, 2023
5b26040
add ispresent and isset
jedwards4b May 23, 2023
dabe6d3
make xgrid default (should have been in alpha12c) and fix sw flux to …
jedwards4b May 23, 2023
e94015a
slight change in logic
jedwards4b May 23, 2023
f174edd
fix src path for cdeps
jedwards4b May 24, 2023
b7bc64e
Merge pull request #387 from jedwards4b/fix_aoflux_and_swtoocn
jedwards4b May 24, 2023
9817b91
cdeps path again
jedwards4b May 24, 2023
371d752
cdeps path again
jedwards4b May 24, 2023
8f59dba
try building ext with cdeps share
jedwards4b May 24, 2023
06b79ff
Merge pull request #386 from jedwards4b/add_check_for_nans_config_option
jedwards4b May 24, 2023
a34f315
Merge remote-tracking branch 'ESCOMP/main' into feature/updcmeps
DeniseWorthen May 24, 2023
d75d75e
remove file accidentally committed
DeniseWorthen May 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 2 additions & 35 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,6 @@ Are changes expected to change answers? (specify if bfb, different at roundoff,
Any User Interface Changes (namelist or namelist defaults changes)?

### Testing performed
Please describe the tests along with the target model and machine(s)
If possible, please also added hashes that were used in the testing

Testing performed if application target is CESM:
- [ ] (recommended) CIME_DRIVER=nuopc scripts_regression_tests.py
- machines:
- details (e.g. failed tests):
- [ ] (recommended) CESM testlist_drv.xml
- machines and compilers:
- details (e.g. failed tests):
- [ ] (optional) CESM prealpha test
- machines and compilers
- details (e.g. failed tests):
- [ ] (other) please described in detail
- machines and compilers
- details (e.g. failed tests):

Testing performed if application target is UFS-coupled:
- [ ] (recommended) UFS-coupled testing
- description:
- details (e.g. failed tests):

Testing performed if application target is UFS-HAFS:
- [ ] (recommended) UFS-HAFS testing
- description:
- details (e.g. failed tests):

### Hashes used for testing:

- [ ] CESM:
- repository to check out: https://github.com/ESCOMP/CESM.git
- branch/hash:
- [ ] UFS-coupled, then umbrella repostiory to check out and associated hash:
- repository to check out:
- branch/hash:
- [ ] UFS-HAFS, then umbrella repostiory to check out and associated hash:
- repository to check out:
- branch/hash:
39 changes: 34 additions & 5 deletions .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
FC: mpifort
CXX: mpicxx
CPPFLAGS: "-I/usr/include -I/usr/local/include"

# Versions of all dependencies can be updated here
ESMF_VERSION: v8.4.0
ESMF_VERSION: v8.4.2
PNETCDF_VERSION: checkpoint.1.12.3
NETCDF_FORTRAN_VERSION: v4.6.0
PIO_VERSION: pio2_5_10
PIO_VERSION: pio2_6_0
CDEPS_VERSION: cdeps1.0.15
steps:
- uses: actions/checkout@v3
# Build the ESMF library, if the cache contains a previous build
Expand Down Expand Up @@ -50,14 +52,14 @@ jobs:
key: ${{ runner.os }}-${{ env.PIO_VERSION }}.pio
- name: Build ParallelIO
if: steps.cache-ParallelIO.outputs.cache-hit != 'true'
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@9390e30e29d4ebbfbef0fc72162cacd9e8f25e4e
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@pio2_6_0
with:
parallelio_version: ${{ env.ParallelIO_VERSION }}
enable_fortran: True
install_prefix: $HOME/pio
- name: Build ESMF
if: steps.cache-esmf.outputs.cache-hit != 'true'
uses: ESCOMP/CDEPS/.github/actions/buildesmf@e06246b560d3132170bb1a5443fa3d65dfbd2040
uses: ESCOMP/CDEPS/.github/actions/buildesmf@cdeps1.0.15
with:
esmf_version: ${{ env.ESMF_VERSION }}
esmf_bopt: g
Expand All @@ -67,12 +69,39 @@ jobs:
netcdf_fortran_path: /usr
pnetcdf_path: /usr
parallelio_path: $HOME/pio
- name: Cache CDEPS
id: cache-cdeps
uses: actions/cache@v3
with:
path: $HOME/cdeps
key: ${{ runner.os }}-${{ env.CDEPS_VERSION }}.cdeps

- name: checkout CDEPS
uses: actions/checkout@v3
with:
repository: ESCOMP/CDEPS
path: cdeps-src
ref: ${{ env.CDEPS_VERSION }}
- name: Build CDEPS
if: steps.cache-cdeps.outputs.cache-hit != 'true'
uses: ESCOMP/CDEPS/.github/actions/[email protected]
with:
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
pio_path: $HOME/pio
src_root: ${GITHUB_WORKSPACE}/cdeps-src
cmake_flags: " -Wno-dev -DCMAKE_BUILD_TYPE=DEBUG -DWERROR=ON -DCMAKE_Fortran_FLAGS=\"-DCPRGNU -g -Wall \
-ffree-form -ffree-line-length-none -fallow-argument-mismatch \""

- name: Build CMEPS
run: |
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk
export PIO=$HOME/pio
mkdir build-cmeps
pushd build-cmeps
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument" ../
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument -I /home/runner/work/CMEPS/CMEPS/build-cdeps/share" ../
make VERBOSE=1
popd

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
Loading