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 #82

Merged
merged 287 commits into from
Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
f6c8f0b
correct COMP_NAME (was CIME_COMP)
jedwards4b Apr 4, 2022
20af1d7
Merge pull request #280 from jedwards4b/buildexe_fix
jedwards4b Apr 4, 2022
f12b1d9
fix for data configurations
uturuncoglu Apr 6, 2022
27dd3d0
move pio parameters to nuopc.runconfig input file
jedwards4b Feb 7, 2022
a21f70b
X case compiles
jedwards4b Feb 7, 2022
a3e3f87
ongoing work
jedwards4b Feb 18, 2022
aab10fc
more read config
jedwards4b Mar 14, 2022
8f4737d
get logging to work
jedwards4b Mar 17, 2022
25d0e73
some cleanup
jedwards4b Mar 17, 2022
1193194
must work with ufs
jedwards4b Mar 17, 2022
aff27cb
more logging fixes, correct syntax in shr_pio_mod
jedwards4b Mar 17, 2022
d23ad4b
clean up code
jedwards4b Mar 23, 2022
d8e82e8
fix bugs in pio interface
jedwards4b Apr 1, 2022
9947809
update CMEPS
uturuncoglu Apr 12, 2022
167b0eb
handle inst number in fortran
jedwards4b Apr 13, 2022
fb16730
Merge pull request #275 from jedwards4b/modelio_to_runconfig
jedwards4b Apr 15, 2022
6654167
add option to write meshes and update code that retrieve area informa…
uturuncoglu Apr 17, 2022
383f11c
update ccpp host based on recent changes in ccpp framework
uturuncoglu Apr 17, 2022
d56d53b
fix for providing cell area to CCPP host model
uturuncoglu Apr 19, 2022
c99de05
make ccpp physics options configurable
uturuncoglu Apr 19, 2022
ef360ea
Refactor nems field exchange; set default masks for mapping in med_in…
DeniseWorthen Apr 22, 2022
3018d88
use mesh file instead of grid name (#285)
jedwards4b Apr 25, 2022
150677a
dont repeat user_nl entries (#289)
jedwards4b Apr 26, 2022
a7886b9
changes to fix scam and add wave/ice coupling (#290)
mvertens Apr 26, 2022
5acea36
fixes for aquaplanet
Apr 27, 2022
b6549d6
Merge pull request #292 from mvertens/feature/fix_cmeps0_13_57
jedwards4b Apr 27, 2022
6a54cb6
fixes to get can single column SCT test to pass (#293)
mvertens Apr 28, 2022
3dbaa6c
need to initialize these variables
jedwards4b Apr 29, 2022
4223e15
Merge pull request #294 from jedwards4b/initialize_scol_nij
jedwards4b Apr 29, 2022
c57d725
fix name of driver log
jedwards4b Apr 29, 2022
260ab82
Merge pull request #295 from jedwards4b/fix_MCC_test
jedwards4b Apr 29, 2022
a4c7438
add wave/cice coupling fields (#296)
mvertens May 3, 2022
bed9c56
update CMEPS and fix to work with latest version of CCPP physics
uturuncoglu May 4, 2022
f2385cc
fix char length issue for gnu compiler
uturuncoglu May 4, 2022
44b4e8f
update esmf build in workflow
jedwards4b May 5, 2022
d71c522
fix build
jedwards4b May 5, 2022
89681d4
fix error in esmf build
jedwards4b May 5, 2022
32e544a
fix pio version
jedwards4b May 5, 2022
95e148b
Merge pull request #298 from jedwards4b/workflow_update_esmf
jedwards4b May 5, 2022
36d880a
Merge remote-tracking branch 'origin/master' into feature/xgrid_dev_host
uturuncoglu May 5, 2022
139047e
make qmin constant
uturuncoglu May 5, 2022
1bef7aa
declare constants as parameters
uturuncoglu May 6, 2022
b0eee2c
fix for UFS OpnReqTests debug test
May 6, 2022
4d91092
Merge branch 'feature/xgrid_dev_host' of https://github.com/uturuncog…
May 6, 2022
d307cd5
fix threading issue in CCPP driver
uturuncoglu May 9, 2022
3fe2c87
update naming convention and use _med suffix in CCPP host model
May 10, 2022
dfdb479
add restart capability to CCPP host model
May 15, 2022
a8bb766
more work to bring restart capability to CCPP host model
May 16, 2022
355557a
fix to write data on exchange grid
uturuncoglu May 18, 2022
c542d8f
first step - reorder pio_init and move to ensemble_driver
jedwards4b May 18, 2022
5df8fd5
standardize subname variable
jedwards4b May 19, 2022
31f9316
more work for ccpp restart capability, agrid and ogrid are passing now
May 20, 2022
c90b9f1
fix ccpp restart for xgrid and add support for sfc_diag
May 21, 2022
773a48b
Merge remote-tracking branch 'origin/drydep_cmeps0.13.40' into dep_da…
fvitt May 24, 2022
f557497
read dep data from file; preserve seq_drydep_mod interface
fvitt May 25, 2022
c7e92a6
update to fix ORT issues
May 25, 2022
54e8ae5
add missing call to read restart file
May 25, 2022
14b8216
fix for gnu compiler
uturuncoglu May 25, 2022
b0e5418
change standard name of new option and couple of minor fix for debug …
uturuncoglu May 26, 2022
e1e91b5
fix conditional to check nproc
uturuncoglu May 26, 2022
2e3f061
fix for initial conditions, default is not to read
uturuncoglu May 26, 2022
81a2807
add new field to adjust new version of physics code
uturuncoglu May 27, 2022
a496972
more logging changes
jedwards4b May 27, 2022
b7b2cff
initialize drydep_nflds to zero
fvitt May 31, 2022
7ec1916
Merge pull request #282 from uturuncoglu/feature/xgrid_dev_host
uturuncoglu Jun 7, 2022
28e3f62
initialize async io logical
jedwards4b Jun 15, 2022
9aa32dc
add more error checking
jedwards4b Jun 15, 2022
ae2c368
merge to current master
jedwards4b Jun 15, 2022
89155de
update
uturuncoglu Jun 21, 2022
e1736b6
sync with master
uturuncoglu Jun 21, 2022
3516bbd
fix after merge with master
uturuncoglu Jun 21, 2022
e2d0bba
async io test passes ERS_Ln9.ne30pg3_ne30pg3_mg17.QPC6.cheyenne_intel…
jedwards4b Jun 23, 2022
694ac85
fix for land coupling
uturuncoglu Jun 23, 2022
c569aa6
clean print statement
uturuncoglu Jun 23, 2022
80408b4
add some comments
jedwards4b Jun 23, 2022
f3e0844
fix if block
jedwards4b Jun 24, 2022
28bcf74
Extract non-initialization parts of shr_pio_mod to a module in share
billsacks Jul 5, 2022
67ae99b
more log info
jedwards4b Jul 5, 2022
03ce9b7
Make pio_async_interface a module-level variable
billsacks Jul 5, 2022
1f8ce13
Rename init_pio to driver_pio
billsacks Jul 5, 2022
639adab
cleanup and comment
jedwards4b Jul 6, 2022
1ec59d0
add to use statement
jedwards4b Jul 6, 2022
2930f6b
CESM specific - activated atm/ocn flux scheme2 (#307)
mvertens Jul 8, 2022
3782c38
Merge pull request #306 from billsacks/fix_lilac_pio2
billsacks Jul 8, 2022
f56af79
state as of now
jedwards4b Jul 13, 2022
fdf5009
save for vacation
jedwards4b Jul 13, 2022
5f646a0
set wavice_coupling to false for now because it causes instabilities.…
alperaltuntas Jul 19, 2022
5e8d703
Merge pull request #303 from fvitt/dep_data_file
jedwards4b Jul 26, 2022
8088dd2
more debugged
jedwards4b Aug 8, 2022
c019982
more asyncio debugging;
jedwards4b Aug 9, 2022
c7b75d1
fix masking issue for land coupling
uturuncoglu Aug 11, 2022
8ba09a6
fix surface pressure issue for land coupling
uturuncoglu Aug 18, 2022
5e9c7d9
Update cime config namelist definition to include datmcomf/drv_flds_i…
adrifoster Aug 31, 2022
5559270
add namelist control of async rearranger
jedwards4b Sep 12, 2022
c91b15c
mods for land side-by-side configuration
uturuncoglu Sep 15, 2022
c550a3f
merge to latest master
jedwards4b Sep 21, 2022
cdbd5c1
merge to master
jedwards4b Sep 21, 2022
ce1bb64
put in correct way to set namelist for wavice coupling (#312)
mvertens Oct 6, 2022
325c107
changes that permits DAE test to work (#314)
mvertens Oct 7, 2022
962e753
simplify specification of stop_option, rest_option and history_option…
mvertens Oct 7, 2022
5157de0
Merge pull request #305 from jedwards4b/jedwards/asyncio
jedwards4b Oct 7, 2022
98e814f
Revert "first step - reorder pio_init and move to ensemble_driver"
jedwards4b Oct 12, 2022
6245807
Merge pull request #315 from ESCOMP/revert-305-jedwards/asyncio
jedwards4b Oct 12, 2022
978e0f2
was not working when atm and lnd did not share all tasks
jedwards4b Oct 12, 2022
6ee26a2
Merge pull request #310 from uturuncoglu/feature/lnd_noahmp
uturuncoglu Oct 12, 2022
1ba5eb4
fix a bug introduced in PR 313
jedwards4b Oct 13, 2022
ff8726f
Merge pull request #316 from jedwards4b/fix_drydep_initialize
jedwards4b Oct 13, 2022
5081a8e
fixes to instantaneous output
Oct 14, 2022
f3f34b0
fixes to time variable for instantaneous auxhist output
Oct 14, 2022
7b96332
fixed aux files 1-5 for atm
Oct 16, 2022
0e3bb2d
Merge branch 'master' into feature/fix_auxhist
Oct 16, 2022
76306f6
remove debug and obsolete statements
jedwards4b Nov 2, 2022
fa2ac92
Merge pull request #317 from mvertens/feature/fix_auxhist
jedwards4b Nov 2, 2022
56d71e4
Merge remote-tracking branch 'escomp/master' into feature/updcmeps
DeniseWorthen Nov 8, 2022
8763c77
fix unresolved merge conflict
DeniseWorthen Nov 8, 2022
02582eb
needed for using ESMF_AWARE_THREADING=TRUE
jedwards4b Nov 16, 2022
0cf254c
code clean up suggested in review
jedwards4b Nov 17, 2022
ce1305c
Merge pull request #319 from jedwards4b/esmf_aware_threading_fix
jedwards4b Nov 17, 2022
ef76dd1
make fldList a singly linked list
jedwards4b Nov 19, 2022
cc86157
one the way to fully functional linked list implementation
jedwards4b Nov 19, 2022
fbb8ef5
save work
jedwards4b Nov 19, 2022
69f31b8
compiles now
jedwards4b Nov 20, 2022
9d01b7b
save warnings in log
jedwards4b Nov 20, 2022
2dc1597
debugging
jedwards4b Nov 20, 2022
d494fa5
now passing SMS_Ld3.f19_g17_rx1.A.cheyenne_intel
jedwards4b Nov 21, 2022
13020c7
some cleanup
jedwards4b Nov 21, 2022
662e171
more clean-up
jedwards4b Nov 21, 2022
40ba09b
more list translation
jedwards4b Nov 21, 2022
75650c9
more loop structure changes
jedwards4b Nov 22, 2022
5c653fc
fix a pointer bug
jedwards4b Nov 23, 2022
24aff18
fix findname
jedwards4b Nov 23, 2022
70877f7
Merge remote-tracking branch 'origin/emc/develop' into feature/updcmeps
DeniseWorthen Nov 27, 2022
220a011
Merge remote-tracking branch 'remotes/escomp/master' into feature/upd…
DeniseWorthen Nov 27, 2022
7c76290
Merge remote-tracking branch 'JEdwards/LL_fldList' into feature/updcmeps
DeniseWorthen Nov 27, 2022
c6a597f
fix wave elevation spectrum for UFS
DeniseWorthen Nov 27, 2022
c33b88a
add a bit more debug info
jedwards4b Nov 28, 2022
d9f141b
add a bit more debug info
jedwards4b Nov 28, 2022
b4c68eb
a fix to get the num field count correct
jedwards4b Nov 28, 2022
736bce6
Merge remote-tracking branch 'ESCOMP/LL_fldList' into feature/updcmeps
DeniseWorthen Nov 28, 2022
628b134
add protection
jedwards4b Nov 28, 2022
b5d91b8
Merge remote-tracking branch 'ESCOMP/LL_fldList' into feature/updcmeps
DeniseWorthen Nov 28, 2022
eb78801
response to git review
jedwards4b Nov 29, 2022
15e746b
fix typos
jedwards4b Nov 29, 2022
841258a
more name changes
jedwards4b Nov 29, 2022
b8c29e6
add an abort call
jedwards4b Nov 30, 2022
ae5cfcd
Merge pull request #322 from jedwards4b/LL_fldList
jedwards4b Nov 30, 2022
4abc4b3
Merge remote-tracking branch 'escomp/master' into feature/updcmeps
DeniseWorthen Dec 1, 2022
57b6c0e
fix compile error
DeniseWorthen Dec 1, 2022
4198c59
move shr_file_getLogUnit to shr_log_getLogUnit
jedwards4b Dec 1, 2022
28199a1
fix mapping for ocn-wav
DeniseWorthen Dec 1, 2022
91749fd
Merge pull request #324 from DeniseWorthen/feature/updcmeps
jedwards4b Dec 5, 2022
28f335d
undo change to xgrid
jedwards4b Dec 5, 2022
a268235
Merge pull request #323 from jedwards4b/shr_file_to_shr_log
jedwards4b Dec 5, 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
3b1c33e
update to xgrid as default
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
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
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
ed8df6f
Merge pull request #332 from jedwards4b/update_workflow
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
0d8ea85
add failure message for restart read
DeniseWorthen Jan 30, 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
2 changes: 1 addition & 1 deletion .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bump version
on:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
Expand Down
131 changes: 41 additions & 90 deletions .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name: extbuild

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
# events but only for the main branch
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -19,109 +19,60 @@ jobs:
CXX: mpicxx
CPPFLAGS: "-I/usr/include -I/usr/local/include"
# Versions of all dependencies can be updated here
ESMF_VERSION: v8.3.0b13
PNETCDF_VERSION: pnetcdf-1.12.3
NETCDF_FORTRAN_VERSION: v4.5.2
PIO_VERSION: pio2_5_7
ESMF_VERSION: v8.4.0
PNETCDF_VERSION: checkpoint.1.12.3
NETCDF_FORTRAN_VERSION: v4.6.0
PIO_VERSION: pio2_5_10
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Build the ESMF library, if the cache contains a previous build
# it will be used instead
- id: cache-esmf
uses: actions/cache@v2
with:
path: ~/ESMF
key: ${{ runner.os }}-${{ env.ESMF_VERSION }}-ESMF
- id: load-env
run: |
sudo apt-get update
sudo apt-get install gfortran wget openmpi-bin netcdf-bin libopenmpi-dev libnetcdf-dev
- id: checkout-ESMF
uses: actions/checkout@v3
with:
repository: esmf-org/esmf
path: esmf-src
ref: ${{ env.ESMF_VERSION }}
- id: build-ESMF
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
#wget https://github.com/esmf-org/esmf/archive/${{ env.ESMF_VERSION }}.tar.gz
#tar -xzvf ${{ env.ESMF_VERSION }}.tar.gz
#pushd esmf-${{ env.ESMF_VERSION }}
pushd esmf-src
export ESMF_DIR=`pwd`
export ESMF_COMM=openmpi
export ESMF_YAMLCPP="internal"
export ESMF_INSTALL_PREFIX=$HOME/ESMF
export ESMF_BOPT=g
make
make install
popd
- id: cache-pnetcdf
uses: actions/cache@v2
with:
path: ~/pnetcdf
key: ${{ runner.os }}-${{ env.PNETCDF_VERSION}}-pnetcdf
- name: pnetcdf build
if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
run: |
wget https://parallel-netcdf.github.io/Release/${{ env.PNETCDF_VERSION }}.tar.gz
tar -xzvf ${{ env.PNETCDF_VERSION }}.tar.gz
ls -l
pushd ${{ env.PNETCDF_VERSION }}
./configure --prefix=$HOME/pnetcdf --enable-shared --disable-cxx
make
make install
popd
- name: Cache netcdf-fortran
id: cache-netcdf-fortran
uses: actions/cache@v2
sudo apt-get update
sudo apt-get install gfortran
sudo apt-get install wget
sudo apt-get install openmpi-bin libopenmpi-dev
sudo apt-get install netcdf-bin libnetcdf-dev libnetcdff-dev
sudo apt-get install pnetcdf-bin libpnetcdf-dev
sudo apt-get install autotools-dev autoconf
- id: cache-esmf
uses: actions/cache@v3
with:
path: ~/netcdf-fortran
key: ${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-netcdf-fortran
- name: netcdf fortran build
if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true'
run: |
wget https://github.com/Unidata/netcdf-fortran/archive/${{ env.NETCDF_FORTRAN_VERSION }}.tar.gz
tar -xzvf ${{ env.NETCDF_FORTRAN_VERSION }}.tar.gz
ls -l
pushd netcdf-fortran-*
./configure --prefix=$HOME/netcdf-fortran
make
make install

- name: Cache PIO
id: cache-PIO
uses: actions/cache@v2
path: ~/ESMF
key: ${{ runner.os }}-${{ env.ESMF_VERSION }}-ESMF
- name: Cache ParallelIO
id: cache-ParallelIO
uses: actions/cache@v3
with:
path: ~/pio
key: ${{ runner.os }}-${{ env.PIO_VERSION }}.pio
restore-keys: |
${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-netcdf-fortran
${{ runner.os }}-${{ env.PNETCDF_VERSION }}-pnetcdf

- id: checkout-PIO
uses: actions/checkout@v3
- name: Build ParallelIO
if: steps.cache-ParallelIO.outputs.cache-hit != 'true'
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@9390e30e29d4ebbfbef0fc72162cacd9e8f25e4e
with:
repository: NCAR/ParallelIO
path: parallelio-src
ref: ${{ env.PIO_VERSION }}
- name: Build PIO
if: steps.cache-PIO.outputs.cache-hit != 'true'
run: |
mkdir build-pio
pushd build-pio
cmake -Wno-dev -DNetCDF_C_LIBRARY=/usr/lib/x86_64-linux-gnu/libnetcdf.so -DNetCDF_C_INCLUDE_DIR=/usr/include -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=$HOME/pio -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_TESTS=Off -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_EXAMPLES=Off -DPIO_ENABLE_TIMING=Off -DNetCDF_Fortran_PATH=$HOME/netcdf-fortran -DPnetCDF_PATH=$HOME/pnetcdf ../parallelio-src
make VERBOSE=1
make install
popd

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
with:
esmf_version: ${{ env.ESMF_VERSION }}
esmf_bopt: g
esmf_comm: openmpi
install_prefix: $HOME/ESMF
netcdf_c_path: /usr
netcdf_fortran_path: /usr
pnetcdf_path: /usr
parallelio_path: $HOME/pio
- 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 -ffree-form -ffree-line-length-none" ../
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument" ../
make VERBOSE=1
popd
Loading