-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/fhd_heffte' into fhd_heffte
- Loading branch information
Showing
4 changed files
with
59 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/bash | ||
|
||
## load necessary modules | ||
module load craype-accel-amd-gfx90a | ||
module load amd-mixed | ||
#module load rocm/5.2.0 # waiting for 5.6 for next bump | ||
module load cray-mpich/8.1.23 | ||
module load cce/15.0.0 # must be loaded after rocm | ||
|
||
# GPU-aware MPI | ||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
|
||
# optimize CUDA compilation for MI250X | ||
export AMREX_AMD_ARCH=gfx90a | ||
|
||
# compiler environment hints | ||
##export CC=$(which hipcc) | ||
##export CXX=$(which hipcc) | ||
##export FC=$(which ftn) | ||
##export CFLAGS="-I${ROCM_PATH}/include" | ||
##export CXXFLAGS="-I${ROCM_PATH}/include -Wno-pass-failed" | ||
##export LDFLAGS="-L${ROCM_PATH}/lib -lamdhip64 ${PE_MPICH_GTL_DIR_amd_gfx90a} -lmpi_gtl_hsa" | ||
export LDFLAGS="-L${MPICH_DIR}/lib -lmpi ${CRAY_XPMEM_POST_LINK_OPTS} -lxpmem ${PE_MPICH_GTL_DIR_amd_gfx90a} ${PE_MPICH_GTL_LIBS_amd_gfx90a}" | ||
export CXXFLAGS="-I${MPICH_DIR}/include" | ||
export HIPFLAGS="--amdgpu-target=gfx90a" | ||
|
||
make -j10 USE_HIP=TRUE USE_HEFFTE_ROCFFT=TRUE USE_ASSERTION=TRUE |
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 |
---|---|---|
@@ -1,27 +1,13 @@ | ||
#!/usr/bin/bash | ||
|
||
## load necessary modules | ||
module load craype-accel-amd-gfx90a | ||
module load amd-mixed | ||
#module load rocm/5.2.0 # waiting for 5.6 for next bump | ||
module load cray-mpich/8.1.23 | ||
module load cce/15.0.0 # must be loaded after rocm | ||
|
||
# GPU-aware MPI | ||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
|
||
# optimize CUDA compilation for MI250X | ||
export AMREX_AMD_ARCH=gfx90a | ||
module load PrgEnv-cray | ||
module load cray-mpich | ||
module load cce | ||
|
||
# compiler environment hints | ||
##export CC=$(which hipcc) | ||
##export CXX=$(which hipcc) | ||
##export FC=$(which ftn) | ||
##export CFLAGS="-I${ROCM_PATH}/include" | ||
##export CXXFLAGS="-I${ROCM_PATH}/include -Wno-pass-failed" | ||
##export LDFLAGS="-L${ROCM_PATH}/lib -lamdhip64 ${PE_MPICH_GTL_DIR_amd_gfx90a} -lmpi_gtl_hsa" | ||
export LDFLAGS="-L${MPICH_DIR}/lib -lmpi ${CRAY_XPMEM_POST_LINK_OPTS} -lxpmem ${PE_MPICH_GTL_DIR_amd_gfx90a} ${PE_MPICH_GTL_LIBS_amd_gfx90a}" | ||
export CXXFLAGS="-I${MPICH_DIR}/include" | ||
export HIPFLAGS="--amdgpu-target=gfx90a" | ||
export CC=$(which craycc) | ||
export CXX=$(which craycc) | ||
export FC=$(which crayftn) | ||
|
||
make -j10 USE_CUDA=FALSE USE_HIP=TRUE USE_ASSERTION=TRUE | ||
make -j10 USE_CUDA=FALSE USE_HIP=FALSE USE_ASSERTION=TRUE |
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,24 @@ | ||
#!/usr/bin/bash | ||
|
||
## load necessary modules | ||
module load craype-accel-amd-gfx90a | ||
module load rocm | ||
module load cray-mpich | ||
module load cce # must be loaded after rocm | ||
module load cray-fftw | ||
|
||
# GPU-aware MPI | ||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
|
||
# optimize CUDA compilation for MI250X | ||
export AMREX_AMD_ARCH=gfx90a | ||
|
||
# compiler environment hints | ||
export CC=$(which hipcc) | ||
export CXX=$(which hipcc) | ||
export FC=$(which ftn) | ||
export CFLAGS="-I${ROCM_PATH}/include" | ||
export CXXFLAGS="-I${ROCM_PATH}/include -Wno-pass-failed" | ||
export LDFLAGS="-L${ROCM_PATH}/lib -lamdhip64 ${PE_MPICH_GTL_DIR_amd_gfx90a} -lmpi_gtl_hsa" | ||
|
||
make -j8 USE_HIP=TRUE DO_TURB=TRUE MAX_SPEC=2 USE_HEFFTE_ROCFFT=FALSE USE_ASSERTION=TRUE |