forked from ESCOMP/CMEPS
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync w/ ESCOMP, adding CDEPS inline capability to CMEPS
- Loading branch information
1 parent
8cd4a32
commit 624920d
Showing
23 changed files
with
1,133 additions
and
326 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 }} | ||
|
@@ -79,7 +79,21 @@ jobs: | |
- name: checkout externals | ||
run: | | ||
pushd cesm | ||
./manage_externals/checkout_externals ccs_config cdeps cime share mct cpl7 parallelio | ||
./manage_externals/checkout_externals ccs_config cdeps share mct cpl7 parallelio | ||
cd ccs_config | ||
git checkout main | ||
cd ../ | ||
git clone https://github.com/ESMCI/cime | ||
cd cime | ||
if [[ ! -e "${PWD}/.gitmodules.bak" ]] | ||
then | ||
echo "Converting [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 | ||
cd ../components/cdeps | ||
git checkout main | ||
- name: Cache ESMF | ||
id: cache-esmf | ||
|
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
Oops, something went wrong.