Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
4643e2c
develop: This commit references #23.
GeorgeGayno-NOAA Oct 15, 2019
b2ab118
release/v1.1.0: This commit references #26. (#28)
GeorgeGayno-NOAA Oct 24, 2019
2104aff
chgres_cube snow fix (#30)
GeorgeGayno-NOAA Oct 28, 2019
f7f04fc
Feature/chgres ice check (#35)
GeorgeGayno-NOAA Dec 4, 2019
5147e32
Update for new NCEPLIB library location on Jet (#34 #37)
GeorgeGayno-NOAA Dec 11, 2019
d28afa0
working version
mark-a-potts Dec 13, 2019
6f17d4f
Merge branch 'working' into develop
mark-a-potts Dec 13, 2019
42b6e32
Revert "Merge branch 'working' into develop"
mark-a-potts Dec 16, 2019
732210a
chgres_cube vertical velocity fix
GeorgeGayno-NOAA Dec 30, 2019
9a6f8a1
develop:
DomHeinzeller Jan 23, 2020
0f5d0f1
chgres_cube grib2 GFS data support (#48)
GeorgeGayno-NOAA Jan 24, 2020
2112a72
Account code update for Cray/Dell (#52)
GeorgeGayno-NOAA Feb 5, 2020
5eeb1a7
Update fre-nctools build module on Jet
JiliDong-NOAA Feb 6, 2020
e339b26
Update serial chgres and global cycle to use parallel netcdf 4.7.4
GeorgeGayno-NOAA Feb 18, 2020
72c636c
Add GRIB2 regression test for CHGRES_CUBE
GeorgeGayno-NOAA Feb 24, 2020
aeca779
Add LGPL license to repository. (#70)
GeorgeGayno-NOAA Feb 25, 2020
5b422ce
GDAS initialization scripts
GeorgeGayno-NOAA Feb 28, 2020
6bf5373
Update documentation
GeorgeGayno-NOAA Mar 24, 2020
2d7f796
CHGRES_CUBE: range check SST when using GFS GRIB2 input data
GeorgeGayno-NOAA Mar 27, 2020
ad909ed
chgres_cube - GFS v16 netcdf history file option
GeorgeGayno-NOAA Apr 27, 2020
270f9dc
Regression tests for global_cycle, emcsfc and grid programs.
GeorgeGayno-NOAA May 1, 2020
3ad7d83
Update repository to use CMake
GeorgeGayno-NOAA May 18, 2020
f71d94e
Update for path changes on Jet
GeorgeGayno-NOAA Jun 2, 2020
7448e0a
Add geo-referencing to 'orography', 'sfc_climo' and 'chgres_cube' files
GeorgeGayno-NOAA Jun 8, 2020
10426d4
Define NDATE in GDAS initialization scripts
GeorgeGayno-NOAA Jun 16, 2020
9a036a5
Add processing of climatological Thompson MP tracers to chgres_cube
GeorgeGayno-NOAA Jul 20, 2020
2d2c338
feature/cmakemod This commit references #122 (#124)
GeorgeGayno-NOAA Jul 27, 2020
7371eda
Add extended Schmidt gnomonic grid capability
GeorgeGayno-NOAA Aug 13, 2020
d2fab36
Port repository to Orion
GeorgeGayno-NOAA Aug 17, 2020
7770042
Add lake-maker to grid generation process
GeorgeGayno-NOAA Sep 3, 2020
8404a4d
Update to use project configs from NCEPLIBS
aerorahul Sep 14, 2020
d29cc35
Updates for the Gnu compiler
GeorgeGayno-NOAA Sep 15, 2020
0326557
Update NetCDF and HDF5 modules on Hera
kgerheiser Sep 18, 2020
e3f82aa
Convert all scripts to bash
GeorgeGayno-NOAA Sep 18, 2020
230b35c
Add Mark Iredell's vertical coordinate generator
GeorgeGayno-NOAA Sep 18, 2020
dbcad06
Update make_solo_mosaic to handle longer file names
gsketefian Sep 25, 2020
8bef319
Use FVCOM lake surface conditions
dmwright526 Sep 29, 2020
745fdbd
CHGRES_CUBE GRIB2 Bug Fix
GeorgeGayno-NOAA Oct 1, 2020
61c25ed
Update GDAS initialization utility for ATMOS subdirectory
GeorgeGayno-NOAA Oct 1, 2020
b69f9d1
Bug Fix for FVCOM Processing to Allow Adding NetCDF Variables on Hera
dmwright526 Oct 7, 2020
4571564
GFS v16 NCO standards updates
GeorgeGayno-NOAA Oct 14, 2020
f8dc806
Update chgres_cube to ingest HRRR, RAP, and NAM grib2 files
JeffBeck-NOAA Oct 15, 2020
bf70549
Remove landsfcutil library dependency from snow2mdl program
GeorgeGayno-NOAA Oct 20, 2020
bc40cdd
added README
edwardhartnett Oct 21, 2020
1be59bd
Add test for GNU compiler on Hera
GeorgeGayno-NOAA Oct 22, 2020
21543e0
Fix bug in chgres_cube that prevents Thompson aerosols from being cre…
LarissaReames Oct 22, 2020
0d2bc7b
Update the 'chgres_cube.rst' documentation file
GeorgeGayno-NOAA Oct 22, 2020
ddd0f50
adding docs
edwardhartnett Oct 26, 2020
2ea2085
added FindESMF.cmake
edwardhartnett Oct 26, 2020
de4fa49
updates
edwardhartnett Oct 27, 2020
a57345e
removed submodule
edwardhartnett Oct 27, 2020
c6151e7
updated README
edwardhartnett Oct 27, 2020
3b0d976
Add lake fraction/depth option for GFDL regional grids
ShanSunNOAA Oct 27, 2020
9b6c65e
removed empty .gitmodules file
edwardhartnett Oct 28, 2020
3f76c71
merged develop
edwardhartnett Oct 28, 2020
60f7d34
ejh_doc_2 Remove empty CMakeModules directory. Package
GeorgeGayno-NOAA Oct 28, 2020
8b25d26
Merge pull request #192 from NOAA-EMC/ejh_doc_2
edwardhartnett Oct 28, 2020
dccca20
more doxygen work
edwardhartnett Oct 28, 2020
08aaa80
Merge pull request #195 from NOAA-EMC/ejh_docs_4
edwardhartnett Oct 28, 2020
f7105ca
changed some code files to doxygen comments
edwardhartnett Oct 28, 2020
c04850e
doxygen work
edwardhartnett Oct 28, 2020
12df3f4
Merge pull request #198 from NOAA-EMC/ejh_docs_5
edwardhartnett Oct 29, 2020
486df9f
Add build of ufs_utils on Gaea
aerorahul Oct 30, 2020
bd16d3b
Correct some chgres_cube comment documentation
LarissaReames Oct 30, 2020
2d4fe87
Point to new NCEPLIBS location on Jet
GeorgeGayno-NOAA Oct 30, 2020
8ec20ea
More doxygen changes
edwardhartnett Nov 2, 2020
8a73766
Create workflow for UFS_UTILS
kgerheiser Nov 4, 2020
1c25c2a
More doxygen changes
edwardhartnett Nov 6, 2020
b8cf700
More doxygen changes
edwardhartnett Nov 10, 2020
5beea65
More doxygen updates
edwardhartnett Nov 17, 2020
bbb662f
Use hpc-stack on Hera
GeorgeGayno-NOAA Nov 17, 2020
91159ad
chgres_cube fix to correctly read vertical coordinate type from GRIB2…
LarissaReames Nov 18, 2020
74daf3f
Use hpc-stack on Orion, Jet and WCOSS-Dell
GeorgeGayno-NOAA Nov 23, 2020
0e716f0
Next round of doxygen changes, and fix some comment warnings
edwardhartnett Nov 30, 2020
005f9a0
Various chgres_cube bug fixes and code improvements
LarissaReames Dec 1, 2020
ed92c78
Doxygen updates to emcsfc_snow2mdl
edwardhartnett Dec 15, 2020
19942e0
Remove unused module files
GeorgeGayno-NOAA Dec 15, 2020
d20a1d5
Remove nemsio utilities
GeorgeGayno-NOAA Dec 21, 2020
d0490d2
Add doxygen comments to chgres_cube
GeorgeGayno-NOAA Dec 29, 2020
7760027
Add basic doxygen to remaining repository routines
GeorgeGayno-NOAA Jan 12, 2021
2300658
updated workflow
edwardhartnett Feb 9, 2021
699d5bb
now testing esmf cache
edwardhartnett Feb 9, 2021
da42732
trying to fix esmf caching
edwardhartnett Feb 9, 2021
ed23b8f
working on finding esmf
edwardhartnett Feb 9, 2021
4f24e73
working on finding esmf
edwardhartnett Feb 9, 2021
0cd1796
working on finding esmf
edwardhartnett Feb 9, 2021
3e8ae5d
testing esmf cache
edwardhartnett Feb 9, 2021
c3161bf
attempted removal of setting ESMF_DIR
edwardhartnett Feb 9, 2021
3c13ccc
attempted removal of setting ESMF_DIR
edwardhartnett Feb 9, 2021
b782528
Merge pull request #272 from edwardhartnett/ejh_cache_5
edwardhartnett Feb 9, 2021
9898789
starting to use cacheing on jasper build
edwardhartnett Feb 10, 2021
884a8fe
starting to use cacheing on jasper build
edwardhartnett Feb 10, 2021
61ba3f1
starting to use cacheing on jasper build
edwardhartnett Feb 10, 2021
83c990c
new line weirdness
edwardhartnett Feb 10, 2021
5452d70
new line weirdness
edwardhartnett Feb 10, 2021
43a7e9c
new line weirdness
edwardhartnett Feb 10, 2021
9ced94e
cacheing jasper build
edwardhartnett Feb 10, 2021
93552a9
cacheing jasper build
edwardhartnett Feb 10, 2021
5f1cd9c
cacheing jasper build still
edwardhartnett Feb 10, 2021
18fc874
cacheing jasper build still
edwardhartnett Feb 10, 2021
1273c74
switched to nceplibs 1.3.0
edwardhartnett Feb 10, 2021
0918624
adding new workflow
edwardhartnett Feb 10, 2021
edb5b50
more work on workflows
edwardhartnett Feb 10, 2021
42a527a
turning on cache for nceplibs-1.3.0 build
edwardhartnett Feb 10, 2021
42205b8
clean up and test caching
edwardhartnett Feb 10, 2021
c5fafb4
Merge pull request #274 from edwardhartnett/ejh_more_ci
edwardhartnett Feb 10, 2021
ea2bce4
Fix problem with orog program when using MacOS
kgerheiser Feb 11, 2021
540cdf1
Start to list and describe all utilities in user_guide.md
edwardhartnett Feb 11, 2021
f955ba1
Create macOS Action
kgerheiser Feb 11, 2021
edc1af7
Feature/unit tests for chgres_cube.fd/utils.f90 (#276)
lgannoaa Feb 12, 2021
ae8c9c5
added documentation build to workflows, turned on doxygen warnings fo…
edwardhartnett Feb 18, 2021
f4750a5
updated doxygen docs for chgres_cube.fd/input_data.F90 (#285)
edwardhartnett Feb 18, 2021
a5ab334
doxygen for model_grid.F90 (#289)
edwardhartnett Feb 18, 2021
44ec284
Start of testing for program_setup.F90 (#304)
edwardhartnett Feb 19, 2021
445b0b8
updated readme (#323)
edwardhartnett Feb 19, 2021
2685164
consolidated gitignore files (#322)
edwardhartnett Feb 19, 2021
ce385b2
doxygen for program_setup.f90 (#290)
edwardhartnett Feb 19, 2021
6579ed6
trying to build test for fre-nctools.fd/shared_lib/create_xgrid.c (#301)
edwardhartnett Feb 19, 2021
111566e
improved docs in write_data (#306)
edwardhartnett Feb 19, 2021
fd90546
doxygen improvements for chgres_cube.fd/atmosphere.F90 and grib2_util…
edwardhartnett Feb 19, 2021
d9ae8bd
doxygen updates for chgres_cube.fd/search_util.f90 and sfc_climo_gen.…
lgannoaa Feb 19, 2021
317636c
fixing more doxygen for sorc/chgres_cube.fd/static_data.F90 (#315)
edwardhartnett Feb 20, 2021
23e4e3a
doxygen fixes for sorc/chgres_cube.fd/chgres.F90 (#319)
edwardhartnett Feb 22, 2021
6e8ae7c
updating README (#333)
edwardhartnett Feb 22, 2021
7cb4339
More chgres_cube doxygen (#329)
edwardhartnett Feb 23, 2021
f703603
fix doxygen for sorc/emcsfc_snow2mdl.fd/grib_utils.f (#346)
edwardhartnett Feb 23, 2021
9d9dd23
delete global_chgres (#299)
edwardhartnett Feb 23, 2021
5b27654
now pass filename to read_setup_namelist() (#347)
edwardhartnett Feb 24, 2021
049103b
bugfix/docfix - update conf.py for latest version of (#250)
GeorgeGayno-NOAA Feb 24, 2021
7795326
Rename all chgres_cube routines with F90 extension. (#354)
GeorgeGayno-NOAA Feb 24, 2021
cf1784c
doxygen for fvcom_tools.fd (#339)
edwardhartnett Feb 25, 2021
c1a1d29
for chgres_cube - soil parameter references in program_setup.f90, tur…
edwardhartnett Feb 25, 2021
bb2724b
Doxygen updates to chgres_cube.fd/surface.F90 (#359)
GeorgeGayno-NOAA Feb 25, 2021
c5f4e99
Fix segmentation fault in topo filtering code when processing ESG gri…
GeorgeGayno-NOAA Feb 25, 2021
a65ac1b
doxygen updates for emcsfc_ice_blend.fd/emcsfc_ice_blend.f90 (#364)
lgannoaa Feb 25, 2021
7978c35
improving module documentation in chgres_cube (#363)
edwardhartnett Feb 25, 2021
693dd0e
More testing of chgres_cube.fd/program_setup.F90, with different conf…
edwardhartnett Feb 26, 2021
7f5bc43
Remove duplicate 'to_upper'. One version was a function (#367)
GeorgeGayno-NOAA Feb 27, 2021
5bb62fb
PR to add and correct doxygen docblocks to emcsfc_snow2mdl.fd/*.f …
GeorgeVandenberghe-NOAA Mar 1, 2021
18f65d7
Doxygen improvements for sorc/grid_tools.fd/shave.fd/shave_nc.F90 (#369)
lgannoaa Mar 2, 2021
75349ea
Doxygen improvements for sorc/grid_tools.fd/regional_esg_grid.fd/psym…
lgannoaa Mar 2, 2021
414dc5a
Rest of doxygen conversion for sorc/fvcom_tools.fd files (#362)
edwardhartnett Mar 3, 2021
7d5aed9
Report test coverage using gcovr (#380)
kgerheiser Mar 3, 2021
6d08f8c
removed nst_tf_chg utility from UFS_UTILS (#385)
edwardhartnett Mar 4, 2021
cf23dca
doxygen improvements for sorc/grid_tools.fd/regional_esg_grid.fd/pesg…
lgannoaa Mar 4, 2021
8754552
Create Doxygen documentation for orog_mask_tools.fd/lake.fd/enclosure…
kgerheiser Mar 4, 2021
28a5a9a
updated readme with authors of each utility (#384)
edwardhartnett Mar 4, 2021
4fd7fef
Doxygen improvements for sorc/grid_tools.fd/regional_esg_grid.fd/pmat…
lgannoaa Mar 5, 2021
223c8ed
Doxygen improvements for sorc/grid_tools.fd/regional_esg_grid.fd/pmat…
lgannoaa Mar 5, 2021
0a8a9e4
Doxygen improvements for sorc/grid_tools.fd/regional_esg_grid.fd/pmat…
lgannoaa Mar 5, 2021
41dcdc8
Doxygen improvements for sorc/orog_mask_tools/inland (#386)
kgerheiser Mar 5, 2021
5504b09
fixed doxygen warnings (#390)
edwardhartnett Mar 5, 2021
ce8119b
more doxygen fixes (#391)
edwardhartnett Mar 5, 2021
2190017
fix rest of doxygen warnings for emcsfc_snow2mdl.fd (#393)
edwardhartnett Mar 9, 2021
805ef94
highlighted doxygen questions for R. J. Purser in sorc/grid_tools.fd/…
edwardhartnett Mar 9, 2021
18f1a00
more doxygen for sorc/grid_tools.fd/regional_esg_grid.fd files pietc.…
edwardhartnett Mar 9, 2021
6b2be78
separate chgres_cube doxygen build from rest of UFS_UTILS, fix remain…
edwardhartnett Mar 9, 2021
7978850
doxygen updates for sorc/global_cycle.fd (#365)
edwardhartnett Mar 9, 2021
66b6982
splitting doxygen builds so each utility gets its own documentation b…
edwardhartnett Mar 9, 2021
00e75ac
Rename emcsfc_snow2mdl.fd programs with .F90 extention. (#399)
GeorgeGayno-NOAA Mar 10, 2021
77abe31
cleared doxygen warnings from vcoord_gen utility (#404)
edwardhartnett Mar 10, 2021
37db11c
clearing doxygen warnings for sfc_climo_gen (#402)
edwardhartnett Mar 10, 2021
ab24a35
doxygen fixes for sorc/grid_tools.fd (#400)
edwardhartnett Mar 10, 2021
fcc27d0
Fix doxygen warnings in ./inland.fd/inland.F90 (#407)
GeorgeGayno-NOAA Mar 11, 2021
6730805
doxygen updates in sorc/grid_tools.fd - applied comments from R. Purs…
edwardhartnett Mar 11, 2021
6c578be
Doxygen updates to global_cycle (#411)
GeorgeGayno-NOAA Mar 11, 2021
aa2e0d5
improved chgres_cube doxygen docs with info from chgres_cube.rst, add…
edwardhartnett Mar 11, 2021
0efbd2c
Eliminate doxygen warnings from sfcsub.F of global_cycle (#414)
GeorgeGayno-NOAA Mar 15, 2021
be60a85
turn on WARN_AS_ERROR for global_cycle (#416)
edwardhartnett Mar 17, 2021
12cf1f5
Bugfix/mpi ci (#427)
kgerheiser Mar 23, 2021
b75447f
Use --html-details option in gcovr and upload all html files as artif…
kgerheiser Mar 23, 2021
3c4fa73
Update doxygen for orog_mask_tools.fd. (#421)
GeorgeGayno-NOAA Mar 24, 2021
d7e1406
Updating Doxyfile.in files due to doxygen warnings (#418)
edwardhartnett Mar 25, 2021
6aeb9be
more comments from Jim Purser (#423)
edwardhartnett Mar 26, 2021
7466d6a
Cleanup the landing page of each utility's documentation (#429)
edwardhartnett Mar 29, 2021
e28b309
added slideshow and reference in README (#432)
edwardhartnett Apr 5, 2021
15bab55
GSL orographic drag parameter computation (#273)
Apr 9, 2021
2462b9b
More doxygen updates by Jim Purser for grid_tools.fd (#435)
edwardhartnett Apr 13, 2021
15ccb67
Automatic regression tests (#426)
kgerheiser Apr 13, 2021
0be5e8b
Removed unused submission scripts. (#437)
GeorgeGayno-NOAA Apr 16, 2021
6260a6b
converted ftst_program_setup to MPI test (#405)
edwardhartnett Apr 16, 2021
720204b
More doxygen updates for grid_tools.fd/regional_esg_grid.fd from Jim …
edwardhartnett Apr 16, 2021
4f44bf8
Change "regression test" in our cron script to the more honest "consi…
edwardhartnett Apr 20, 2021
8655909
Minor documentation update in sorc/grid_tools.fd/regional_esg_grid.fd…
edwardhartnett Apr 20, 2021
2a73d8c
Use correct error messaging in global_cycle.fd (#438)
GeorgeGayno-NOAA Apr 21, 2021
123759a
Unit test and bug fix for chgres_cube.fd/search_util.F90 (#436)
GeorgeGayno-NOAA Apr 21, 2021
ea82135
Make intermediate libraries for executables to facilitate easier test…
kgerheiser Apr 22, 2021
3c1ec74
Eliminate compiler warning in chgres_cube (#456)
GeorgeGayno-NOAA Apr 23, 2021
7a10e6e
Define constants in chgres_cube.fd/search_util.f90 (#448)
GeorgeGayno-NOAA Apr 26, 2021
a138e6e
fix namelist in ftst_program_setup.F90 and beef up testing of namelis…
edwardhartnett Apr 27, 2021
a099d9f
More documentation for soil paramters (#464)
edwardhartnett Apr 27, 2021
e6538e9
Now show errors in build script (#465)
edwardhartnett Apr 27, 2021
20c12b8
Turn on fortran flag -fallow-argument-mismatch in chgres_cube for gfo…
edwardhartnett Apr 28, 2021
f6eda81
Add version checking for each library (#466)
kgerheiser Apr 28, 2021
03e862f
Feature/gefs soilt fix (#468)
LarissaReames Apr 28, 2021
f25ba12
Re-add NETCDF env variable so CMake can find NetCDF on WCOSS Cray
kgerheiser Apr 28, 2021
7cc01c8
Merge pull request #474 from kgerheiser/bugfix/wcoss_cray_netcdf
kgerheiser Apr 28, 2021
69c389d
Update to v1.1.0 of the hpc-stack (#476)
GeorgeGayno-NOAA Apr 29, 2021
aa7d6a8
Fix install of lakefrac and inland
kgerheiser Apr 29, 2021
f99ce3b
Merge pull request #480 from kgerheiser/bugfix/util-install
kgerheiser Apr 29, 2021
bdecc4b
Updated version file to 1.3.0 (#473)
edwardhartnett Apr 29, 2021
26f1c3d
Include utility name in the name of the test in the cmake output (#478)
edwardhartnett Apr 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
155 changes: 155 additions & 0 deletions .github/workflows/esmf-8.0.1_jasper-2.0.22_nceplibs-1.3.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
name: esmf-8.0.1_jasper-2.0.22_nceplibs-1.3.0
on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
env:
CC: gcc-9
FC: gfortran-9
CXX: g++-9
strategy:
matrix:
os: [macos-10.15, ubuntu-20.04]
compiler: [gcc-9]

steps:

- name: cache-mpich
id: cache-mpich
uses: actions/cache@v2
with:
path: ~/mpich
key: mpich-${{ runner.os }}-3.3.2-1

- name: build-mpich
if: steps.cache-mpich.outputs.cache-hit != 'true'
run: |
if [[ ${{ matrix.os }} == "macos-10.15" ]]; then
wget http://www.mpich.org/static/downloads/3.3.2/mpich-3.3.2.tar.gz &> /dev/null
tar -xzf mpich-3.3.2.tar.gz
pushd mpich-3.3.2
./configure --prefix=$HOME/mpich
make
sudo make install
popd
fi

- name: install-dependencies
run: |
echo "$HOME/mpich/bin" >> $GITHUB_PATH
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
sudo apt-get update
sudo apt-get install libmpich-dev
sudo apt-get install doxygen
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
elif [[ ${{ matrix.os }} == "macos-10.15" ]]; then
brew update
brew install doxygen
brew install mpich
brew install netcdf
brew install wget
if [[ ${{ matrix.compiler }} == "gcc-9" ]]; then
sudo ln -sf /usr/local/bin/gfortran-9 /usr/local/bin/gfortran
elif [[ ${{ matrix.compiler }} == "gcc-10" ]]; then
sudo ln -sf /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
fi
fi

- name: cache-esmf
id: cache-esmf
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf-${{ runner.os }}-8.0.1-2

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
set -x
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null && ls -l
tar zxf ESMF_8_0_1.tar.gz && ls -l
cd esmf-ESMF_8_0_1
export ESMF_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
export ESMF_INSTALL_MODDIR=mod
export ESMF_COMPILER=gfortran
export ESMF_INSTALL_PREFIX=~/esmf
export ESMF_NETCDF=split
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
export ESMF_NETCDF_INCLUDE=/usr/include
export ESMF_NETCDF_LIBPATH=/usr/x86_64-linux-gnu
elif [[ ${{ matrix.os }} == "macos-10.15" ]]; then
export ESMF_NETCDF_INCLUDE=/usr/local/include
export ESMF_NETCDF_LIBPATH=/usr/local/lib
fi
make -j2
make install

- name: cache-jasper
id: cache-jasper
uses: actions/cache@v2
with:
path: ~/jasper
key: jasper-${{ runner.os }}-2.0.22

- name: build-jasper
if: steps.cache-jasper.outputs.cache-hit != 'true'
run: |
set -x
pwd
wget https://github.com/jasper-software/jasper/archive/version-2.0.22.tar.gz &> /dev/null && ls -l
tar zxf version-2.0.22.tar.gz && ls -l
cd jasper-version-2.0.22
mkdir build-jasper && cd build-jasper
cmake .. -DCMAKE_INSTALL_PREFIX=~/jasper
make -j2
make install

- name: checkout-nceplibs
uses: actions/checkout@v2
with:
repository: NOAA-EMC/NCEPLIBS
path: nceplibs

- name: cache-nceplibs
id: cache-nceplibs
uses: actions/cache@v2
with:
path: ~/nceplibs
key: nceplibs-${{ runner.os }}-1.3.0

- name: build-nceplibs
if: steps.cache-nceplibs.outputs.cache-hit != 'true'
run: |
set -x
export ESMFMKFILE=~/esmf/lib/esmf.mk
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.3.0.tar.gz &> /dev/null
tar zxf v1.3.0.tar.gz && ls -l
cd NCEPLIBS-1.3.0
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper' -DCMAKE_INSTALL_PREFIX='~/nceplibs' -DFLAT=ON
make -j2

- name: checkout-ufs-utils
uses: actions/checkout@v2
with:
path: ufs_utils

- name: build-ufs-utils
run: |
set -x
mpicc --version
mpifort --version
pwd
export ESMFMKFILE=~/esmf/lib/esmf.mk
cd ufs_utils
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper;~/nceplibs' -DENABLE_DOCS=On
make -j2
make test
163 changes: 163 additions & 0 deletions .github/workflows/esmf-8.0.1_jasper-2.0.22_nceplibs-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
name: esmf-8.0.1_jasper-2.0.22_nceplibs-develop
on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
env:
CC: gcc-9
FC: gfortran-9
CXX: g++-9
strategy:
matrix:
os: [macos-10.15, ubuntu-20.04]
compiler: [gcc-9]

steps:
- name: cache-mpich
id: cache-mpich
uses: actions/cache@v2
with:
path: ~/mpich
key: mpich-${{ runner.os }}-3.3.2-1

- name: build-mpich
if: steps.cache-mpich.outputs.cache-hit != 'true'
run: |
if [[ ${{ matrix.os }} == "macos-10.15" ]]; then
wget http://www.mpich.org/static/downloads/3.3.2/mpich-3.3.2.tar.gz &> /dev/null
tar -xzf mpich-3.3.2.tar.gz
pushd mpich-3.3.2
./configure --prefix=$HOME/mpich
make
sudo make install
popd
fi

- name: install-dependencies
run: |
echo "/home/runner/mpich/bin" >> $GITHUB_PATH
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
sudo apt-get update
sudo apt-get install libmpich-dev
sudo apt-get install doxygen
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
elif [[ ${{ matrix.os }} == "macos-10.15" ]]; then
echo "$HOME/mpich/bin" >> $GITHUB_PATH
brew update
brew install doxygen
brew install mpich
brew install netcdf
brew install wget
if [[ ${{ matrix.compiler }} == "gcc-9" ]]; then
sudo ln -sf /usr/local/bin/gfortran-9 /usr/local/bin/gfortran
elif [[ ${{ matrix.compiler }} == "gcc-10" ]]; then
sudo ln -sf /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
fi
fi
python3 -m pip install gcovr

- name: cache-esmf
id: cache-esmf
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf-${{ runner.os }}-8.0.1-2

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
set -x
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null && ls -l
tar zxf ESMF_8_0_1.tar.gz && ls -l
cd esmf-ESMF_8_0_1
export ESMF_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
export ESMF_INSTALL_MODDIR=mod
export ESMF_COMPILER=gfortran
export ESMF_INSTALL_PREFIX=~/esmf
export ESMF_NETCDF=split
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
export ESMF_NETCDF_INCLUDE=/usr/include
export ESMF_NETCDF_LIBPATH=/usr/x86_64-linux-gnu
elif [[ ${{ matrix.os }} == "macos-10.15" ]]; then
export ESMF_NETCDF_INCLUDE=/usr/local/include
export ESMF_NETCDF_LIBPATH=/usr/local/lib
fi
make -j2
make install

- name: cache-jasper
id: cache-jasper
uses: actions/cache@v2
with:
path: ~/jasper
key: jasper-${{ runner.os }}-2.0.22

- name: build-jasper
if: steps.cache-jasper.outputs.cache-hit != 'true'
run: |
set -x
pwd
wget https://github.com/jasper-software/jasper/archive/version-2.0.22.tar.gz &> /dev/null && ls -l
tar zxf version-2.0.22.tar.gz && ls -l
cd jasper-version-2.0.22
mkdir build-jasper && cd build-jasper
cmake .. -DCMAKE_INSTALL_PREFIX=~/jasper
make -j2
make install

- name: checkout-nceplibs
uses: actions/checkout@v2
with:
repository: NOAA-EMC/NCEPLIBS
path: nceplibs

- name: get-git-hash
run: |
cd nceplibs
git rev-parse HEAD > hash.txt

- name: cache-nceplibs-develop
id: cache-nceplibs-develop
uses: actions/cache@v2
with:
path: ~/nceplibs
key: nceplibs-develop-${{ runner.os }}-${{ hashFiles('nceplibs/hash.txt') }}

- name: build-nceplibs
if: steps.cache-nceplibs-develop.outputs.cache-hit != 'true'
run: |
set -x
export ESMFMKFILE=~/esmf/lib/esmf.mk
cd nceplibs
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper' -DCMAKE_INSTALL_PREFIX='~/nceplibs' -DFLAT=ON
make -j2

- name: checkout-ufs-utils
uses: actions/checkout@v2
with:
path: ufs_utils

- name: build-ufs-utils
run: |
export ESMFMKFILE=~/esmf/lib/esmf.mk
cd ufs_utils
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~/jasper;~/nceplibs' -DENABLE_DOCS=On -DCMAKE_Fortran_FLAGS="-g -fprofile-arcs -ftest-coverage -O0"
make -j2
make test
export PATH="/home/runner/.local/bin:$PATH"
gcovr -r .. --html-details -o test-coverage.html

- uses: actions/upload-artifact@v2
if: ${{ matrix.os == 'ubuntu-20.04' }}
with:
name: test-coverage
path: ufs_utils/build/*.html
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
build/
install/
exec/

*.[ao]
*.mod
*.so
*.exe
*.x

*.swp
*.o
emcsfc_ice_blend
ml01rg2.x

Loading