forked from ESCOMP/CMEPS
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from jedwards4b/gustMods
Gust mods suggested changes for cam_dev
- Loading branch information
Showing
4 changed files
with
28 additions
and
13 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 |
---|---|---|
|
@@ -20,11 +20,11 @@ jobs: | |
CPPFLAGS: "-I/usr/include -I/usr/local/include" | ||
|
||
# Versions of all dependencies can be updated here | ||
ESMF_VERSION: v8.4.2 | ||
ESMF_VERSION: v8.6.0 | ||
PNETCDF_VERSION: checkpoint.1.12.3 | ||
NETCDF_FORTRAN_VERSION: v4.6.0 | ||
PIO_VERSION: pio2_6_0 | ||
CDEPS_VERSION: cdeps1.0.15 | ||
NETCDF_FORTRAN_VERSION: v4.6.1 | ||
PIO_VERSION: pio2_6_2 | ||
CDEPS_VERSION: cdeps1.0.26 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# Build the ESMF library, if the cache contains a previous build | ||
|
@@ -84,7 +84,7 @@ jobs: | |
ref: ${{ env.CDEPS_VERSION }} | ||
- name: Build CDEPS | ||
if: steps.cache-cdeps.outputs.cache-hit != 'true' | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected].15 | ||
uses: ESCOMP/CDEPS/.github/actions/[email protected].26 | ||
with: | ||
esmfmkfile: $HOME/ESMF/lib/libg/Linux.gfortran.64.openmpi.default/esmf.mk | ||
pio_path: $HOME/pio | ||
|
@@ -102,6 +102,6 @@ jobs: | |
make VERBOSE=1 | ||
popd | ||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
# - 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ jobs: | |
CPPFLAGS: "-I/usr/include -I/usr/local/include " | ||
LDFLAGS: "-L/usr/lib/x86_64-linux-gnu -lnetcdf -lnetcdff -lpnetcdf" | ||
# Versions of all dependencies can be updated here | ||
ESMF_VERSION: v8.5.0 | ||
PARALLELIO_VERSION: pio2_6_0 | ||
ESMF_VERSION: v8.6.0 | ||
PARALLELIO_VERSION: pio2_6_2 | ||
CIME_MODEL: cesm | ||
CIME_DRIVER: nuopc | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -80,7 +80,17 @@ jobs: | |
run: | | ||
pushd cesm | ||
./manage_externals/checkout_externals ccs_config cdeps cime share mct cpl7 parallelio | ||
cd ccs_config | ||
git checkout main | ||
cd ../cime | ||
git checkout master | ||
if [[ ! -e "${PWD}/.gitmodules.bak" ]] | ||
then | ||
echo "Convering [email protected] to https://github.com urls in ${PWD}/.gitmodules" | ||
sed -i".bak" "s/[email protected]:/https:\/\/github.com\//g" "${PWD}/.gitmodules" | ||
fi | ||
git submodule update --init | ||
- name: Cache ESMF | ||
id: cache-esmf | ||
uses: actions/cache@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