source:
trunk/NEMOGCM/SETTE/sette_beginner.sh
@
2665
Last change on this file since 2665 was 2665, checked in by flavoni, 13 years ago | |
---|---|
|
|
File size: 1.7 KB |
Rev | Line | |
---|---|---|
[2656] | 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 | # | |
[2665] | 19 | # =================== |
20 | # sette_beginner.sh | |
21 | # =================== | |
[2656] | 22 | # |
23 | # ---------------------------------------------- | |
[2665] | 24 | # Set of tests for NEMO for beginners |
[2656] | 25 | # ---------------------------------------------- |
26 | # | |
27 | # SYNOPSIS | |
28 | # ======== | |
29 | # | |
30 | # :: | |
31 | # | |
[2665] | 32 | # $ ./sette_beginner.sh |
[2656] | 33 | # |
34 | # DESCRIPTION | |
35 | # =========== | |
[2665] | 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=/PATH/OF/SETTE | |
[2656] | 40 | # Run for GYRE CONFIG |
[2657] | 41 | # small test to start |
42 | # compile GYRE configuration with gfortran_osx compiler run with 1 proc, by default in cpp_GYRE.fcm file : key_nproci=1 key_nprocj=1 | |
[2656] | 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 | |
[2657] | 48 | # setting namelist parameters |
49 | # experience name | |
[2656] | 50 | set_namelist namelist cn_exp \"GYRE_SHORT\" |
[2657] | 51 | # first time step |
[2656] | 52 | set_namelist namelist nn_it000 1 |
[2657] | 53 | # last time step |
[2656] | 54 | set_namelist namelist nn_itend 120 |
[2657] | 55 | # frequency of creation of a restart file |
[2656] | 56 | set_namelist namelist nn_stock 60 |
57 | cd ${SETTE_DIR} | |
[2657] | 58 | # run job, with 1 processor, test named SHORT (= 60 time steps) |
[2656] | 59 | . ./fcm_job.sh input_GYRE.cfg 1 SHORT |
Note: See TracBrowser
for help on using the repository browser.