Skip to content

Commit

Permalink
Docs: add Load-Module-CarpetX-cce15.sh for frontier
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Jun 13, 2024
1 parent 35f4328 commit bc998e2
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Docs/compile-notes/frontier/Load-Module-CarpetX-cce15.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

module load craype-accel-amd-gfx90a
module load rocm/5.3.0

export MPICH_GPU_SUPPORT_ENABLED=1
export PE_MPICH_GTL_DIR_amd_gfx90a="-L/opt/cray/pe/mpich/8.1.23/gtl/lib"
export PE_MPICH_GTL_LIBS_amd_gfx90a="-lmpi_gtl_hsa"

module load adios2/2.8.3
module load amrex/22.11
module load boost/1.79.0-cxx17
module load cray-fftw/3.3.10.3
module load cray-hdf5-parallel/1.12.2.1
module load gsl/2.7.1
module load hwloc/2.5.0
module load libjpeg-turbo/2.1.0
module load openblas/0.3.17
module load openpmd-api/0.14.4
module load zlib/1.2.11
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

module purge
module load PrgEnv-cray/8.5.0
module load cce/17.0.0
Expand All @@ -8,6 +10,10 @@ module load craype-x86-trento
module unload darshan-runtime


################################################################################
# old
################################################################################

#module purge
#module load DefApps/default
#module load libfabric/1.15.2.0
Expand Down
2 changes: 2 additions & 0 deletions Docs/compile-notes/frontier/amrex/Compile-AMReX.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=${HOME}/local/amrex-24.06 \
-DCMAKE_PREFIX_PATH='/opt/rocm-6.0.0/lib/cmake/AMDDeviceLibs;/opt/rocm-6.0.0/lib/cmake/amd_comgr;/opt/rocm-6.0.0/lib/cmake/hip;/opt/rocm-6.0.0/lib/cmake/hiprand;/opt/rocm-6.0.0/lib/cmake/hsa-runtime64;/opt/rocm-6.0.0/lib/cmake/rocprim;/opt/rocm/lib/cmake/rocrand' \
Expand Down
2 changes: 2 additions & 0 deletions Docs/compile-notes/frontier/amrex/Export-AMReX.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

export MPICH_GPU_SUPPORT_ENABLED=1
export AMREX_AMD_ARCH=gfx90a
export CC=$(which cc)
Expand Down
2 changes: 2 additions & 0 deletions Docs/compile-notes/frontier/amrex/Load-Module-AMReX.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

module purge
module load PrgEnv-cray/8.5.0
module load cce/17.0.0
Expand Down

0 comments on commit bc998e2

Please sign in to comment.