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

Last change on this file since 2229 was 2229, checked in by aclsce, 10 years ago

Added driver and card files for XIOS component (used in server mode).

File size: 894 bytes
Line 
1#!/bin/ksh
2
3#-----------------------------------
4function IOS_Initialize
5{ 
6    IGCM_debug_PushStack "IOS_Initialize"
7
8    echo INITIALIZE IOS !!!
9
10    IGCM_debug_PopStack "IOS_Initialize"
11}
12
13#-----------------------------------
14function IOS_Update
15{
16    IGCM_debug_PushStack "IOS_Update"
17
18    echo UPDATE IOS !!!
19
20    sed -e 's/<variable id="using_server"              type="boolean">false/<variable id="using_server" type="boolean">true/' iodef.xml > iodef.xml.tmp
21    IGCM_sys_Mv iodef.xml.tmp iodef.xml
22    if [ -f namcouple ] ; then
23        sed -e "s/2  lmdz.x oceanx/3 lmdz.x oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp
24        IGCM_sys_Mv namcouple.tmp namcouple
25    fi
26
27    IGCM_debug_PopStack "IOS_Update"
28}
29
30#-----------------------------------
31function IOS_Finalize
32{
33    IGCM_debug_PushStack "IOS_Finalize"
34
35    echo FINALIZE IOS !!!
36
37    IGCM_debug_PopStack "IOS_Finalize"
38}
Note: See TracBrowser for help on using the repository browser.