#!/bin/bash
#SBATCH -J HELFER_15
#SBATCH --constraint=BDW28
#SBATCH --nodes=1
#SBATCH --cpus-per-task=1
#SBATCH --time=00:30:00
#SBATCH --exclusive

source $YALES2_HOME/platforms/occigen.bash.env

export cores=28

#mkdir dump

# deactivate the collective optimizations
export OMPI_MCA_ess=^pmi
export OMPI_MCA_pubsub=^pmi
export OMPI_MCA_pml=ob1
unset OMPI_MCA_mtl
unset OMPI_MCA_coll_fca_enable
unset OMPI_MCA_coll_fca_np
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
export OMPI_MCA_btl_openib_warn_no_device_params_found=0

export I_MPI_OFA_TRANSLATION_CACHE=0
export I_MPI_DAPL_TRANSLATION_CACHE=0

srun --kill-on-bad-exit -m block --resv-ports --cpu_bind=map_cpu:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27 -n $cores ./tube_10micron_036