source: trunk/lauching_area/Master-files/grisli.run @ 314

Last change on this file since 314 was 314, checked in by dumas, 4 years ago

To launch a PMIP deglaciation use the generic script go_GRISLI_PMIP.sh and select the geography (Hemin-40, Euras-40, Euras-20 or Euras-10) in the script parameters

  • Property svn:executable set to *
File size: 671 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 medium
7# Specify execution shell
8##PBS -S /bin/bash
9# Request that stdin and stdout are merged in the same output file
10#PBS -j eo
11# Send a mail when the job terminates
12#PBS -m e -M christophe.dumas@lsce.ipsl.fr
13
14module load netcdf/4
15
16
17MODEL="SOURCESREP"
18EXEDIR="EXEREP"
19
20
21echo "Grisli is being compiled..."
22cd $MODEL
23make clean && make EXE_NAME
24
25cd $EXEDIR
26LID=`date +%y%m%d-%H%M%S`
27echo "`date` -- GRISLI EXECUTION BEGINS HERE"
28./EXE_NAME >& EXE_NAME.log.$LID
29
30wait
31echo "`date` -- GRISLI EXECUTION HAS FINISHED"
32
33# Clean the sources?
34#rm -rf $MODEL
Note: See TracBrowser for help on using the repository browser.