-
Notifications
You must be signed in to change notification settings - Fork 1
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
add flags to Makefile for Frontier and update README #10
base: develop
Are you sure you want to change the base?
Conversation
README.md
Outdated
``` | ||
### Frontier | ||
```sh | ||
module load PrgEnv-cray amd-mixed craype-accel-amd-gfx90a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to load a specific version of ROCM here? the default is 5.3.0 which is a bit low maybe
Makefile
Outdated
|
||
# frontier flags | ||
INC = -L${ROCM_PATH}/lib -lamdhip64 | ||
CFLAGS = -std=c++11 -D__HIP_ROCclr__ -D__HIP_ARCH_GFX90A__=1 --rocm-path=${ROCM_PATH} --offload-arch=gfx90a -x hip -DUSE_ROCM -DUSE_RCCL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is -O2 not enabled here?
Makefile
Outdated
# LDFLAGS = -L/global/common/software/nersc9/nccl/2.19.4/lib -lnccl | ||
|
||
# frontier flags | ||
INC = -L${ROCM_PATH}/lib -lamdhip64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Both of these should probably go to LDFLAGS.
- do we not want to add something like -I${ROCM_PATH}/include like we do for perlmutter
Makefile
Outdated
|
||
# frontier flags | ||
INC = -L${ROCM_PATH}/lib -lamdhip64 | ||
CFLAGS = -std=c++11 -D__HIP_ROCclr__ -D__HIP_ARCH_GFX90A__=1 --rocm-path=${ROCM_PATH} --offload-arch=gfx90a -x hip -DUSE_ROCM -DUSE_RCCL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--rocm-path=${ROCM_PATH} is duplicated in LDFLAGS
Also updates README instructions for loading different modules based on which cluster you're running on