Newer
Older
#!/bin/bash
#SBATCH -J Examples

Juan Escobar
committed
#SBATCH -N 2 # nodes number
#SBATCH -n 4 # CPUs number (on all nodes)
#SBATCH --exclusive
#SBATCH -o Examples.eo%j #
#SBATCH -e Examples.eo%j #
#SBATCH -t 01:00:00 # time limit

Juan Escobar
committed
#SBATCH --export=NONE
# Echo des commandes
ulimit -c 0
ulimit -s unlimited
# Arrete du job des la premiere erreur
#set -e
set -x
# Nom de la machine
hostname
. ../conf/profile_mesonh-LXifortI4-MNH-V5-3-0-MPIINTEL-O2

Juan Escobar
committed
export MONORUN="mpirun -prepend-rank -np 1 "
export MPIRUN="mpirun -prepend-rank -np 4 "
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
export POSTRUN="time "
cd $SRC_MESONH/MY_RUN/KTEST/003_KW78
make -k
#
echo "#################################################################################"
echo "##CAS SUIVANT####################################################################"
echo "#################################################################################"
cd $SRC_MESONH/MY_RUN/KTEST/001_2Drelief
make -k
#
echo "#################################################################################"
echo "##CAS SUIVANT####################################################################"
echo "#################################################################################"
cd $SRC_MESONH/MY_RUN/KTEST/002_3Drelief
make -k
#
echo "#################################################################################"
echo "##CAS SUIVANT####################################################################"
echo "#################################################################################"
cd $SRC_MESONH/MY_RUN/KTEST/004_Reunion
make -k << EOF
EOF
#
echo "#################################################################################"
echo "##CAS SUIVANT####################################################################"
echo "#################################################################################"
cd $SRC_MESONH/MY_RUN/KTEST/007_16janvier
make -k << EOF
EOF
#