-
Notifications
You must be signed in to change notification settings - Fork 1
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
5 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,14 +1,23 @@ | ||
#!/bin/bash | ||
|
||
module load LUMI/22.08 | ||
module load partition/G | ||
module load rocm/5.3.3 | ||
source /users/lurass/scratch/setenv_lumi.sh | ||
# module load LUMI/22.08 | ||
# module load partition/G | ||
# module load rocm/5.3.3 | ||
|
||
# ROCm-aware MPI set to 1, else 0 | ||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
export IGG_ROCMAWARE_MPI=1 | ||
|
||
# Needs to know about location of GTL lib | ||
export LD_PRELOAD=${CRAY_MPICH_ROOTDIR}/gtl/lib/libmpi_gtl_hsa.so | ||
## basic | ||
# srun --cpu-bind=map_cpu:49,57,17,25,1,9,33,41 -N1 -n8 --gpus-per-node=8 profileme.sh | ||
|
||
julia --project rocmaware.jl | ||
## optimal using only single GCD per MI250x Module | ||
# srun --cpu-bind=map_cpu:49,17,1,33 -N1 -n1 --gpus-per-node=8 profileme.sh | ||
# srun --cpu-bind=map_cpu:49,17,1,33 -N4 -n16 --gpus-per-node=8 profileme.sh | ||
export ROCR_VISIBLE_DEVICES=0,2,4,6 | ||
|
||
# julia --project benchmark_diffusion_3D.jl | ||
julia --project --color=yes tm_stokes_mpi_wip.jl | ||
|
||
# Profiling | ||
# ENABLE_JITPROFILING=1 rocprof --hip-trace --hsa-trace -d ./prof_out${SLURM_PROCID} -o ./prof_out${SLURM_PROCID}/results${SLURM_PROCID}.csv julia --project bench3d.jl |
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