source: CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/xios.driver @ 3828

Last change on this file since 3828 was 3828, checked in by mafoipsl, 6 years ago

For IPSLCM6 let xios.driver set using_server and useing_server2. Set at false by default.

File size: 1016 bytes
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" ] ; 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.