New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
sette_beginner.sh in trunk/NEMOGCM/SETTE – NEMO

source: trunk/NEMOGCM/SETTE/sette_beginner.sh @ 2665

Last change on this file since 2665 was 2665, checked in by flavoni, 13 years ago

add new functionality in SETTE, creating validation tree, and updated doc, see ticket #752

  • Property svn:executable set to *
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
14set -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#
39SETTE_DIR=/PATH/OF/SETTE
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 : key_nproci=1 key_nprocj=1
43cd ${SETTE_DIR}
44. ../CONFIG/makenemo -m gfortran_osx -n GYRE_SHORT -r GYRE
45cd ${SETTE_DIR}
46. param.cfg
47. all_functions.sh
48# setting namelist parameters
49# experience name
50set_namelist namelist cn_exp \"GYRE_SHORT\"
51# first time step
52set_namelist namelist nn_it000 1
53# last time step
54set_namelist namelist nn_itend 120
55# frequency of creation of a restart file
56set_namelist namelist nn_stock 60
57cd ${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.