source: CONFIG/UNIFORM/v6/LMDZOR_v6.3/GENERAL/DRIVER/xios.driver @ 4936

Last change on this file since 4936 was 4936, checked in by jgipsl, 4 years ago

Updated LMDZOR_v6.3 configuration files to follow LMDZOR_v6.2 structure: compilation script instead of makefiles... These chages should be used together with new LMDZ/trunk, IOIPSL/trunk and XIOS/trunk. Only difference between v6.2 and v6.3 is the version of ORCHIDEE: ORCHIDEE_2_2 in v6.2 and ORCHIDEE_3 in v6.3.

File size: 1.1 KB
Line 
1#!/bin/ksh
2#-----------------------------------
3function IOS_Initialize
4{ 
5    IGCM_debug_PushStack "IOS_Initialize"
6
7    echo INITIALIZE IOS !!!
8
9    IGCM_debug_PopStack "IOS_Initialize"
10}
11
12#-----------------------------------
13function IOS_Update
14{
15    IGCM_debug_PushStack "IOS_Update"
16
17    echo UPDATE IOS !!!
18# Activate server mode
19    IGCM_comp_modifyXmlFile force iodef.xml using_server NONE true
20
21# Activate 2nd server level for CMIP6 type experiments (CMIP6 workflow)
22    if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] || [ X"$( echo ${config_UserChoices_ExpType} | grep MR025 )" != "X" ] ; then
23       IGCM_comp_modifyXmlFile force iodef.xml using_server2 NONE true
24    fi
25
26    if [ -f namcouple ] ; then
27        sed -e "s/2  LMDZ oceanx/3 LMDZ oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp
28        IGCM_sys_Mv namcouple.tmp namcouple
29    fi
30
31    IGCM_debug_PopStack "IOS_Update"
32}
33
34#-----------------------------------
35function IOS_Finalize
36{
37    IGCM_debug_PushStack "IOS_Finalize"
38
39    echo FINALIZE IOS !!!
40
41    IGCM_debug_PopStack "IOS_Finalize"
42}
Note: See TracBrowser for help on using the repository browser.