source: branches/GRISLIv3/lauching_area/Master-files/grisli.run.openmp_ant40 @ 374

Last change on this file since 374 was 374, checked in by dumas, 14 months ago

Update go_ant40_cycle.sh with on general grisli.run.lsce for sequential and parallel runs

  • Property svn:executable set to *
File size: 868 bytes
Line 
1#!/bin/bash
2# Script pour lancer grisli en batch au LSCE
3# Works for the
4#PBS -N RUNNAME
5# Specify batch queue
6#PBS -q longp
7#PBS -v BATCH_NUM_PROC_TOT=4
8#PBS -l nodes=1:ppn=4
9# Specify execution shell
10##PBS -S /bin/bash
11# Request that stdin and stdout are merged in the same output file
12#PBS -j eo
13# Send a mail when the job terminates
14#PBS -m e -M christophe.dumas@lsce.ipsl.fr
15
16export MKL_NUM_THREADS=4
17export OMP_NUM_THREADS=4
18export KMP_STACKSIZE=16000000 #2048000000 # KMP_STACKSIZE remplace OMP_STACKSIZE avec ifort
19
20module load netcdf/4
21
22MODEL="SOURCESREP"
23EXEDIR="EXEREP"
24
25rm Ant-40
26echo "Grisli is being compiled..."
27cd $MODEL
28make clean && make "Ant-40"
29
30cd $EXEDIR
31LID=`date +%y%m%d-%H%M%S`
32echo "`date` -- GRISLI EXECUTION BEGINS HERE"
33./Ant-40 >& Ant-40.log.$LID
34
35wait
36echo "`date` -- GRISLI EXECUTION HAS FINISHED"
37
38# Clean the sources?
39#rm -rf $MODEL
Note: See TracBrowser for help on using the repository browser.