-
Notifications
You must be signed in to change notification settings - Fork 76
Add new machine perlmutter
#464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
14f8cda
Add `perlmutter` machine configuration file
technic960183 d059d04
clean and add comments
technic960183 bf16d41
Add job submission scripts for Perlmutter
technic960183 2d1a25c
Update module guide because NERSC bumps gcc
technic960183 2b394ab
Apply suggestions from code review
technic960183 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,36 @@ | ||
| # NERSC Perlmutter (HPE Cray Compiler Wrappers) | ||
|
|
||
| ### Caution!! Load the module below before compiling | ||
| ### module load gcc-native/12.3 | ||
|
|
||
| CUDA_PATH /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/cuda/12.2/ | ||
| FFTW2_PATH | ||
| FFTW3_PATH /opt/cray/pe/fftw/3.3.10.6/x86_milan/ | ||
| MPI_PATH /opt/cray/pe/craype/2.7.30/ # This is actually the path to CC (just for perlmutter). | ||
| HDF5_PATH /opt/cray/pe/hdf5/default/gnu/12.3 | ||
| #HDF5_PATH /opt/cray/pe/hdf5-parallel/1.12.2.9/gnu/12.3/ | ||
| GRACKLE_PATH | ||
| GSL_PATH | ||
| LIBYT_PATH | ||
| CUFFTDX_PATH | ||
|
|
||
| # compilers | ||
| CXX CC | ||
| CXX_MPI CC # MPI compiler (The MPI_PATH/bin/ will be combined automatically) | ||
|
|
||
| # flags | ||
| CXXFLAG -target-accel=nvidia80 # Also available in the environment variable | ||
| CXXFLAG -g | ||
| CXXFLAG -O2 | ||
|
|
||
| OPENMPFLAG -fopenmp | ||
|
|
||
| #LIBFLAG | ||
|
|
||
| NVCCFLAG_COM -O3 -I/opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/include | ||
| #NVCCFLAG_COM -use_fast_math | ||
| NVCCFLAG_FLU -Xptxas -dlcm=ca -prec-div=false -ftz=true | ||
| NVCCFLAG_POT -Xptxas -dlcm=ca | ||
|
|
||
| # gpu | ||
| GPU_COMPUTE_CAPABILITY 800 # NVIDIA A100 | ||
This file contains hidden or 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,21 @@ | ||
| #!/bin/bash | ||
| #SBATCH --account=YOUR_ACCOUNT | ||
| #SBATCH --job-name=GAMER_CPU | ||
| #SBATCH --qos=debug | ||
| #SBATCH --time=0:30:00 | ||
| #SBATCH --nodes=1 | ||
| #SBATCH --mail-type=BEGIN,END,FAIL | ||
| #SBATCH --mail-user=YOUR_EMAIL | ||
|
|
||
| ########## Do NOT modify this block ########## | ||
| #SBATCH --constraint=cpu | ||
| #SBATCH --ntasks-per-node=1 | ||
| #SBATCH --cpus-per-task=256 | ||
| export OMP_PROC_BIND=spread | ||
| export OMP_PLACES=threads | ||
| ############################################## | ||
|
|
||
| module load gcc-native/12.3 | ||
| module list # Record the loaded modules | ||
|
|
||
| srun ./gamer | ||
technic960183 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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,22 @@ | ||
| #!/bin/bash | ||
| #SBATCH --account=YOUR_ACCOUNT_g | ||
technic960183 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| #SBATCH --job-name=GAMER_GPU | ||
| #SBATCH --qos=debug | ||
| #SBATCH --time=0:30:00 | ||
| #SBATCH --nodes=1 | ||
| #SBATCH --mail-type=BEGIN,END,FAIL | ||
| #SBATCH --mail-user=YOUR_EMAIL | ||
|
|
||
| ########## Do NOT modify this block ########## | ||
| #SBATCH --constraint=gpu | ||
| #SBATCH --ntasks-per-node=4 | ||
| #SBATCH --cpus-per-task=32 | ||
| #SBATCH --gpus-per-task=1 | ||
| export OMP_PROC_BIND=spread | ||
| export OMP_PLACES=threads | ||
| ############################################## | ||
|
|
||
| module load gcc-native/12.3 | ||
| module list # Record the loaded modules | ||
|
|
||
| srun ./gamer | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.