Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
350 commits
Select commit Hold shift + click to select a range
226e8a4
update to use WWATCH_F90 in the cpp preprocessing
JessicaMeixner-NOAA Aug 27, 2021
1471734
removing un-needed setup files
JessicaMeixner-NOAA Aug 27, 2021
4bf522b
update ftn2src.sh
JessicaMeixner-NOAA Aug 27, 2021
2fea273
update SCRIP makefile segments
JessicaMeixner-NOAA Sep 8, 2021
69cd5b5
update script for conversion
JessicaMeixner-NOAA Sep 8, 2021
c07cd05
Merge remote-tracking branch 'EMC/develop' into feature/switch2cppWbu…
JessicaMeixner-NOAA Sep 8, 2021
55ce2fb
fixing typos Chris found
JessicaMeixner-NOAA Sep 9, 2021
b88387d
Merge remote-tracking branch 'EMC/develop' into feature/cleanbuild
JessicaMeixner-NOAA Sep 9, 2021
69b3e8e
Merge remote-tracking branch 'EMC/develop' into feature/cleanbuild
JessicaMeixner-NOAA Sep 10, 2021
1ec1d94
Merge remote-tracking branch 'origin/feature/cleanbuild' into version…
JessicaMeixner-NOAA Sep 10, 2021
41f6238
Merge remote-tracking branch 'EMC/develop' into feature/cleanbuild
JessicaMeixner-NOAA Sep 14, 2021
0746906
Merge remote-tracking branch 'origin/feature/cleanbuild' into version…
JessicaMeixner-NOAA Sep 14, 2021
440ed02
Merge remote-tracking branch 'EMC/develop' into version7.13
JessicaMeixner-NOAA Sep 15, 2021
de1a1be
merge commit
JessicaMeixner-NOAA Sep 15, 2021
ac5d64c
Merge remote-tracking branch 'origin/version7.13' into feature/switch…
JessicaMeixner-NOAA Sep 15, 2021
82901ec
updating source
JessicaMeixner-NOAA Sep 15, 2021
0b7e7c7
Merge branch 'NOAA-EMC:develop' into feature/switch2cpp_build_nosrc
JessicaMeixner-NOAA Sep 16, 2021
6775d57
Merge branch 'NOAA-EMC:develop' into feature/switch2cpp_build_nosrc
JessicaMeixner-NOAA Sep 16, 2021
9a39932
update ad3 to add a compiler specific statement
JessicaMeixner-NOAA Sep 16, 2021
4833efb
Provide CPP method of setting switch list in w3initmd
ukmo-ccbunney Sep 21, 2021
5726511
Merge remote-tracking branch 'EMC/develop' into feature/switch2cpp_bu…
JessicaMeixner-NOAA Sep 21, 2021
285c44a
update src code with latest changes
JessicaMeixner-NOAA Sep 21, 2021
310119e
Merge branch 'feature/switch2cpp_0921code' into feature/switch2cpp_bu…
JessicaMeixner-NOAA Sep 21, 2021
5e2ff25
cleaning up more unused files and updating .gitignore
JessicaMeixner-NOAA Sep 22, 2021
41a6dd6
remove w3init switch part of ad3
JessicaMeixner-NOAA Sep 22, 2021
661b5d1
more ad3 clean-up
JessicaMeixner-NOAA Sep 22, 2021
29d7554
clean up w3list is no longer built
JessicaMeixner-NOAA Sep 22, 2021
176773d
update comp.tmpl since we dont have w3list file anymore
JessicaMeixner-NOAA Sep 22, 2021
da38956
Merge branch 'feature/switch2cpp_build_nosrc' of github.com:JessicaMe…
JessicaMeixner-NOAA Sep 22, 2021
8757889
Revert "update comp.tmpl since we dont have w3list file anymore"
JessicaMeixner-NOAA Sep 22, 2021
f74c89c
do not call w3list in comp.tmpl because we do not generate this exe a…
JessicaMeixner-NOAA Sep 22, 2021
5cf09c9
process src
JessicaMeixner-NOAA Sep 22, 2021
b314de0
Merge branch 'update0922' into feature/switch2cpp_build_src
JessicaMeixner-NOAA Sep 22, 2021
1178854
first pass at ad3.tmpl file to get compiler specific files
JessicaMeixner-NOAA Sep 22, 2021
2c47d48
updates to make ad3.tmpl work
JessicaMeixner-NOAA Sep 23, 2021
454ee83
missed section
JessicaMeixner-NOAA Sep 23, 2021
a0ce4d9
Merge remote-tracking branch 'EMC/develop' into feature/ad3template
JessicaMeixner-NOAA Sep 23, 2021
bec6625
Merge remote-tracking branch 'EMC/develop' into feature/ad3template
JessicaMeixner-NOAA Sep 27, 2021
f045974
Merge remote-tracking branch 'EMC/develop' into feature/ad3template
JessicaMeixner-NOAA Sep 27, 2021
0b32dbe
update ftn->src
JessicaMeixner-NOAA Sep 27, 2021
6927a70
Merge remote-tracking branch 'origin/feature/ad3templatewithsrc' into…
JessicaMeixner-NOAA Sep 28, 2021
fc4f362
update for pgi
JessicaMeixner-NOAA Sep 30, 2021
dd9b672
add tools that convert ftn files with WW3 switch pre-processing
JessicaMeixner-NOAA Oct 5, 2021
f640a51
update what is going to ad3 for UKMO cray
JessicaMeixner-NOAA Oct 5, 2021
d66455f
updates for UKMO for ad3
JessicaMeixner-NOAA Oct 5, 2021
704f508
add bin/bash and remove set-x
JessicaMeixner-NOAA Oct 5, 2021
1158e44
Merge branch 'NOAA-EMC:develop' into feature/tools_ftn2src
JessicaMeixner-NOAA Oct 6, 2021
73d49b2
add readme
JessicaMeixner-NOAA Oct 6, 2021
6812673
Merge branch 'NOAA-EMC:develop' into feature/switch2cpp_build_nosrc
JessicaMeixner-NOAA Oct 6, 2021
6020053
Merge remote-tracking branch 'origin/feature/tools_ftn2src' into feat…
JessicaMeixner-NOAA Oct 6, 2021
129cc15
with processed source code
JessicaMeixner-NOAA Oct 6, 2021
93cd659
Merge remote-tracking branch 'origin/temp/switch2cpp_build_nosrc' int…
JessicaMeixner-NOAA Oct 6, 2021
1dfe46b
Merge branch 'NOAA-EMC:develop' into feature/switch2cpp_build_src
JessicaMeixner-NOAA Oct 8, 2021
0747c64
Merge branch 'NOAA-EMC:develop' into feature/switch2cpp_build_src
JessicaMeixner-NOAA Oct 13, 2021
9c65ce0
add ww3-cesm nuopc cap files
DeniseWorthen Oct 14, 2021
5cd58fe
bring in Jessica's uncommitted build changes
DeniseWorthen Oct 15, 2021
48ee563
add missing cpl_nuopc directory
DeniseWorthen Oct 15, 2021
7bef2f0
make change in esmf/Makefile
DeniseWorthen Oct 15, 2021
d0362fe
tries to build shr_methods!
DeniseWorthen Oct 16, 2021
fcdb899
building attempts
DeniseWorthen Oct 16, 2021
fdab8c8
comment out memcheck in shr_methods
DeniseWorthen Oct 16, 2021
98d167c
fix wave commit again
DeniseWorthen Oct 16, 2021
5b9a05a
update bin/make_makefile.sh to not use cpl_nuopc subdir
DeniseWorthen Oct 18, 2021
c8da648
update wav_import_export after fixing 'use, only'
DeniseWorthen Oct 18, 2021
9757d8a
remove extra files
DeniseWorthen Oct 18, 2021
9e849f8
working build
DeniseWorthen Oct 18, 2021
10f591c
add use,only in wav_comp_nuopc
DeniseWorthen Oct 18, 2021
197d793
add optionally computed fields
DeniseWorthen Oct 18, 2021
9c16472
refactor of import/export routines to remove #ifdefs
Oct 18, 2021
6657af8
cleanup
DeniseWorthen Oct 19, 2021
3019d5e
add back state_fldchk routine
DeniseWorthen Oct 19, 2021
f5fd873
fix compile errors
DeniseWorthen Oct 19, 2021
b78869b
updates to wav_import_export to work with cesm
Oct 19, 2021
8e2a1ca
new ifdefs for CESMCOUPLED
Oct 19, 2021
69b99bf
add cesmcoupled around stokes drift for cesm vs ufs
DeniseWorthen Oct 19, 2021
f5f2454
add wminitnml for non-cesm coupled
DeniseWorthen Oct 20, 2021
6da1619
back-out addition of wminit attempt
DeniseWorthen Oct 20, 2021
308d633
bug fixes and change of use of w3constants to constants
Oct 22, 2021
6f9c120
changes for ufs compile
DeniseWorthen Oct 22, 2021
efac377
remove some prints in shr methods
DeniseWorthen Oct 29, 2021
84cf8fb
update w3wavemd w/ bug fix for deactivated sea points
DeniseWorthen Nov 3, 2021
2e4ca7e
updates for build/repro
DeniseWorthen Nov 3, 2021
b7b8c01
initial commit for atm repro
DeniseWorthen Nov 4, 2021
bb92bb7
tidy up
DeniseWorthen Nov 5, 2021
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
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
09b307b
fix reversed logic for cap type
DeniseWorthen Mar 17, 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
d15d280
Merge pull request #18 from DeniseWorthen/feature/no_uwm_ncgrid
alperaltuntas Mar 19, 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
d833ff0
add doxygen formatting to mesh cap code
DeniseWorthen Apr 7, 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
dd5e8e8
address pr comments
DeniseWorthen Apr 24, 2022
4eee787
remove debugging statements for CESMCOUPLED
DeniseWorthen Apr 24, 2022
febd75d
remove cime_config from core WW3
alperaltuntas Apr 25, 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
5fda269
added wav_grdout.F90
May 3, 2022
67b1ff4
Merge pull request #2 from mvertens/feature/icewav_coupling
alperaltuntas May 3, 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
f3ebf86
update workflows for library change
DeniseWorthen Aug 23, 2022
03da627
add meshcap to workflow
DeniseWorthen Aug 23, 2022
abd43b0
update dev/unified with minimal changes
DeniseWorthen Aug 24, 2022
cd6b647
add endian to constants
DeniseWorthen Aug 24, 2022
eca858e
compile fixes; remove call to w3nmin
DeniseWorthen Aug 24, 2022
09f10b6
fix file open
DeniseWorthen Aug 24, 2022
c1af739
fix initfile broadcast
DeniseWorthen Aug 24, 2022
d46300b
update spack.yaml
DeniseWorthen Aug 24, 2022
b4bc147
fix compile errors now that GI is fixed
DeniseWorthen Aug 24, 2022
4cec006
Merge branch 'feature/meshcap_update_unified2' of https://github.com/…
DeniseWorthen Aug 24, 2022
32937ca
Merge remote-tracking branch 'denise/feature/meshcap_update_unified2'…
Aug 26, 2022
9a16c18
fixed compile problems
Aug 28, 2022
b72b47a
fixed bcast error
Aug 28, 2022
d83a6ac
create stripped down meshcap update branch
DeniseWorthen Aug 29, 2022
38fdace
strip mesh cap update of almost all flag changes
DeniseWorthen Aug 29, 2022
00e0e0c
add missing endif
DeniseWorthen Aug 29, 2022
c4b89cb
fixed performance problem
Aug 30, 2022
a0821cd
more cleanup of startall
Aug 31, 2022
3ab47d5
clean up msg printing in wav_shel_inp
DeniseWorthen Sep 1, 2022
63acc46
Merge remote-tracking branch 'MV/feature/meshcap_update' into feature…
DeniseWorthen Sep 1, 2022
df80f0b
fix w3init, change logic control
DeniseWorthen Sep 1, 2022
8969ecb
remove file
DeniseWorthen Sep 1, 2022
3424b87
fix hafs test
DeniseWorthen Sep 2, 2022
89a199b
fix langmt in w3initmd
DeniseWorthen Sep 2, 2022
d5652bc
add testing changes
DeniseWorthen Sep 5, 2022
2520817
clean up units in wav_shel_inp
DeniseWorthen Sep 5, 2022
6e557ed
Merge branch 'feature/meshcap_update_unified2' into feature/meshcap_s…
DeniseWorthen Sep 6, 2022
d7a0614
put back trailing whitespace in 2 files
DeniseWorthen Sep 13, 2022
fa5d7a8
restore implicit none to non-module level default
DeniseWorthen Sep 13, 2022
3a0d3cc
remove wav_shr_flags from w3wavemd
DeniseWorthen Sep 14, 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


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
85 changes: 37 additions & 48 deletions model/src/w3initmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ MODULE W3INITMD
! 7. Source code :
!
!/ ------------------------------------------------------------------- /
PUBLIC
! module default
IMPLICIT NONE

PUBLIC
!/
REAL, PARAMETER :: CRITOS = 15.
CHARACTER(LEN=10), PARAMETER :: WWVER = '7.14 '
Expand All @@ -118,8 +121,7 @@ MODULE W3INITMD
!/
CONTAINS
!/ ------------------------------------------------------------------- /
SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT &
, FLGRD, &
SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT , FLGRD, &
FLGR2, FLGD, FLG2, NPT, XPT, YPT, PNAMES, &
IPRT, PRTFRM, MPI_COMM, FLAGSTIDEIN)

Expand Down Expand Up @@ -414,8 +416,6 @@ SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT &
USE W3UOSTMD, ONLY: UOST_SETGRID
#endif
!/
IMPLICIT NONE
!
#ifdef W3_MPI
INCLUDE "mpif.h"
#endif
Expand Down Expand Up @@ -743,8 +743,8 @@ SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT &
WRITE (NDST,9003) LFILE(:IFL), TFILE(:IFT)
#endif
!
! 2. Model defintition ---------------------------------------------- /
! 2.a Read model defintition file
! 2. Model definition ---------------------------------------------- /
! 2.a Read model definition file
!
!!/DEBUGMPI CALL TEST_MPI_STATUS("Case 8")
CALL W3IOGR ( 'READ', NDS(5), IMOD, FEXT )
Expand Down Expand Up @@ -2151,7 +2151,6 @@ SUBROUTINE W3MPII ( IMOD )
#endif
USE W3ODATMD, ONLY: NDST, NAPROC, IAPROC
!/
IMPLICIT NONE
!
#ifdef W3_MPI
INCLUDE "mpif.h"
Expand Down Expand Up @@ -2189,16 +2188,14 @@ SUBROUTINE W3MPII ( IMOD )
NXXXX = NSEALM * NAPROC
!
#ifdef W3_MPI
CALL MPI_TYPE_VECTOR ( NSEALM, 1, NAPROC, MPI_REAL, &
WW3_FIELD_VEC, IERR_MPI )
CALL MPI_TYPE_VECTOR ( NSEALM, 1, NAPROC, MPI_REAL, WW3_FIELD_VEC, IERR_MPI )
#endif
#ifdef W3_DEBUGINIT
WRITE(740+IAPROC,*) 'W3MPII, step 1'
FLUSH(740+IAPROC)
#endif
#ifdef W3_MPI
CALL MPI_TYPE_VECTOR ( NSEALM, 1, NSPEC, MPI_REAL, &
WW3_SPEC_VEC, IERR_MPI )
CALL MPI_TYPE_VECTOR ( NSEALM, 1, NSPEC, MPI_REAL, WW3_SPEC_VEC, IERR_MPI )
#endif
#ifdef W3_DEBUGINIT
WRITE(740+IAPROC,*) 'W3MPII, step 1'
Expand Down Expand Up @@ -2284,14 +2281,11 @@ SUBROUTINE W3MPII ( IMOD )
IF ( IAPPRO(ISP) .NE. IAPROC ) THEN
ITARG = IAPPRO(ISP) - 1
IH = IH + 1
CALL MPI_SEND_INIT ( VA(ISP,1), 1, WW3_SPEC_VEC, &
ITARG, ISP, MPI_COMM_WAVE, IRQSG1(IH,1), IERR1 )
CALL MPI_RECV_INIT ( VA(ISP,1), 1, WW3_SPEC_VEC, &
ITARG, ISP, MPI_COMM_WAVE, IRQSG1(IH,2), IERR2 )
CALL MPI_SEND_INIT ( VA(ISP,1), 1, WW3_SPEC_VEC, ITARG, ISP, MPI_COMM_WAVE, IRQSG1(IH,1), IERR1 )
CALL MPI_RECV_INIT ( VA(ISP,1), 1, WW3_SPEC_VEC, ITARG, ISP, MPI_COMM_WAVE, IRQSG1(IH,2), IERR2 )
#endif
#ifdef W3_MPIT
WRITE (NDST,9022) IH, ISP, ITARG+1, &
IRQSG1(IH,1), IERR1, IRQSG1(IH,2), IERR2
WRITE (NDST,9022) IH, ISP, ITARG+1, IRQSG1(IH,1), IERR1, IRQSG1(IH,2), IERR2
#endif
#ifdef W3_MPI
END IF
Expand Down Expand Up @@ -2364,18 +2358,14 @@ SUBROUTINE W3MPII ( IMOD )
#endif
!
#ifdef W3_MPI
CALL MPI_RECV_INIT &
( WADATS(IMOD)%GSTORE(IP,IBFLOC), 1, &
WW3_FIELD_VEC, ITARG, ISP, MPI_COMM_WAVE, &
IRQSG2(IH,1), IERR2 )
CALL MPI_SEND_INIT &
( WADATS(IMOD)%SSTORE(IP,IBFLOC), 1, &
WW3_FIELD_VEC, ITARG, ISP, MPI_COMM_WAVE, &
IRQSG2(IH,2), IERR2 )
CALL MPI_RECV_INIT ( WADATS(IMOD)%GSTORE(IP,IBFLOC), 1, &
WW3_FIELD_VEC, ITARG, ISP, MPI_COMM_WAVE, IRQSG2(IH,1), IERR2 )
CALL MPI_SEND_INIT ( WADATS(IMOD)%SSTORE(IP,IBFLOC), 1, &
WW3_FIELD_VEC, ITARG, ISP, MPI_COMM_WAVE, IRQSG2(IH,2), IERR2 )
#endif
#ifdef W3_MPIT
WRITE (NDST,9032) IH, ISP, ITARG+1, IBFLOC, &
IRQSG2(IH,1), IERR1, IRQSG2(IH,2), IERR2
WRITE (NDST,9032) IH, ISP, ITARG+1, IBFLOC, &
IRQSG2(IH,1), IERR1, IRQSG2(IH,2), IERR2
#endif
!
! ... End of loops
Expand Down Expand Up @@ -2602,7 +2592,6 @@ SUBROUTINE W3MPIO ( IMOD )
USE W3GDATMD, ONLY: GTYPE, UNGTYPE
USE CONSTANTS, ONLY: LPDLIB
!/
IMPLICIT NONE
!
#ifdef W3_MPI
INCLUDE "mpif.h"
Expand Down Expand Up @@ -3789,23 +3778,23 @@ SUBROUTINE W3MPIO ( IMOD )
#ifdef W3_MPIT
WRITE (NDST,9011) IH, ' 6/13', IROOT, IT, IRQGO(IH), IERR
#endif
#ifdef W3_CESMCOUPLED
#ifdef W3_MPI
END IF
#endif
!
#ifdef W3_MPI
#ifdef W3_CESMCOUPLED
IF ( FLGRDALL( 6, 14) ) THEN
IH = IH + 1
IT = IT + 1
CALL MPI_SEND_INIT (LANGMT (1),NSEALM , MPI_REAL, IROOT, &
CALL MPI_SEND_INIT (LANGMT(1),NSEALM , MPI_REAL, IROOT, &
IT, MPI_COMM_WAVE, IRQGO(IH), IERR)
END IF
#endif
#ifdef W3_MPIT
WRITE (NDST,9011) IH, ' 6/14', IROOT, IT, IRQGO(IH), IERR
#endif
#endif

#ifdef W3_MPI
END IF
#endif
END IF
#endif !W3_CESMCOUPLED
#endif !W3_MPI
!
#ifdef W3_MPI
IF ( FLGRDALL( 7, 1) ) THEN
Expand Down Expand Up @@ -5210,22 +5199,23 @@ SUBROUTINE W3MPIO ( IMOD )
#ifdef W3_MPIT
WRITE (NDST,9011) IH, ' 6/13', IFROM, IT, IRQGO2(IH), IERR
#endif
#ifdef W3_CESMCOUPLED
#ifdef W3_MPI
END IF
#endif
!
#ifdef W3_MPI
#ifdef W3_CESMCOUPLED
IF ( FLGRDALL( 6, 14) ) THEN
IH = IH + 1
IT = IT + 1
CALL MPI_RECV_INIT (LANGMT (1),NSEALM , MPI_REAL, IROOT, &
IT, MPI_COMM_WAVE, IRQGO(IH), IERR)
END IF
#endif
CALL MPI_RECV_INIT (LANGMT(I0),1,WW3_FIELD_VEC, IFROM, IT, &
MPI_COMM_WAVE, IRQGO2(IH), IERR)
#ifdef W3_MPIT
WRITE (NDST,9011) IH, ' 6/14', IROOT, IT, IRQGO(IH), IERR
WRITE (NDST,9011) IH, ' 6/14', IFROM, IT, IRQGO2(IH), IERR
#endif
#endif
#ifdef W3_MPI
END IF
#endif
#endif ! W3_CESMCOUPLED
#endif ! W3_MPI
!
#ifdef W3_MPI
IF ( FLGRDALL( 7, 1) ) THEN
Expand Down Expand Up @@ -6952,7 +6942,6 @@ SUBROUTINE W3MPIP ( IMOD )
USE W3PARALL, ONLY: INIT_GET_JSEA_ISPROC
#endif
!/
IMPLICIT NONE
!
#ifdef W3_MPI
INCLUDE "mpif.h"
Expand Down
Loading