Skip to content

Commit 702d869

Browse files
authored
Merge Pull Request #2945 from E3SM-Project/scream/jzhang/eamxx/update_lcmach_DPxx
Automatically Merged using E3SM Pull Request AutoTester PR Title: update Livermore Computing machine config for eamxx PR Author: jsbamboo PR LABELS: AT: AUTOMERGE, AT: Integrate Without Testing
2 parents a6b250a + 20b3d5e commit 702d869

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include(${CMAKE_CURRENT_LIST_DIR}/dane.cmake)
2+
set(CMAKE_EXE_LINKER_FLAGS "-L/usr/tce/packages/mkl/mkl-2022.1.0/lib/intel64/ -qmkl" CACHE STRING "" FORCE)
3+
set(PYTHON_LIBRARIES "/usr/lib64/libpython3.9.so.1.0" CACHE STRING "" FORCE)
4+
option (SCREAM_ENABLE_ML_CORRECTION "Whether to enable ML correction parametrization" ON)
5+
set(HDF5_DISABLE_VERSION_CHECK 1 CACHE STRING "" FORCE)
6+
execute_process(COMMAND source /usr/WS1/climdat/python_venv/3.9.2/screamML/bin/activate)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)
2+
common_setup()
3+
4+
# Load all kokkos settings from Ekat's mach file
5+
set(Kokkos_ENABLE_SERIAL TRUE CACHE BOOL "")
6+
7+
# Enable Broadwell arch in Kokkos
8+
option(Kokkos_ARCH_BDW "" ON)
9+
# Load Broadwell flags and openmp backend for kokkos
10+
include (${EKAT_MACH_FILES_PATH}/kokkos/intel-bdw.cmake)
11+
include (${EKAT_MACH_FILES_PATH}/kokkos/openmp.cmake)
12+
13+
include (${EKAT_MACH_FILES_PATH}/mpi/srun.cmake)

components/eamxx/cmake/machine-files/ruby.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,3 @@ include (${EKAT_MACH_FILES_PATH}/kokkos/intel-bdw.cmake)
1111
include (${EKAT_MACH_FILES_PATH}/kokkos/openmp.cmake)
1212

1313
include (${EKAT_MACH_FILES_PATH}/mpi/srun.cmake)
14-
15-
set(SCREAM_INPUT_ROOT "/usr/gdata/e3sm/ccsm3data/inputdata" CACHE STRING "")

components/eamxx/scripts/machines_specs.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,21 @@
3636
"",
3737
"/sems-data-store/ACME/baselines/scream/master-baselines"),
3838
"lassen" : (["module --force purge", "module load git gcc/8.3.1 cuda/11.8.0 cmake/3.16.8 spectrum-mpi python/3.7.2", "export LLNL_USE_OMPI_VARS='y'",
39-
"export PATH=/usr/gdata/e3sm/netcdf/bin:$PATH",
40-
"export LD_LIBRARY_PATH=/usr/gdata/e3sm/netcdf/lib:$LD_LIBRARY_PATH",
39+
"export PATH=/usr/workspace/e3sm/netcdf/bin:$PATH",
40+
"export LD_LIBRARY_PATH=/usr/workspace/e3sm/netcdf/lib:$LD_LIBRARY_PATH",
4141
],
4242
["mpicxx","mpifort","mpicc"],
4343
"bsub -Ip -qpdebug",
4444
""),
45-
"ruby-intel" : (["module --force purge", "module use --append /usr/gdata/e3sm/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"],
45+
"ruby-intel" : (["module --force purge", "module use --append /usr/workspace/e3sm/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"],
4646
["mpicxx","mpifort","mpicc"],
4747
"salloc --partition=pdebug",
4848
""),
49-
"quartz-intel" : (["module --force purge", "module use --append /usr/gdata/e3sm/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"],
49+
"dane-intel" : (["module --force purge", "module use --append /usr/workspace/e3sm/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"],
50+
["mpicxx","mpifort","mpicc"],
51+
"salloc --partition=pdebug",
52+
""),
53+
"quartz-intel" : (["module --force purge", "module use --append /usr/workspace/e3sm/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"],
5054
["mpicxx","mpifort","mpicc"],
5155
"salloc --partition=pdebug",
5256
""),

0 commit comments

Comments
 (0)