Last change
on this file since 4123 was
4107,
checked in by jgipsl, 7 years ago
|
First version of an experience betaclim using libIGCM.
|
File size:
787 bytes
|
Rev | Line | |
---|
[4107] | 1 | #!/bin/ksh |
---|
| 2 | #----------------------------------- |
---|
| 3 | function IOS_Initialize |
---|
| 4 | { |
---|
| 5 | IGCM_debug_PushStack "IOS_Initialize" |
---|
| 6 | |
---|
| 7 | echo INITIALIZE IOS !!! |
---|
| 8 | |
---|
| 9 | IGCM_debug_PopStack "IOS_Initialize" |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | #----------------------------------- |
---|
| 13 | function 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 | if [ -f namcouple ] ; then |
---|
| 22 | sed -e "s/2 LMDZ oceanx/3 LMDZ oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp |
---|
| 23 | IGCM_sys_Mv namcouple.tmp namcouple |
---|
| 24 | fi |
---|
| 25 | |
---|
| 26 | IGCM_debug_PopStack "IOS_Update" |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | #----------------------------------- |
---|
| 30 | function IOS_Finalize |
---|
| 31 | { |
---|
| 32 | IGCM_debug_PushStack "IOS_Finalize" |
---|
| 33 | |
---|
| 34 | echo FINALIZE IOS !!! |
---|
| 35 | |
---|
| 36 | IGCM_debug_PopStack "IOS_Finalize" |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.