forked from E3SM-Project/E3SM
-
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 branch 'jgfouca/eamxx_downstream_merge_2024_06_26' into master …
…(PR E3SM-Project#6489) Downstream merge of eamxx/scream. [BFB]
- Loading branch information
Showing
311 changed files
with
18,663 additions
and
15,649 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
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 |
---|---|---|
|
@@ -53,14 +53,14 @@ jobs: | |
run: | | ||
echo "= The job was automatically triggered by a ${{github.event_name}} event." | ||
- name: Set up Python 3.10 | ||
- name: Set up Python 3.11 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.11" | ||
|
||
- name: Install Python deps | ||
run: | | ||
pip install mkdocs pymdown-extensions mkdocs-material mdutils | ||
pip install mkdocs pymdown-extensions mkdocs-material mdutils mkdocs-bibtex | ||
- name: Generate EAMxx params docs | ||
working-directory: components/eamxx/scripts | ||
|
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
Submodule external
updated
55 files
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
23 changes: 23 additions & 0 deletions
23
components/eamxx/cime_config/testdefs/testmods_dirs/scream/mam4xx/aci/shell_commands
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
#Default scream has 10 tracers, MAM4xx adds another 31 making a total of 41 tracer | ||
#Set total number of tracers to 41. We are using append here as last entry wins while parsing xml options | ||
./xmlchange --append SCREAM_CMAKE_OPTIONS="SCREAM_NUM_TRACERS 41" | ||
|
||
#modify initial condition file to get aerosol species ICs | ||
$CIMEROOT/../components/eamxx/scripts/atmchange initial_conditions::Filename='$DIN_LOC_ROOT/atm/scream/init/screami_mam4xx_ne4np4L72_c20240208.nc' -b | ||
|
||
# Add spa as RRTMG needs spa | ||
$CIMEROOT/../components/eamxx/scripts/atmchange physics::atm_procs_list="mac_aero_mic,spa,rrtmgp" -b | ||
|
||
# Replace spa with mam4_aci to invoke mam4 aci scheme | ||
$CIMEROOT/../components/eamxx/scripts/atmchange mac_aero_mic::atm_procs_list="tms,shoc,cldFraction,mam4_aci,p3" -b | ||
|
||
#Set precribed ccn to false so that P3 uses input from ACI | ||
$CIMEROOT/../components/eamxx/scripts/atmchange p3::do_prescribed_ccn=false -b | ||
|
||
#Set predicted ccn to true so that P3 uses input from ACI | ||
$CIMEROOT/../components/eamxx/scripts/atmchange p3::do_predict_nc=true -b | ||
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# - FindMPI4PY | ||
# Find mpi4py includes | ||
# This module defines: | ||
# MPI4PY_INCLUDE_DIR, where to find mpi4py.h, etc. | ||
# MPI4PY_FOUND | ||
|
||
function (SetMpi4pyIncludeDir) | ||
endfunction() | ||
|
||
if (NOT TARGET mpi4py) | ||
# If user provided an include dir, we will use that, otherwise we'll ask python to find it | ||
if (NOT MPI4PY_INCLUDE_DIR) | ||
execute_process(COMMAND | ||
"${PYTHON_EXECUTABLE}" "-c" "import mpi4py; print (mpi4py.get_include())" | ||
OUTPUT_VARIABLE OUTPUT | ||
RESULT_VARIABLE RESULT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
if (RESULT) | ||
set(MPI4PY_FOUND FALSE) | ||
else () | ||
set (MPI4PY_INCLUDE_DIR ${OUTPUT} CACHE PATH "Path to mpi4py include directory" FORCE) | ||
endif() | ||
endif() | ||
|
||
# If we still don't have an include dir, it means we have no mpi4py installed | ||
if (NOT MPI4PY_INCLUDE_DIR) | ||
set(MPI4PY_FOUND FALSE) | ||
else () | ||
add_library(mpi4py INTERFACE) | ||
target_include_directories(mpi4py INTERFACE SYSTEM ${MPI4PY_INCLUDE_DIR}) | ||
set(MPI4PY_FOUND TRUE) | ||
endif() | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(mpi4py DEFAULT_MSG MPI4PY_INCLUDE_DIR) |
Oops, something went wrong.