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 | |
---|
14 | module load netcdf/4 |
---|
15 | |
---|
16 | |
---|
17 | MODEL="SOURCESREP" |
---|
18 | EXEDIR="EXEREP" |
---|
19 | |
---|
20 | |
---|
21 | echo "Grisli is being compiled..." |
---|
22 | cd $MODEL |
---|
23 | make clean && make EXE_NAME |
---|
24 | |
---|
25 | cd $EXEDIR |
---|
26 | LID=`date +%y%m%d-%H%M%S` |
---|
27 | echo "`date` -- GRISLI EXECUTION BEGINS HERE" |
---|
28 | ./EXE_NAME >& EXE_NAME.log.$LID |
---|
29 | |
---|
30 | wait |
---|
31 | echo "`date` -- GRISLI EXECUTION HAS FINISHED" |
---|
32 | |
---|
33 | # Clean the sources? |
---|
34 | #rm -rf $MODEL |
---|
Note: See
TracBrowser
for help on using the repository browser.