source: CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/libIGCM/libIGCM_debug/IGCM_debug_Test.ksh @ 5899

Last change on this file since 5899 was 5899, checked in by aclsce, 3 years ago

Modified libIGCM and configuration to run XIOS ensembles.

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/ksh
2
3#**************************************************************
4# Author: Patrick Brockmann
5# Contact: Patrick.Brockmann__at__cea.fr
6# $Revision:: 1119                                     $ Revision of last commit
7# $Author:: sdipsl                                     $ Author of last commit
8# $Date:: 2014-10-24 12:41:17 +0200 (Fri, 24 Oct 2014) $ Date of last commit
9# IPSL (2006)
10#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
11#
12#**************************************************************
13
14# This script is used to generate a reference file with command :
15# IGCM_debug_Test.ksh > IGCM_debug_Test.ref 2>&1
16# The reference file produced is used by the function IGCM_debug_Check
17# to verify that the libIGCM_debug produce the same results
18
19#=================================================
20libIGCM=`dirname $0`/..
21typeset TaskType=checking
22. ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh
23
24#=================================================
25Verbosity=3
26
27Option1="Hello Earth"
28Option2="Hello Mars"
29
30List="${R_ENTREE}/flux_iceberg . ${R_ENTREE}/Albedo.nc ."
31
32#=================================================
33# function IGCM_debug_Print
34
35IGCM_debug_Print 1 ${Option1}
36IGCM_debug_Print 1 ${Option2}
37
38IGCM_debug_Print 2 "A comment at level 2"
39IGCM_debug_Print 3 "A comment at level 3" "Another comment at level 3"
40IGCM_debug_Print 1 "A comment at level 1"
41IGCM_debug_Print 3 "Another comment at level 3"
42IGCM_debug_Print 2 "Another comment at level 2"
43
44IGCM_debug_Print 1 ${List}
45
46#=================================================
47# function IGCM_debug_PrintVariables
48
49IGCM_debug_PrintVariables 1 Option
Note: See TracBrowser for help on using the repository browser.