-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
1 deletion.
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
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 @@ | ||
|
||
#-- Compiler and flags for different build type | ||
CXX = mpicxx | ||
CXXFLAGS_DEBUG = -g -O0 -std=c++17 | ||
CXXFLAGS_OPTIMIZE = -Ofast -std=c++17 | ||
GPUFLAGS_OPTIMIZE = -g -O3 -std=c++17 | ||
CUDA_ARCH = sm_90 | ||
OMP_NUM_THREADS = 16 | ||
|
||
#-- Library | ||
# The following ENV variable is defined by TACC's HDF5 module | ||
# - the module files clearly state that these environment variables | ||
# are defined when the modules are loaded | ||
CUDA_ROOT := ${TACC_CUDA_DIR} | ||
HDF5_ROOT := ${TACC_HDF5_DIR} | ||
|
||
# the following is required for cufft | ||
# - note, the module file description doesn't clearly state that the | ||
# environment variable is defined, but it is defined by the module | ||
# file and it follows TACC's standard conventions | ||
NVIDIAMATH_ROOT := ${TACC_NVIDIA_MATH_DIR} | ||
|
||
#-- MPI calls accept GPU buffers (requires GPU-aware MPI) | ||
MPI_GPU = -DMPI_GPU |
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,8 @@ | ||
#!/bin/bash | ||
|
||
#-- This script needs to be source-d in the terminal, e.g. | ||
# source ./setup.vista.gcc.sh | ||
|
||
module load cuda/12.5 openmpi/5.0.5 hdf5/1.14.4 nvidia_math/12.4 | ||
|
||
export CHOLLA_ENVSET=1 |