Skip to content
Snippets Groups Projects
Commit ec29a02e authored by Gab's avatar Gab
Browse files

added debug small and large for smilei on JZ

parent 6f1ec06e
No related branches found
No related tags found
No related merge requests found
*output
*.out
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=2
#SBATCH --hint=nomultithread
#SBATCH --cpus-per-task=20
#SBATCH -J tst_accelec
#SBATCH -A qbg@cpu
#SBATCH --time=00:30:00
#SBATCH --output=debug_test.out
## Set the working dir to the dir in which the submission was called.
source env_bench
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=core
export KMP_AFFINITY=verbose
mkdir -p debug_output
cd debug_output
#srun --mpi=pmi2 -K1 -m block:block -c $SLURM_CPUS_PER_TASK --resv-ports -n $SLURM_NTASKS $EXE $SMILEI_DIR/testcase_debug/test.py
srun -m block:block -c $SLURM_CPUS_PER_TASK -n $SLURM_NTASKS $EXE $SMILEI_DIR/testcase_debug/test.py
#!/bin/bash
#SBATCH --nodes=200
#SBATCH --ntasks-per-node=2
#SBATCH --hint=nomultithread
#SBATCH --cpus-per-task=20
#SBATCH -J tst_accelec
#SBATCH -A qbg@cpu
#SBATCH --time=02:00:00
#SBATCH --output=large_test.out
## Set the working dir to the dir in which the submission was called.
source env_bench
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=core
mkdir -p large_output
cd large_output
srun --mpi=pmi2 -K1 -m block:block -c $SLURM_CPUS_PER_TASK --resv-ports -n $SLURM_NTASKS $EXE $SMILEI_DIR/testcase_large/test.py
#!/bin/bash
#SBATCH --nodes=50
#SBATCH --ntasks-per-node=2
#SBATCH --hint=nomultithread
#SBATCH --cpus-per-task=20
#SBATCH -J tst_accelec
#SBATCH -A qbg@cpu
#SBATCH --time=01:30:00
#SBATCH --output=small_test.out
## Set the working dir to the dir in which the submission was called.
source env_bench
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=core
mkdir -p small_output
cd small_output
srun --mpi=pmi2 -K1 -m block:block -c $SLURM_CPUS_PER_TASK --resv-ports -n $SLURM_NTASKS $EXE $SMILEI_DIR/testcase_small/test.py
# Load the correct modules:
#
module purge
module load anaconda-py2/2019.03
module load git
export PYTHONHOME=/gpfslocalsup/pub/anaconda-py2/2019.03
export LD_LIBRARY_PATH=$PYTHONHOME/lib:$LD_LIBRARY_PATH
module load intel-compilers/19.0.4
module load intel-mpi/19.0.4
module load hdf5/1.10.5-mpi
export SMILEICXX=mpiicpc
export HDF5_ROOT_DIR=/gpfslocalsup/spack_soft/hdf5/1.10.5/intel-19.0.4-lnysdcbocfokaq4yxc72wiplpfknw7e6
export CXXFLAGS+=" -xCOMMON-AVX512 -ip -inline-factor=1000 -D__INTEL_CASCADELAKE_6248 -qopt-zmm-usage=high -fno-alias -ipo"
GIT_ROOT=`git rev-parse --show-toplevel`
SMILEI_DIR=$GIT_ROOT/Smilei/
EXE=$SMILEI_DIR/Smilei/smilei
......@@ -29,7 +29,7 @@ cells_per_patch = [8,8,8]
patches_per_node = [8,8,8]
# Number of nodes
nodes = [16,16,16]
nodes = [16,16,8]
# Number of patches
patches = [nodes[i]*patches_per_node[i] for i in range(3)]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment