forked from reger-men/HPL_GPU
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request reger-men#23 from lueelu/master
Further optimization for HPL_GPU
- Loading branch information
Showing
26 changed files
with
1,236 additions
and
970 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
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
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
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
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
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,7 @@ | ||
module reset | ||
|
||
module load rocm/5.3.0-10584 | ||
|
||
# export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/global/software/spack/opt/spack/linux-ubuntu20.04-zen2/gcc-9.4.0/openblas-0.3.20-qbm5uv3ntjerkx4jzrprmelytviwoq2e/lib:/global/software/spack/opt/spack/linux-ubuntu20.04-zen2/gcc-9.4.0/openmpi-4.1.4-3z7jsddbvczl4duixalzrtap3q5nuvjk/lib" | ||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/global/home/lulu/blis/lib:/global/home/lulu/ompi/lib:/global/software_internal/rocm/rocm-5.3.0-10584/lib" | ||
# export MPICH_GPU_SUPPORT_ENABLED=1 |
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,56 @@ | ||
#!/bin/bash | ||
#SBATCH -v | ||
#SBATCH -N 2 | ||
#SBATCH -n 16 | ||
#SBATCH -c 8 | ||
#SBATCH -t 1:00:00 | ||
#SBATCH -A VEN114 | ||
#SBATCH -J xhplhip | ||
#SBATCH --gpu-bind=closest | ||
#SBATCH --job-name=hpl_gpu # Job name | ||
#SBATCH --output=hpl.o%j # Name of stdout output file | ||
#SBATCH --error=hpl.e%j # Name of stderr error file | ||
#SBATCH --partition=gpu # Partition (queue) name | ||
#SBATCH --ntasks-per-node=8 | ||
#SBATCH --gpus-per-node=8 | ||
#SBATCH --time=0-01:00:00 # Run time (d-hh:mm:ss) | ||
#SBATCH --account=project_462000075 # Project for billing | ||
#SBATCH --exclusive | ||
|
||
source ../env/env.lumi.sh | ||
|
||
export LD_LIBRARY_PATH="${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}" | ||
export MPICH_GPU_SUPPORT_ENABLED=1 | ||
|
||
NP=$SLURM_NPROCS | ||
NODES=$SLURM_NNODES | ||
DATE=$(date +%y%m%d-%H%M%S) | ||
LOG=log.hpl-gpu-${NP}np-${HOSTNAME}-${DATE}.txt | ||
|
||
cp config/HPL_${NP}GPU.dat HPL.dat | ||
|
||
EXE="./xhplhip -p 4 -q 2" | ||
CMD="" | ||
CMD+="srun " | ||
CMD+="-v " | ||
CMD+="-n $NP " | ||
CMD+="-N $NODES " | ||
# CMD+="-A VEN114 " | ||
CMD+="--gpu-bind=closest " | ||
CMD+="--ntasks-per-node=8 " | ||
CMD+="--gpus-per-node=8 " | ||
CMD+="--exclusive " | ||
CMD+="-c 8 " | ||
CMD+="-o $LOG -e $LOG " | ||
#CMD+="${HOME}/mpich_bind.sh " | ||
CMD+="$EXE" | ||
|
||
#export MPICH_SMP_SINGLE_COPY_MODE=NONE # does not work | ||
export FI_MR_CACHE_MAX_COUNT=0 | ||
export MPICH_RANK_REORDER_DISPLAY=1 | ||
|
||
echo $CMD >> $LOG | ||
echo $CMD 2>&1 | tee -a $LOG | ||
$CMD 2>&1 | tee -a $LOG | ||
cat HPL.dat 2>&1 | tee -a $LOG | ||
cat HPL.out 2>&1 | tee -a $LOG |
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
Oops, something went wrong.