-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #386 from jedwards4b/add_check_for_nans_config_option
Add check for nans config option
- Loading branch information
Showing
11 changed files
with
86 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,13 @@ jobs: | |
FC: mpifort | ||
CXX: mpicxx | ||
CPPFLAGS: "-I/usr/include -I/usr/local/include" | ||
|
||
# Versions of all dependencies can be updated here | ||
ESMF_VERSION: v8.4.0 | ||
ESMF_VERSION: v8.4.2 | ||
PNETCDF_VERSION: checkpoint.1.12.3 | ||
NETCDF_FORTRAN_VERSION: v4.6.0 | ||
PIO_VERSION: pio2_5_10 | ||
PIO_VERSION: pio2_6_0 | ||
CDEPS_VERSION: cdeps1.0.15 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# Build the ESMF library, if the cache contains a previous build | ||
|
@@ -50,14 +52,14 @@ jobs: | |
key: ${{ runner.os }}-${{ env.PIO_VERSION }}.pio | ||
- name: Build ParallelIO | ||
if: steps.cache-ParallelIO.outputs.cache-hit != 'true' | ||
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@9390e30e29d4ebbfbef0fc72162cacd9e8f25e4e | ||
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@pio2_6_0 | ||
with: | ||
parallelio_version: ${{ env.ParallelIO_VERSION }} | ||
enable_fortran: True | ||
install_prefix: $HOME/pio | ||
- name: Build ESMF | ||
if: steps.cache-esmf.outputs.cache-hit != 'true' | ||
uses: ESCOMP/CDEPS/.github/actions/buildesmf@e06246b560d3132170bb1a5443fa3d65dfbd2040 | ||
uses: ESCOMP/CDEPS/.github/actions/buildesmf@cdeps1.0.15 | ||
with: | ||
esmf_version: ${{ env.ESMF_VERSION }} | ||
esmf_bopt: g | ||
|
@@ -67,12 +69,39 @@ jobs: | |
netcdf_fortran_path: /usr | ||
pnetcdf_path: /usr | ||
parallelio_path: $HOME/pio | ||
- name: Cache CDEPS | ||
id: cache-cdeps | ||
uses: actions/cache@v3 | ||
with: | ||
path: $HOME/cdeps | ||
key: ${{ runner.os }}-${{ env.CDEPS_VERSION }}.cdeps | ||
|
||
- name: checkout CDEPS | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ESCOMP/CDEPS | ||
path: cdeps-src | ||
ref: ${{ env.CDEPS_VERSION }} | ||
- name: Build CDEPS | ||
if: steps.cache-cdeps.outputs.cache-hit != 'true' | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected] | ||
with: | ||
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
pio_path: $HOME/pio | ||
src_root: ${GITHUB_WORKSPACE}/cdeps-src | ||
cmake_flags: " -Wno-dev -DCMAKE_BUILD_TYPE=DEBUG -DWERROR=ON -DCMAKE_Fortran_FLAGS=\"-DCPRGNU -g -Wall \ | ||
-ffree-form -ffree-line-length-none -fallow-argument-mismatch \"" | ||
|
||
- name: Build CMEPS | ||
run: | | ||
export ESMFMKFILE=$HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
export PIO=$HOME/pio | ||
mkdir build-cmeps | ||
pushd build-cmeps | ||
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument" ../ | ||
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_FLAGS="-g -Wall -Werror -ffree-form -ffree-line-length-none -Wno-unused-dummy-argument -I /home/runner/work/CMEPS/CMEPS/build-cdeps/share" ../ | ||
make VERBOSE=1 | ||
popd | ||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters