source: branches/iLoveclim/lauching_area/Master-files/grisli.run_euras20 @ 359

Last change on this file since 359 was 359, checked in by aquiquet, 2 years ago

Trunk merged to branch at revision 357

  • Property svn:executable set to *
File size: 673 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 "Euras-20"
24
25cd $EXEDIR
26LID=`date +%y%m%d-%H%M%S`
27echo "`date` -- GRISLI EXECUTION BEGINS HERE"
28./Euras-20 >& Euras-20.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.