Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
434 commits
Select commit Hold shift + click to select a range
dbb0de1
collect common fields for cesm and ufs
DeniseWorthen Nov 6, 2021
54ccef7
Merge branch 'dev/ufs-weather-model' into feature/w3capbs1
DeniseWorthen Nov 8, 2021
a4938fd
remove extra odat declaration
DeniseWorthen Nov 9, 2021
bd4eb3d
add stokes export
DeniseWorthen Nov 13, 2021
15800ca
remove debugging line
DeniseWorthen Nov 13, 2021
e883315
change fill value for stokes
DeniseWorthen Nov 14, 2021
baf0776
tidy up
DeniseWorthen Nov 14, 2021
b72ec5b
initial repro w/ stokes export on
DeniseWorthen Nov 22, 2021
c9393da
Merge remote-tracking branch 'origin/dev/ufs-weather-model' into feat…
DeniseWorthen Nov 22, 2021
165c4d1
restart repro with temp debugging code
DeniseWorthen Nov 27, 2021
06b0f96
remove debugging switches
DeniseWorthen Nov 27, 2021
6c8deb0
remove un-used/needed items for ufs
DeniseWorthen Nov 28, 2021
011ba4e
reduce restart freq to 3h
DeniseWorthen Nov 28, 2021
209c69d
fix inflags
DeniseWorthen Nov 29, 2021
8b33f63
fix inflags, momentum
DeniseWorthen Nov 30, 2021
d3c1ab3
bring in Matts debug changes 0096df6e
DeniseWorthen Dec 2, 2021
1650e6b
update cmplr.env
DeniseWorthen Dec 3, 2021
364222c
tidy up
DeniseWorthen Dec 3, 2021
042c5ec
fix errors shown by debug mode
DeniseWorthen Dec 3, 2021
c062f40
Merge branch 'feature/w3capbs1_debug' into feature/w3capbs1
DeniseWorthen Dec 6, 2021
2ee5e57
revert build files
DeniseWorthen Dec 6, 2021
4cfa3bb
add changes from w3capbs1 branch
DeniseWorthen Dec 6, 2021
afa511f
Merge branch 'dev/ufs-weather-model' into feature/ww3capbuild
DeniseWorthen Dec 6, 2021
d3c29ac
add back wcoss compile option and tidy up
DeniseWorthen Dec 6, 2021
030dab2
replace wcoss compile options
DeniseWorthen Dec 6, 2021
c9353d0
another esmf/Makefile update
DeniseWorthen Dec 6, 2021
01712b4
remove state_diagnose at realize, tidy up
DeniseWorthen Dec 7, 2021
02472fb
more cleanup,alignment w/ mcapbuild,capbs1 branches
DeniseWorthen Dec 7, 2021
b452522
c96,c192,c384 tests all have b4b coupler restarts
DeniseWorthen Dec 7, 2021
a469e81
tidy up
DeniseWorthen Dec 7, 2021
d95936a
fix indent, remove netcdf q/dirty line
DeniseWorthen Dec 7, 2021
534e2d9
initial commit of wav_shel_inp
DeniseWorthen Dec 9, 2021
6ec3faa
prevent over-writing by local cesm values
DeniseWorthen Dec 9, 2021
6eb8f7a
tidy up
DeniseWorthen Dec 10, 2021
3c8271d
sandbox testing for ww3 restart repro
DeniseWorthen Dec 10, 2021
dc3a52c
fix time block for cesm
DeniseWorthen Dec 10, 2021
4e0ef7a
move ufs calls and make one cesmcoupled block
DeniseWorthen Dec 11, 2021
118050f
Merge branch 'feature/w3capbs3' into feature/ww3capbuild
DeniseWorthen Dec 11, 2021
f33bc68
remove scrip switches
DeniseWorthen Dec 11, 2021
a587969
fix two uninit faults using -init=snan,arrays
DeniseWorthen Dec 18, 2021
7a3ae41
test branch for MV's latest changes
DeniseWorthen Dec 23, 2021
dcdd50f
remove debugging code
DeniseWorthen Dec 23, 2021
fe93a3f
remove more debugging code
DeniseWorthen Dec 23, 2021
ab0ccc0
update w/ hafs changes
DeniseWorthen Dec 23, 2021
2ccc897
update wav_comp_nuopc
DeniseWorthen Dec 23, 2021
c40a276
clean up dbug statements and subnames
DeniseWorthen Dec 24, 2021
eb99d2c
baselines pass with bs4 ww3 branch (c40a2762)
DeniseWorthen Dec 25, 2021
e78a0e9
updates for merge_import
DeniseWorthen Dec 27, 2021
c583ad9
Merge branch 'feature/w3capbs4' of https://github.com/DeniseWorthen/W…
DeniseWorthen Dec 27, 2021
e1a5790
call set_importmask only for merge_import true
DeniseWorthen Dec 27, 2021
85a4c5a
add comment, specify mdsf = ndsf(3)
DeniseWorthen Dec 31, 2021
591192e
increase debug flag setting
DeniseWorthen Dec 31, 2021
dd7e97e
bring in MV's latest changes
DeniseWorthen Jan 3, 2022
1e2c371
compile fix
DeniseWorthen Jan 4, 2022
0a1cfe5
added new cesmcoupled ifdefs to a subset of needed files
Jan 9, 2022
b155394
updates for all CESMCOUPLED ifdefs
Jan 9, 2022
7b5fb21
fixed compile bug for ufs
Jan 9, 2022
f984f66
updates to get things running
Jan 10, 2022
817a1b9
updates to build and compile fix
DeniseWorthen Jan 11, 2022
6fc6471
updates to get cesm cases working out of the box
Jan 11, 2022
be23666
updates to remove ww3.log file
Jan 12, 2022
5017a05
removed CESMCOUPLED if-defs that are no longer needed
Jan 12, 2022
cfff492
change needed for ufs build
Jan 12, 2022
938b274
first set of changes to get debug mode working
Jan 14, 2022
e099b02
add mesh mask check feature
DeniseWorthen Jan 17, 2022
f489877
fixed problems related to history writes
Jan 18, 2022
280c28c
remove check for elementmask in mesh
DeniseWorthen Jan 21, 2022
261b7a1
Merge branch 'dev/ufs-weather-model' into feature/ww3capbuild
DeniseWorthen Jan 24, 2022
d934f54
Merge remote-tracking branch 'cesm/dev/unified' into feature/ww3capbuild
DeniseWorthen Jan 28, 2022
16caffb
update bin and inp for ufs
DeniseWorthen Jan 28, 2022
4a89d0f
Merge branch 'dev/ufs-weather-model' into feature/ww3capbuild
DeniseWorthen Jan 28, 2022
7493283
add SetVm and change log write from error to info
DeniseWorthen Jan 29, 2022
e99679a
add ww3a grid and IC files
alperaltuntas Feb 2, 2022
ac778b3
remove inadvertendly added __pycache__/ dir
alperaltuntas Feb 2, 2022
5387a2c
Merge pull request #15 from ESCOMP/add_ww3a
alperaltuntas Feb 2, 2022
1036bbe
modify setglobalinput
DeniseWorthen Feb 4, 2022
13e9b9d
add interface to do fill of global ww3 fields
DeniseWorthen Feb 4, 2022
c5f96a6
make merge_import work with nsea points
DeniseWorthen Feb 4, 2022
b7faf37
change variable name
DeniseWorthen Feb 4, 2022
ea49cfc
clean up wav_coupling_to_cice arrays
DeniseWorthen Feb 4, 2022
6adf349
compile fixes; move two SRS to wav_shr_mod
DeniseWorthen Feb 5, 2022
1412731
cleanup wave_elevation_spectrum in wav_comp_nuopc
DeniseWorthen Feb 5, 2022
a272197
create multigrid branch of globalnsea
DeniseWorthen Feb 13, 2022
3fdb51a
fix missing build changes; add comment
DeniseWorthen Feb 13, 2022
d37f72b
add missing multigrid conditional
DeniseWorthen Feb 13, 2022
cc6e4fa
move iounit setup for shel
DeniseWorthen Feb 17, 2022
dda08fe
add switch UWM
DeniseWorthen Feb 17, 2022
c6faafa
add switch and w3updtmd for uwm changes
DeniseWorthen Feb 19, 2022
4268070
modifications for nsea global reduce
DeniseWorthen Feb 4, 2022
e8e87f8
add uwm netcdf gridded write changes
DeniseWorthen Feb 24, 2022
f6c9375
fix two compile errors
DeniseWorthen Feb 24, 2022
6308ded
add missing time initialization for cesm
DeniseWorthen Mar 10, 2022
0a9ab85
new #ifdefs introduced to not change the build for cesm
Mar 10, 2022
19f266f
fix compile error
DeniseWorthen Mar 11, 2022
d9637f1
Merge remote-tracking branch 'origin/feature/globalnsea_multi' into f…
DeniseWorthen Mar 11, 2022
502d5d6
revert uwm changes in w3wavemd
DeniseWorthen Mar 12, 2022
cfd3607
return uwm ifdef option to w3wavemd
DeniseWorthen Mar 14, 2022
88e98db
initial commit for refac iogoncmd
DeniseWorthen Mar 16, 2022
813fc02
remove cime_config and CESM CMakeLists.txt
DeniseWorthen Mar 16, 2022
9739659
Merge branch 'dev/ufs-weather-model' into feature/cmake_meshcapbuild
DeniseWorthen Mar 16, 2022
701dc14
revert switch file and add swith_meshcap
DeniseWorthen Mar 16, 2022
33bb036
Move switches to bin
kgerheiser Mar 16, 2022
e62e5b3
Add option for multiple caps through the UFS_CAP option
kgerheiser Mar 16, 2022
64df358
Test UFS_CAP options in workflows
kgerheiser Mar 16, 2022
77ea136
Merge pull request #2 from kgerheiser/feature/cmake_meshcapbuild
DeniseWorthen Mar 16, 2022
d54794e
fix errors
DeniseWorthen Mar 16, 2022
3273c7a
initial commit of refactored iogonc
DeniseWorthen Mar 16, 2022
6bb5d12
commit initial working code
DeniseWorthen Mar 16, 2022
09b307b
fix reversed logic for cap type
DeniseWorthen Mar 17, 2022
5029546
remove procedure interface
DeniseWorthen Mar 18, 2022
6bcf4cc
fill out remaining variables
DeniseWorthen Mar 18, 2022
fc1b6b3
fix compile errors
DeniseWorthen Mar 18, 2022
06a7abe
prepare merge w/ ufs cmake build for mesh cap
DeniseWorthen Mar 18, 2022
37483b2
Merge remote-tracking branch 'origin/feature/no_uwm_ncgrid' into feat…
DeniseWorthen Mar 18, 2022
8ebd2b9
compile and grd.out fixes
DeniseWorthen Mar 19, 2022
e7f7cfe
remove cesm/cime related files
DeniseWorthen Mar 19, 2022
1a33cf4
Merge branch 'feature/cmake_meshcapbuild' into feature/refac_iognc
DeniseWorthen Mar 19, 2022
8312001
add file to src list
DeniseWorthen Mar 19, 2022
3191fc8
fix compile error
DeniseWorthen Mar 19, 2022
d15d280
Merge pull request #18 from DeniseWorthen/feature/no_uwm_ncgrid
alperaltuntas Mar 19, 2022
40940b6
add fix to allow compile with -DDEBUG=ON
DeniseWorthen Mar 20, 2022
1689f0b
intermediate code
DeniseWorthen Mar 20, 2022
381ddb3
Remove debug definition from UFS
kgerheiser Mar 21, 2022
ce715da
Merge pull request #3 from kgerheiser/patch-1
DeniseWorthen Mar 21, 2022
739922a
fixed dt settings so that they would not be overwritten by call to w3…
Mar 21, 2022
a5493fa
Merge pull request #20 from mvertens/feature/fix_dtsettings
alperaltuntas Mar 23, 2022
877e1e2
use interface for state_getfldptr utility routine
DeniseWorthen Mar 26, 2022
1779731
remove use statements for ESMF and NUOPC
DeniseWorthen Mar 27, 2022
1ee5bf0
update cesm timestep setting
DeniseWorthen Mar 27, 2022
b91220e
Merge remote-tracking branch 'remotes/ww3-cesm/dev/unified' into feat…
DeniseWorthen Mar 28, 2022
25dd43f
remove cesm section
DeniseWorthen Mar 28, 2022
13b6f29
Merge remote-tracking branch 'origin/feature/fix2d' into feature/cmak…
DeniseWorthen Mar 28, 2022
234d1d4
Add the gx1v7 grid input files
alperaltuntas Mar 29, 2022
b8415c1
Merge remote-tracking branch 'origin/feature/cmake_meshcapbuild' into…
DeniseWorthen Apr 5, 2022
8d2e036
revert temp changes associated with DDEBUG
DeniseWorthen Apr 5, 2022
d269f96
fix differences w/ mediator history files
DeniseWorthen Apr 5, 2022
d833ff0
add doxygen formatting to mesh cap code
DeniseWorthen Apr 7, 2022
75483b9
fix b axis array and white space cleanup
DeniseWorthen Apr 7, 2022
f898613
replace routines when variable has extra dim
DeniseWorthen Apr 7, 2022
0a33796
Merge branch 'feature/cmake_meshcapbuild' into feature/refac_iognc
DeniseWorthen Apr 8, 2022
fdeaecc
passes comparison w/ original iogoncmd code
DeniseWorthen Apr 8, 2022
3cc8b6a
fix time variable
DeniseWorthen Apr 8, 2022
129ac3b
refactor initializtion
DeniseWorthen Apr 8, 2022
f99b2c8
remove remaining init section, remove fname from call
DeniseWorthen Apr 9, 2022
1218a96
remove need for allocate/deall for 3d-variables
DeniseWorthen Apr 9, 2022
03b373e
remove flogrd from iogonc routine
DeniseWorthen Apr 9, 2022
00e8d4d
replace use of scan for additional dims
DeniseWorthen Apr 9, 2022
d287ba5
correct many missing nd units
DeniseWorthen Apr 10, 2022
b3a417a
remove 'b' axis
DeniseWorthen Apr 10, 2022
88634a0
change format, clean up
DeniseWorthen Apr 10, 2022
8e2bad9
Merge branch 'dev/ufs-weather-model' into feature/cmake_meshcapbuild
DeniseWorthen Apr 13, 2022
b1899b9
Merge pull request #21 from ESCOMP/add_gx1v7_to_dev/unified
alperaltuntas Apr 14, 2022
ab5f25f
address pr review comments
DeniseWorthen Apr 21, 2022
6d125cb
add custom user restart and history filenames
DeniseWorthen Apr 23, 2022
dd5e8e8
address pr comments
DeniseWorthen Apr 24, 2022
4eee787
remove debugging statements for CESMCOUPLED
DeniseWorthen Apr 24, 2022
98b41aa
fix compile error
DeniseWorthen Apr 24, 2022
febd75d
remove cime_config from core WW3
alperaltuntas Apr 25, 2022
61505f8
switch to ncout for ufs, add ptr restart example
DeniseWorthen Apr 26, 2022
9b26579
updates for initfile
DeniseWorthen Apr 26, 2022
05d8203
standardize format. @jedwards4b
alperaltuntas Apr 29, 2022
3e876b9
Merge pull request #1 from ESCOMP/equation_format_fix
alperaltuntas Apr 29, 2022
43c0268
updates to changes from dworthen that fix the wave spectrum fields se…
May 2, 2022
198b0e2
Merge branch 'feature/cmake_meshcapbuild' into feature/refac_iognc
DeniseWorthen May 3, 2022
b4adde5
Merge branch 'feature/cmake_meshcapbuild' into feature/useropts
DeniseWorthen May 3, 2022
5fda269
added wav_grdout.F90
May 3, 2022
4147561
fix issues w/ setting restart file name
DeniseWorthen May 3, 2022
65b1f5a
isolate use file name options
DeniseWorthen May 3, 2022
67b1ff4
Merge pull request #2 from mvertens/feature/icewav_coupling
alperaltuntas May 3, 2022
ac3dfbf
clean up, move runtype and initfile to w3odat
DeniseWorthen May 4, 2022
5b22fa4
merge with cmake_meshcapbuild and resolve conflicts
alperaltuntas May 4, 2022
e2d9180
define __WW3_SWITCHES__ in CMakeLists
alperaltuntas May 5, 2022
20174e1
Merge pull request #3 from ESCOMP/merge_cmake_meshcapbuild
alperaltuntas May 5, 2022
956000a
comment out wav_tauice export lines
alperaltuntas May 6, 2022
ad21328
fix requests of unallocated variables
DeniseWorthen May 10, 2022
fd2a186
Merge branch 'dev/ufs-weather-model' into feature/useropts
DeniseWorthen Jun 23, 2022
1fff22e
add convert statements
DeniseWorthen Jun 23, 2022
8e14f00
Merge branch 'dev/ufs-weather-model' into feature/refac_iognc
DeniseWorthen Jun 23, 2022
84ddaa1
fix math for sic4, minor logging changes
DeniseWorthen Jun 28, 2022
4d73bdb
logging changes
DeniseWorthen Jun 28, 2022
f1279c6
update w3iogomd for optional filenames
DeniseWorthen Jun 28, 2022
6b57e98
remove unused variables from w3iogomd
DeniseWorthen Jun 29, 2022
8cdde03
initial commit of useropts + alarms
DeniseWorthen Jun 30, 2022
60436f0
fix double (binary,nc) history file write
DeniseWorthen Jun 30, 2022
f00d0fe
add options via config
DeniseWorthen Jul 3, 2022
18ce813
initial attempt for full inp/nml functionality
DeniseWorthen Jul 7, 2022
a0a9872
fix compile errors, indenting on shel_inp
DeniseWorthen Jul 8, 2022
784b8e4
remove reading of input files
DeniseWorthen Jul 8, 2022
f249ec7
add only to use w3nmshelmd, add flags
DeniseWorthen Jul 9, 2022
ccdf369
updates to be able to remove wav_shel_set routine in wav_shel_inp
Jul 11, 2022
de5eb1b
reformatted wav_shel_inp.F90
Jul 11, 2022
b8eebff
switch to using interface for debug print msgs
DeniseWorthen Jul 11, 2022
abe33c6
manually bring in changes from MV
DeniseWorthen Jul 11, 2022
b310609
added logic for turning on wave/ice coupling
Jul 11, 2022
5cc9c47
moved CESMCOUPLED to W3_CESMCOUPLED
Jul 11, 2022
4714643
fix all caps line and some doxy formatting
DeniseWorthen Jul 11, 2022
6d3b8b5
remove file committed by error
DeniseWorthen Jul 11, 2022
fc43b23
add mv's changes to rename flags w/ w3_ prefix
DeniseWorthen Jul 11, 2022
d397a01
updated all wav_*.F90 files to be consistent with latest changes from…
Jul 12, 2022
8006f48
Merge branch 'dev/unified' into feature/wav_shel_inp_namelist
Jul 12, 2022
4715cbe
fixed compile problems
Jul 12, 2022
ab299da
merged to head of denise/feature/playwithshel
Jul 13, 2022
4f0063a
Merge branch 'feature/useropts' into feature/playwithshel
DeniseWorthen Jul 13, 2022
bc697de
fix wav_ice coupling flag and remove tauice
DeniseWorthen Jul 13, 2022
46b416e
merged to user output file PR from Denise
Jul 16, 2022
9be7594
updates to get branch working and debug output working
Jul 16, 2022
3902e86
Merge branch 'feature/denise_output' into feature/wav_shel_inp_namelist
Jul 16, 2022
d016619
Merge branch 'develop' into feature/update_to_develop
DeniseWorthen Jul 16, 2022
1b9c49d
Merge remote-tracking branch 'origin/feature/update_to_develop' into …
DeniseWorthen Jul 16, 2022
a93411e
add all switch flags, remove initialization
DeniseWorthen Jul 16, 2022
1552770
add flags for cesm and uwm
DeniseWorthen Jul 17, 2022
e02fd45
Merge branch 'feature/playwithshel' into feature/refac_iognc
DeniseWorthen Jul 17, 2022
f6439d9
comment out dbug_flag (need to move from wav_shr)
DeniseWorthen Jul 17, 2022
71f75e9
move wav_gridout compile to main list
DeniseWorthen Jul 17, 2022
f24d1c2
fix pet logging issue when using nml, fix shr_flag
DeniseWorthen Jul 18, 2022
ee57906
update w/ MV's latest changes
DeniseWorthen Jul 18, 2022
b92d475
fix writing of odat to fort file when shel is used
DeniseWorthen Jul 18, 2022
dcb0604
Merge remote-tracking branch 'origin/feature/playwithshel' into featu…
DeniseWorthen Jul 18, 2022
a4e9098
update shr_flags and fix white space
DeniseWorthen Jul 21, 2022
5791eaf
Merge branch 'feature/playwithshel' into feature/refac_iognc
DeniseWorthen Jul 21, 2022
c35dd3e
change case for iogonc, fix cesm ifdef
DeniseWorthen Jul 21, 2022
8bdd8dd
all wave tests are b4b with uwm hash b1a6a936
DeniseWorthen Jul 21, 2022
0318ffd
merged to Denise Worthen's branch feature/refac_iognc
Jul 25, 2022
fe71b90
fixes for restart test
Jul 25, 2022
0b91e0e
Merge branch 'feature/refac_iognc' into feature/playwithshel
DeniseWorthen Jul 26, 2022
fd5ee20
Merge remote-tracking branch 'mvertens/feature/refac_iognc_mvertens' …
DeniseWorthen Jul 26, 2022
3e2f149
minor cleanup of wav_shel_inp
DeniseWorthen Jul 26, 2022
f9efced
text alignment
DeniseWorthen Jul 28, 2022
54cf5ef
align text in w3iogonc and wav_shr_flags
DeniseWorthen Jul 29, 2022
6d7ae25
update to remove histalarm and restalarm options
DeniseWorthen Jul 31, 2022
7c77555
fix open unit, log file message
DeniseWorthen Aug 1, 2022
80d2778
restor histwr and restwr to w3odatmd
DeniseWorthen Aug 4, 2022
8475d36
fix endless loop for cesm style dates
DeniseWorthen Aug 6, 2022
33a5611
use histwr for w3iogoncd when cesmcoupled
DeniseWorthen Aug 6, 2022
1bc5a86
try compile fix
DeniseWorthen Aug 7, 2022
02db56d
Revert "try compile fix"
DeniseWorthen Aug 7, 2022
4f01bf0
Merge branch 'dev/ufs-weather-model' into feature/playwithshel
DeniseWorthen Aug 11, 2022
8ed4b8a
revert changes which broke cesm; add flag control
DeniseWorthen Aug 12, 2022
10b6bb8
minor text fixes
DeniseWorthen Aug 13, 2022
06d41ec
add two small changes consistent with develop
DeniseWorthen Aug 15, 2022
9e4e3ed
fix recv_init for langmt
DeniseWorthen Aug 19, 2022
f40d3c3
resolve circular dependency, fix text
DeniseWorthen Aug 19, 2022
73e0c37
changes related to wave-ice coupling
DeniseWorthen Aug 23, 2022
c692b97
make flags into parameters
DeniseWorthen Aug 23, 2022
c89227c
fix rev in for langmt
DeniseWorthen Aug 23, 2022
ebb8c9c
update workflow for mesh cap build
DeniseWorthen Aug 23, 2022
6a9b1fa
initialize variable XXX in w3wavemd
DeniseWorthen Aug 23, 2022
b1cd2fd
move some implict none to module level
DeniseWorthen Aug 24, 2022
b43f995
fix typo
DeniseWorthen Aug 24, 2022
496b848
fix broadcast of initfile, minor text cleanup
DeniseWorthen Aug 25, 2022
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
29 changes: 16 additions & 13 deletions .github/workflows/gnu.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
name: GNU Linux Build
on: [push, pull_request]

# Cancel in-progress workflows when pushing to a branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
cache_key: gnu4
cache_key: gnu5
CC: gcc-10
FC: gfortran-10
CXX: g++-10


# Split into a steup step, and a WW3 build step which
# builds multiple switches in a matrix. The setup is run once and
# builds multiple switches in a matrix. The setup is run once and
# the environment is cached so each build of WW3 can share the dependencies.

jobs:
setup:
runs-on: ubuntu-20.04

steps:
- name: checkout-ww3
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: ww3
# Cache spack, OASIS, and compiler
# No way to flush Action cache, so key may have # appended
- name: cache-env
Expand All @@ -26,13 +37,7 @@ jobs:
spack
~/.spack
work_oasis3-mct
key: spack-${{ runner.os }}-${{ env.cache_key }}

- name: checkout-ww3
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: ww3
key: spack-${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack.yaml') }}

# Build WW3 spack environment
- name: install-dependencies-with-spack
Expand Down Expand Up @@ -72,7 +77,7 @@ jobs:
steps:
- name: checkout-ww3
uses: actions/checkout@v2
with:
with:
path: ww3

- name: cache-env
Expand All @@ -83,7 +88,7 @@ jobs:
spack
~/.spack
work_oasis3-mct
key: spack-${{ runner.os }}-${{ env.cache_key }}
key: spack-${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack.yaml') }}

- name: build-ww3
run: |
Expand All @@ -102,5 +107,3 @@ jobs:
cmake .. -DSWITCH=${{ matrix.switch }}
fi
make -j2 VERBOSE=1


30 changes: 17 additions & 13 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Intel Linux Build
on: [push, pull_request]

# Cancel in-progress workflows when pushing to a branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

# Use custom shell with -l so .bash_profile is sourced which loads intel/oneapi/setvars.sh
# without having to do it in manually every step
defaults:
Expand All @@ -9,22 +14,29 @@ defaults:

# Set I_MPI_CC/F90 so Intel MPI wrapper uses icc/ifort instead of gcc/gfortran
env:
cache_key: intel5
cache_key: intel6
CC: icc
FC: ifort
CXX: icpc
I_MPI_CC: icc
I_MPI_F90: ifort

# Split into a dependency build step, and a WW3 build step which
# builds multiple switches in a matrix. The setup is run once and
# builds multiple switches in a matrix. The setup is run once and
# the environment is cached so each build of WW3 can share the dependencies.

jobs:
setup:
runs-on: ubuntu-latest

steps:

- name: checkout-ww3
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: ww3

# Cache spack, OASIS, and compiler
# No way to flush Action cache, so key may have # appended
- name: cache-env
Expand All @@ -36,7 +48,7 @@ jobs:
~/.spack
work_oasis3-mct
/opt/intel
key: spack-${{ runner.os }}-${{ env.cache_key }}
key: spack-${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack.yaml') }}

- name: install-intel-compilers
if: steps.cache-env.outputs.cache-hit != 'true'
Expand All @@ -48,12 +60,6 @@ jobs:
sudo apt-get install intel-oneapi-dev-utilities intel-oneapi-mpi-devel intel-oneapi-openmp intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
echo "source /opt/intel/oneapi/setvars.sh" >> ~/.bash_profile

- name: checkout-ww3
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: ww3

# Build WW3 spack environment
- name: install-dependencies-with-spack
if: steps.cache-env.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -92,7 +98,7 @@ jobs:
steps:
- name: checkout-ww3
uses: actions/checkout@v2
with:
with:
path: ww3

- name: install-intel
Expand All @@ -108,7 +114,7 @@ jobs:
~/.spack
work_oasis3-mct
/opt/intel
key: spack-${{ runner.os }}-${{ env.cache_key }}
key: spack-${{ runner.os }}-${{ env.cache_key }}-${{ hashFiles('ww3/model/ci/spack.yaml') }}

- name: build-ww3
run: |
Expand All @@ -127,5 +133,3 @@ jobs:
cmake .. -DSWITCH=${{ matrix.switch }}
fi
make -j2 VERBOSE=1


2 changes: 1 addition & 1 deletion model/bin/build_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ create_file_list()
then
core=''
else
core='wav_kind_mod wav_shr_mod wav_shel_inp wav_comp_nuopc wav_import_export w3iogoncdmd'
core='wav_kind_mod wav_shr_mod wav_shel_inp wav_comp_nuopc wav_import_export wav_grdout wav_shr_flags w3iogoncdmd'
fi
core="$core w3fldsmd w3initmd w3wavemd w3wdasmd w3updtmd"
core="$core wminitmd wmwavemd wmfinlmd wmgridmd wmupdtmd wminiomd"
Expand Down
2 changes: 2 additions & 0 deletions model/bin/make_makefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@
'wav_kind_mod' ) modtest=wav_kind_mod.o ;;
'wav_shr_mod' ) modtest=wav_shr_mod.o ;;
'wav_shel_inp' ) modtest=wav_shel_inp.o ;;
'wav_grdout' ) modtest=wav_grdout.o ;;
'wav_shr_flags'. ) modtest=wav_shr_flags.o ;;
'wav_comp_nuopc' ) modtest=wav_comp_nuopc.o ;;
'wav_import_export' ) modtest=wav_import_export.o ;;
'w3iogoncdmd' ) modtest=w3iogoncdmd.o ;;
Expand Down
4 changes: 3 additions & 1 deletion model/src/cmake/src_list.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ set(ftn_src
wmupdtmd.F90
wmwavemd.F90
w3tidemd.F90
wav_grdout.F90
w3iogoncdmd.F90
wav_shr_flags.F90
)

set(nuopc_mesh_cap_src
Expand All @@ -63,7 +66,6 @@ set(nuopc_mesh_cap_src
wav_shel_inp.F90
wav_comp_nuopc.F90
wav_import_export.F90
w3iogoncdmd.F90
)

set(esmf_multi_cap_src
Expand Down
Loading