diff --git a/.github/workflows/srt.yml b/.github/workflows/srt.yml index d2eecb0..1fc1aaa 100644 --- a/.github/workflows/srt.yml +++ b/.github/workflows/srt.yml @@ -77,7 +77,10 @@ jobs: run: | pushd cesm ./manage_externals/checkout_externals ccs_config cime share mct parallelio - + pushd cime + git checkout master + popd + - name: Cache inputdata id: cache-inputdata uses: actions/cache@v3 @@ -90,6 +93,7 @@ jobs: mkdir -p $HOME/cesm/scratch mkdir -p $HOME/cesm/inputdata pushd $GITHUB_WORKSPACE/cesm/cime/CIME/tests + export SRCROOT=$GITHUB_WORKSPACE/cesm/ export CIME_TEST_PLATFORM=ubuntu-latest export PNETCDF_PATH=/usr pushd /usr/lib @@ -108,6 +112,6 @@ jobs: popd # the following can be used by developers to login to the github server in case of errors # see https://github.com/marketplace/actions/debugging-with-tmate for further details - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 +# - name: Setup tmate session +# if: ${{ failure() }} +# uses: mxschmitt/action-tmate@v3 diff --git a/driver/cime_config/config_component.xml b/driver/cime_config/config_component.xml index 7c60629..27f8229 100644 --- a/driver/cime_config/config_component.xml +++ b/driver/cime_config/config_component.xml @@ -717,6 +717,34 @@ If TRUE, the component libraries are always built with OpenMP capability. + + char + + + build_def + env_build.xml + If set will compile and submit with this gpu type enabled + + + + char + + + build_def + env_build.xml + If set will compile and submit with this gpu offload method enabled + + + + char + + + build_def + env_build.xml + If set will attach this script to the MPI run command, mapping + different MPI ranks to different GPUs within the same compute node + + logical TRUE,FALSE @@ -2380,12 +2408,22 @@ pes or cores per node for mpitasks + + integer + 0 + + 1 + + mach_pes_last + env_mach_pes.xml + Number of CPU cores per GPU node used for simulation + + integer 0 - 1 - 1 + 1 mach_pes env_mach_pes.xml