source:
branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/SETTE/sette_beginner.sh
@
4448
Last change on this file since 4448 was 2716, checked in by rblod, 13 years ago | |
---|---|
|
|
File size: 1.7 KB |
Line | |
---|---|
1 | #!/bin/bash |
2 | ############################################################# |
3 | # Author : Simona Flavoni for NEMO |
4 | # Contact : sflod@locean-ipsl.upmc.fr |
5 | # |
6 | # sette.sh : principal script of SET TEsts for NEMO (SETTE) |
7 | # ---------------------------------------------------------------------- |
8 | # NEMO/SETTE , NEMO Consortium (2010) |
9 | # Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
10 | # ---------------------------------------------------------------------- |
11 | # |
12 | ############################################################# |
13 | #set -x |
14 | set -o posix |
15 | #set -u |
16 | #set -e |
17 | #+ |
18 | # |
19 | # =================== |
20 | # sette_beginner.sh |
21 | # =================== |
22 | # |
23 | # ---------------------------------------------- |
24 | # Set of tests for NEMO for beginners |
25 | # ---------------------------------------------- |
26 | # |
27 | # SYNOPSIS |
28 | # ======== |
29 | # |
30 | # :: |
31 | # |
32 | # $ ./sette_beginner.sh |
33 | # |
34 | # DESCRIPTION |
35 | # =========== |
36 | # First simple example of how to use SETTE: create GYRE_SHORT configuration, compile it with 1 proc, and test it for a SHORT test: 5days |
37 | #- |
38 | # |
39 | SETTE_DIR=$(cd $(dirname "$0"); pwd) |
40 | # Run for GYRE CONFIG |
41 | # small test to start |
42 | # compile GYRE configuration with gfortran_osx compiler run with 1 proc, by default in cpp_GYRE.fcm file : |
43 | cd ${SETTE_DIR} |
44 | . ../CONFIG/makenemo -m gfortran_osx -n GYRE_SHORT -r GYRE |
45 | cd ${SETTE_DIR} |
46 | . param.cfg |
47 | . all_functions.sh |
48 | # setting namelist parameters |
49 | # experience name |
50 | set_namelist namelist cn_exp \"GYRE_SHORT\" |
51 | # first time step |
52 | set_namelist namelist nn_it000 1 |
53 | # last time step |
54 | set_namelist namelist nn_itend 120 |
55 | # frequency of creation of a restart file |
56 | set_namelist namelist nn_stock 60 |
57 | cd ${SETTE_DIR} |
58 | # run job, with 1 processor, test named SHORT (= 60 time steps) |
59 | . ./fcm_job.sh input_GYRE.cfg 1 SHORT |
Note: See TracBrowser
for help on using the repository browser.