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 @ 2657

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

add comments in sette_beginner.sh, and added TEST_NAME in fcm_job.sh, see ticket #752

  • Property svn:executable set to *
File size: 1.5 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.sh
21# ================
22#
23# ----------------------------------------------
24# Set of tests for NEMO
25# ----------------------------------------------
26#
27# SYNOPSIS
28# ========
29#
30# ::
31#
32#  $ ./sette.sh
33#
34# DESCRIPTION
35# ===========
36SETTE_DIR=/Users/sflod/nuovo_sette/prova/NEMOGCM/SETTE
37# Run for GYRE CONFIG
38# small test to start
39# compile GYRE configuration with gfortran_osx compiler run with 1 proc, by default in cpp_GYRE.fcm file : key_nproci=1 key_nprocj=1
40cd ${SETTE_DIR}
41. ../CONFIG/makenemo -m gfortran_osx -n GYRE_SHORT -r GYRE
42cd ${SETTE_DIR}
43. param.cfg
44. all_functions.sh
45# setting namelist parameters
46# experience name
47set_namelist namelist cn_exp \"GYRE_SHORT\"
48# first time step
49set_namelist namelist nn_it000 1
50# last time step
51set_namelist namelist nn_itend 120
52# frequency of creation of a restart file
53set_namelist namelist nn_stock 60
54cd ${SETTE_DIR}
55# run job, with 1 processor, test named SHORT (= 60 time steps)
56. ./fcm_job.sh input_GYRE.cfg 1 SHORT
Note: See TracBrowser for help on using the repository browser.