From 35f4328036fd8b9485000f5534ce6bdcba979d2c Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Thu, 13 Jun 2024 12:32:04 -0400 Subject: [PATCH] Docs: rename Load-Module-CarpetX for frontier --- .../frontier/Load-Module-CarpetX | 25 ++++++ .../frontier/Load-Modules-CarpetX | 15 ---- .../frontier/configs/frontier.cfg | 88 +++++++++++++++++++ 3 files changed, 113 insertions(+), 15 deletions(-) create mode 100755 Docs/compile-notes/frontier/Load-Module-CarpetX delete mode 100755 Docs/compile-notes/frontier/Load-Modules-CarpetX create mode 100644 Docs/compile-notes/frontier/configs/frontier.cfg diff --git a/Docs/compile-notes/frontier/Load-Module-CarpetX b/Docs/compile-notes/frontier/Load-Module-CarpetX new file mode 100755 index 00000000..8e654bc3 --- /dev/null +++ b/Docs/compile-notes/frontier/Load-Module-CarpetX @@ -0,0 +1,25 @@ +module purge +module load PrgEnv-cray/8.5.0 +module load cce/17.0.0 +module load cpe/23.12 +module load rocm/6.0.0 +module load craype-accel-amd-gfx90a +module load craype-x86-trento +module unload darshan-runtime + + +#module purge +#module load DefApps/default +#module load libfabric/1.15.2.0 +#module load craype-x86-trento +#module load craype-network-ofi +#module load cray-pmi/6.1.8 +#module load craype-accel-amd-gfx90a +#module load cce/15.0.0 +#module load craype/2.7.19 +#module load cray-dsmml/0.2.2 +#module load cray-mpich/8.1.23 +#module load cray-libsci/22.12.1.1 +# +#module load perftools-base/22.12.0 +#module load xpmem/2.6.2-2.5_2.22__gd067c3f.shasta diff --git a/Docs/compile-notes/frontier/Load-Modules-CarpetX b/Docs/compile-notes/frontier/Load-Modules-CarpetX deleted file mode 100755 index a55bfb29..00000000 --- a/Docs/compile-notes/frontier/Load-Modules-CarpetX +++ /dev/null @@ -1,15 +0,0 @@ -module purge -module load DefApps/default -module load libfabric/1.15.2.0 -module load craype-x86-trento -module load craype-network-ofi -module load cray-pmi/6.1.8 -module load craype-accel-amd-gfx90a -module load cce/15.0.0 -module load craype/2.7.19 -module load cray-dsmml/0.2.2 -module load cray-mpich/8.1.23 -module load cray-libsci/22.12.1.1 - -module load perftools-base/22.12.0 -module load xpmem/2.6.2-2.5_2.22__gd067c3f.shasta diff --git a/Docs/compile-notes/frontier/configs/frontier.cfg b/Docs/compile-notes/frontier/configs/frontier.cfg new file mode 100644 index 00000000..e75dcde5 --- /dev/null +++ b/Docs/compile-notes/frontier/configs/frontier.cfg @@ -0,0 +1,88 @@ +# Option list for the Einstein Toolkit + +# The "weird" options here should probably be made the default in the +# ET instead of being set here. + +# Whenever this version string changes, the application is configured +# and rebuilt from scratch +VERSION = frontier-2024-06-13 + +EXTERNAL_CC = cc +EXTERNAL_CXX = CC +EXTERNAL_F90 = ftn +EXTERNAL_LD = CC + +EXTERNAL_CFLAGS = -g -O3 +EXTERNAL_CXXFLAGS = -g -O3 +EXTERNAL_F90FLAGS = -g -O3 +EXTERNAL_LDFLAGS = -g -O3 + +CPP = cpp +CC = cc +CXX = hipcc --amdgpu-target=gfx90a +FPP = cpp +F90 = ftn +LD = hipcc --amdgpu-target=gfx90a + +CPPFLAGS = -DSIMD_CPU +CFLAGS = -g -std=gnu11 +CXXFLAGS = -g -std=c++17 -D__cpp_lib_filesystem=1L +FPPFLAGS = -traditional +F90FLAGS = -g +LDFLAGS = -fgpu-rdc --hip-link + +LIBDIRS = /opt/cray/pe/cce/15.0.0/cce/x86_64/lib +LIBS = stdc++fs f u + +C_LINE_DIRECTIVES = yes +F_LINE_DIRECTIVES = yes + +DISABLE_REAL16 = yes + +DEBUG = no +CPP_DEBUG_FLAGS = -DCARPET_DEBUG +C_DEBUG_FLAGS = +CXX_DEBUG_FLAGS = +FPP_DEBUG_FLAGS = -DCARPET_DEBUG +F90_DEBUG_FLAGS = + +OPTIMISE = yes +C_OPTIMISE_FLAGS = -O3 +CXX_OPTIMISE_FLAGS = -O3 +F90_OPTIMISE_FLAGS = -O3 + +OPENMP = no + +WARN = yes +CPP_WARN_FLAGS = -Wall +C_WARN_FLAGS = +CXX_WARN_FLAGS = +FPP_WARN_FLAGS = -Wall +F90_WARN_FLAGS = + +VECTORISE = no + +ADIOS2_DIR = ${OLCF_ADIOS2_ROOT} +ADIOS2_INC_DIRS = ${OLCF_ADIOS2_ROOT}/include +ADIOS2_LIB_DIRS = ${OLCF_ADIOS2_ROOT}/lib64 +ADIOS2_LIBS = adios2_cxx11_mpi adios2_cxx11 + +AMREX_DIR = /lustre/orion/csc308/world-shared/amrex-rocm5.3-gpumpi +AMREX_INC_DIRS = /lustre/orion/csc308/world-shared/amrex-rocm5.3-gpumpi/include +AMREX_LIBS = -file=/lustre/orion/csc308/world-shared/amrex-rocm5.3-gpumpi/lib/libamrex.a + +FFTW3_DIR = ${FFTW_ROOT} +HDF5_DIR = ${HDF5_ROOT} +BOOST_DIR = ${OLCF_BOOST_ROOT} +GSL_DIR = ${OLCF_GSL_ROOT} +HWLOC_DIR = ${OLCF_HWLOC_ROOT} +LIBJPEG_DIR = ${OLCF_LIBJPEG_TURBO_ROOT} +MPI_DIR = ${CRAY_MPICH_DIR} +MPI_LIB_DIRS = ${CRAY_MPICH_DIR}/lib ${CRAY_MPICH_ROOTDIR}/gtl/lib +MPI_LIBS = mpi mpi_gtl_hsa +OPENBLAS_DIR = ${OLCF_OPENBLAS_ROOT} +PTHREADS_DIR = NO_BUILD +SILO_DIR = BUILD +SSHT_DIR = BUILD +YAML_CPP_DIR = BUILD +ZLIB_DIR = ${OLCF_ZLIB_ROOT}