Skip to content

Commit

Permalink
Merge Pull Request E3SM-Project#2643 from E3SM-Project/scream/elynn/e…
Browse files Browse the repository at this point in the history
…nable-ruby-ML-run

Automatically Merged using E3SM Pull Request AutoTester
PR Title: Update `ruby` machine files to work with ML corrected run
PR Author: elynnwu
PR LABELS: Machine File, AT: AUTOMERGE
  • Loading branch information
E3SM-Bot authored Dec 20, 2023
2 parents 35d8f38 + 80eca35 commit 4989dad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
11 changes: 7 additions & 4 deletions cime_config/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2832,16 +2832,19 @@
<command name="load">intel-classic/2021.6.0-magic</command>
<command name="load">mvapich2/2.3.7</command>
<command name="load">cmake/3.19.2</command>
<command name="load">netcdf-fortran-parallel/4.6.0</command>
<command name="load">netcdf-c-parallel/4.9.0</command>
<command name="use --append">/usr/gdata/climdat/install/quartz/modulefiles</command>
<command name="load">hdf5/1.12.2</command>
<command name="load">netcdf-c/4.9.0</command>
<command name="load">netcdf-fortran/4.6.0</command>
<command name="load">parallel-netcdf/1.12.3</command>
<command name="load">screamML-venv/0.0.1</command>
</modules>
</module_system>
<RUNDIR>$CIME_OUTPUT_ROOT/$CASE/run</RUNDIR>
<EXEROOT>$CIME_OUTPUT_ROOT/$CASE/bld</EXEROOT>
<environment_variables compiler="intel">
<env name="NETCDF_PATH">/usr/tce/packages/netcdf-fortran/netcdf-fortran-4.6.0-mvapich2-2.3.7-intel-classic-2021.6.0/</env>
<env name="PNETCDF_PATH">/usr/tce/packages/parallel-netcdf/parallel-netcdf-1.12.3-mvapich2-2.3.7-intel-classic-2021.6.0/</env>
<env name="NETCDF_PATH">/usr/gdata/climdat/install/quartz/netcdf-fortran/</env>
<env name="PNETCDF_PATH">/usr/tce/packages/parallel-netcdf/parallel-netcdf-1.12.3-mvapich2-2.3.7-intel-classic-2021.6.0</env>
</environment_variables>
</machine>

Expand Down
5 changes: 5 additions & 0 deletions components/eamxx/cmake/machine-files/ruby-intel.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
include(${CMAKE_CURRENT_LIST_DIR}/ruby.cmake)
set(CMAKE_EXE_LINKER_FLAGS "-L/usr/tce/packages/mkl/mkl-2022.1.0/lib/intel64/ -qmkl" CACHE STRING "" FORCE)
set(PYTHON_EXECUTABLE "/usr/tce/packages/python/python-3.9.12/bin/python3" CACHE STRING "" FORCE)
set(PYTHON_LIBRARIES "/usr/lib64/libpython3.9.so.1.0" CACHE STRING "" FORCE)
option (SCREAM_ENABLE_ML_CORRECTION "Whether to enable ML correction parametrization" ON)
set(HDF5_DISABLE_VERSION_CHECK 1 CACHE STRING "" FORCE)
execute_process(COMMAND source /usr/WS1/climdat/python_venv/3.9.2/screamML/bin/activate)
2 changes: 1 addition & 1 deletion components/eamxx/scripts/machines_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
["mpicxx","mpifort","mpicc"],
"bsub -Ip -qpdebug",
""),
"ruby-intel" : (["module --force purge", "module load StdEnv cmake/3.19.2 mkl/2022.1.0 intel-classic/2021.6.0-magic netcdf-c-parallel/4.9.0 netcdf-fortran-parallel/4.6.0 mvapich2/2.3.7 parallel-netcdf/1.12.3 python/3.9.12"],
"ruby-intel" : (["module --force purge", "module use --append /usr/gdata/climdat/install/quartz/modulefiles", "module load StdEnv cmake/3.19.2 mkl/2022.1.0 intel-classic/2021.6.0-magic mvapich2/2.3.7 hdf5/1.12.2 netcdf-c/4.9.0 netcdf-fortran/4.6.0 parallel-netcdf/1.12.3 python/3.9.12 screamML-venv/0.0.1"],
["mpicxx","mpifort","mpicc"],
"salloc --partition=pdebug",
""),
Expand Down

0 comments on commit 4989dad

Please sign in to comment.