source: tags/libIGCM_v1_7/libIGCM_sys/libIGCM_sys.ksh @ 302

Last change on this file since 302 was 257, checked in by sdipsl, 14 years ago
  • Add mercure-new : libIGCM_sys_mercure.ksh
  • SX9 use mercure-new for post-processing
  • Few feature missing on mercure-new dmget not yet install for example
  • Properly reset all svn:keywords feature
  • Bugfix in libIGCM_post.ksh when RebuildFromArchive? was false
  • Bugfix in IGCM_Patch_20090317_histcomFillvalue.ksh when renaming _Fillvalue we now just add missing_value to be retro-compatible
  • Some more comments
  • Property licence set to
    The following licence information concerns ONLY the libIGCM tools
    ==================================================================

    Copyright © Centre National de la Recherche Scientifique CNRS
    Commissariat à l'Énergie Atomique CEA

    libIGCM : Library for Portable Models Computation of IGCM Group.

    IGCM Group is the french IPSL Global Climate Model Group.

    This library is a set of shell scripts and functions whose purpose is
    the management of the initialization, the launch, the transfer of
    output files, the post-processing and the monitoring of datas produce
    by any numerical program on any plateforme.

    This software is governed by the CeCILL license under French law and
    abiding by the rules of distribution of free software. You can use,
    modify and/ or redistribute the software under the terms of the CeCILL
    license as circulated by CEA, CNRS and INRIA at the following URL
    "http://www.cecill.info".

    As a counterpart to the access to the source code and rights to copy,
    modify and redistribute granted by the license, users are provided only
    with a limited warranty and the software's author, the holder of the
    economic rights, and the successive licensors have only limited
    liability.

    In this respect, the user's attention is drawn to the risks associated
    with loading, using, modifying and/or developing or reproducing the
    software by the user in light of its specific status of free software,
    that may mean that it is complicated to manipulate, and that also
    therefore means that it is reserved for developers and experienced
    professionals having in-depth computer knowledge. Users are therefore
    encouraged to load and test the software's suitability as regards their
    requirements in conditions enabling the security of their systems and/or
    data to be ensured and, more generally, to use and operate it in the
    same conditions as regards security.

    The fact that you are presently reading this means that you have had
    knowledge of the CeCILL license and that you accept its terms.
  • Property svn:keywords set to Date Author Revision
File size: 2.5 KB
Line 
1#!/bin/ksh
2
3#**************************************************************
4# Author: Martial Mancip
5# Contact: Martial.Mancip@ipsl.jussieu.fr
6# $Date$
7# $Author$
8# $Revision$
9# IPSL (2006)
10#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
11# History:
12# Modification: JobType ( Protect output datas )
13#
14#**************************************************************
15
16# bypass specific internationalization (for awk)
17export LC_ALL="C"
18
19# By default, all libIGCM_sys save functions will protect output datas (RUN execution mode)
20# other values : DEB(ug), DEV(elopment).
21JobType=${JobType:=RUN}
22
23echo
24echo "===================================================="
25echo "Where do we run ?"
26uname -a
27echo "===================================================="
28echo
29
30
31if [ X${JobType} = XDEB ] ; then
32    echo "DEBUG mode : activation of 'set -vx' mode."
33    set -vx
34    DEBUG_debug=true
35    DEBUG_sys=true
36    echo "===================================================="
37fi
38
39case $( hostname -s ) in
40
41    brodie*)
42        echo "sys source brodie Nec SX8 lib."
43        . ${libIGCM}/libIGCM_sys/libIGCM_sys_brodie.ksh;;
44
45    vargas*)
46        echo "sys source vargas IBM P6 lib."
47        . ${libIGCM}/libIGCM_sys/libIGCM_sys_vargas.ksh;;
48
49    ulam)
50        echo "sys source ulam Intel X-64 lib."
51        . ${libIGCM}/libIGCM_sys/libIGCM_sys_ulam.ksh;;
52
53    mercure)
54        echo "sys source mercure frontend TX7 IA-64 lib."
55        . ${libIGCM}/libIGCM_sys/libIGCM_sys_mercureTX.ksh;;
56
57    mercure0?)
58        echo "sys source mercure frontend X-64 lib."
59        . ${libIGCM}/libIGCM_sys/libIGCM_sys_mercure.ksh;;
60
61    mercure1?)
62        echo "sys source mercure Nec SX8-R lib."
63        . ${libIGCM}/libIGCM_sys/libIGCM_sys_mercurex8.ksh;;
64
65    mercure2?)
66        echo "sys source mercure Nec SX9 lib."
67        . ${libIGCM}/libIGCM_sys/libIGCM_sys_mercurex9.ksh;;
68
69    platine*)
70        echo "sys source platine Intel IA-64 lib."
71        . ${libIGCM}/libIGCM_sys/libIGCM_sys_platine.ksh;;
72
73    titane*)
74        echo "sys source platine Intel X-64 lib."
75        . ${libIGCM}/libIGCM_sys/libIGCM_sys_titane.ksh;;
76
77    cesium*)
78        echo "sys source cesium Intel X-64 lib."
79        . ${libIGCM}/libIGCM_sys/libIGCM_sys_cesium.ksh;;
80
81    claude|nougaro|ghio|grebil|robin)
82        echo "sys source LMD lib."
83        . ${libIGCM}/libIGCM_sys/libIGCM_sys_claude.ksh;;
84
85    calculo)
86        echo "sys source calculo lib."
87        . ${libIGCM}/libIGCM_sys/libIGCM_sys_calculo.ksh;;
88
89    obelix*)
90        echo "sys source obelix lib."
91        . ${libIGCM}/libIGCM_sys/libIGCM_sys_obelix.ksh;;
92
93    *)
94        echo "sys source default lib."
95        . ${libIGCM}/libIGCM_sys/libIGCM_sys_default.ksh;;
96
97esac
Note: See TracBrowser for help on using the repository browser.