lanceurpbs.sh 321 Bytes
#!/bin/bash
#PBS -q default
#PBS -l walltime=15:00:00
#PBS -l nodes=1:ppn=20
#PBS -l nice=19
#PBS -j oe
#PBS -N lagrangien
module load dot
hostname
cd $PBS_O_WORKDIR
export NPROCS=$(wc -l $PBS_NODEFILE | gawk '//{print $1}')
cd ..
(time -p ./LAGRANGIAN_MODEL_2014) |& tail -n3 | head -n1 | cut -c5- >>batch/time_sim.txt