explicit_mpi_chebyshev.sh 1.32 KB
Newer Older
1 2
#!/usr/bin/env bash
## name of job
3
#SBATCH -J explicit_chebyshev_50M_10_node
4 5 6 7 8
#SBATCH -p longq
## Resources: (nodes, procs, tasks, walltime, ... etc)
#SBATCH -N 10
#SBATCH -c 24
# #  standard output message
9
#SBATCH -o explicit_chebyshev_50M_10_node%j.out
10
# # output error message
11
#SBATCH -e explicit_chebyshev_50M_10_node%j.err
12
#SBATCH --mail-type=ALL --mail-user=martin.khannouz@inria.fr
13
## modules to load for the job
14 15 16 17 18 19 20 21
module purge
module load slurm
module add compiler/gcc/5.3.0 tools/module_cat/1.0.0 intel/mkl/64/11.2/2016.0.0
. /home/mkhannou/spack/share/spack/setup-env.sh
spack load fftw
spack load hwloc
spack load openmpi
spack load starpu@svn-trunk+fxt
22
## variable for the job
23 24 25 26 27 28
export GROUP_SIZE=500
export TREE_HEIGHT=8
export NB_NODE=$SLURM_JOB_NUM_NODES
export STARPU_NCPU=24
export NB_PARTICLE_PER_NODE=5000000
export STARPU_FXT_PREFIX=`pwd`/
29
echo "===== Explicit MPI ===="
30
echo "my jobID: " $SLURM_JOB_ID
31
echo "Model: cube"
32
echo "Nb node: " $NB_NODE
33
echo "Nb thread: " $STARPU_NCPU
34 35
echo "Tree height: " $TREE_HEIGHT
echo "Group size: " $GROUP_SIZE
36
echo "Algorithm: explicit"
37 38
echo "Particle per node: " $NB_PARTICLE_PER_NODE
echo "Total particles: " $(($NB_PARTICLE_PER_NODE*$NB_NODE))
39
mpiexec -n $NB_NODE ./Build/Tests/Release/testBlockedMpiChebyshev -nb $NB_PARTICLE_PER_NODE -bs $GROUP_SIZE -h $TREE_HEIGHT -no-validation | grep Average
40