Skip to content
Snippets Groups Projects
Commit 29322e91 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan
Browse files

Juan 19/08/2024:MESONH_HOST2005/run_mesonh_step1_xyz_mppdb, Update for use...

Juan 19/08/2024:MESONH_HOST2005/run_mesonh_step1_xyz_mppdb, Update for use with rocm/Cray-MPI/SPAWN environnement
parent 20fb7ab2
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
export ACC_DEVICE=NVIDIA # HOST
ACC_DEVICE_TYPE=${ACC_DEVICE}
exec /home/escj/DEV64/MNH_GIT/GIT-MNH-56X-dev-OPENACC-FFT-unlessPHYEX-BIS/exe/MESONH${XYZ}
#export ACC_DEVICE=NVIDIA # HOST
#ACC_DEVICE_TYPE=${ACC_DEVICE}
#exec /home/escj/DEV64/MNH_GIT/GIT-MNH-56X-dev-OPENACC-FFT-unlessPHYEX-BIS/exe/MESONH${XYZ}
export ROCR_VISIBLE_DEVICES=2
exec /lus/work/CT1/lat2648/escobar/DEV/GIT-MNH-56X-dev-OPENACC-FFT-unlessPHYEX/exe/MESONH${XYZ}
#!/bin/bash
#
. /lus/work/CT1/lat2648/escobar/DEV/GIT-MNH-56X-dev-OPENACC-FFT-unlessPHYEX/conf/profile_mesonh-LXcray-R8I4-MNH-V5-6-2-C1700-2-MPICRAY-MANAGED
set -x
#
export PGI_ACC_POOL_ALLOC=0
export PGI_ACC_SYNCHRONOUS=1
export ACC_DEVICE_TYPE=HOST
#export PGI_ACC_POOL_ALLOC=0
#export PGI_ACC_SYNCHRONOUS=1
#export ACC_DEVICE_TYPE=HOST
#export MPIRUN=${MPIRUN:-"Mpirun --mca btl ^openib -tag-output -report-bindings -bind-to core -x ACC_DEVICE_TYPE -np 1 "}
#IO
export FILENV=afile
assign -O -b1 f:OUTPUT_LISTING1
# Pour CRAYMPICH
export MPICH_ENV_DISPLAY=10
export FI_MR_CACHE_MAX_COUNT=0
#export MPICH_LOCAL_SPAWN_SERVER=2 # inutile
#export MPICH_SPAWN_USE_RANKPOOL=0 # inutile
export MPICH_SINGLE_HOST_ENABLED=0 # INDISPENSABEL SINON ERROR
export PMI_SPAWN_SRUN_ARGS="-u -l -K1 --export=ALL --mpi=cray_shasta --cpu-bind=none --overcommit --overlap --oversubscribe"
export SLURM_CPU_BIND="none,verbose"
export ROCR_VISIBLE_DEVICES=0
export MPIRUN=${MPIRUN:-"Mpirun --mca btl ^openib -tag-output -report-bindings -bind-to core -x ACC_DEVICE_TYPE -np 1 "}
export MPIRUN=${MPIRUN:-"srun -u -l -K1 --export=ALL --mpi=cray_shasta --cpu-bind=none --overlap --overcommit --overlap -n 1 "}
DIR_CLONE=dir_clone
......@@ -37,4 +59,4 @@ ln -sf ../002_prep_ideal_case/DA0064.{des,nc} .
#
time ${MPIRUN} MESONH${XYZ}
cp OUTPUT_LISTING1 OUTPUT_LISTING1${XYZ}.MPPDB.$$
cp OUTPUT_LISTING1 OUTPUT_LISTING1${XYZ}.MPPDB.${NP}NP.${AUX}.$$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment