source: CONFIG/trunk/IPSLCM4_v2/EXP00/COMP/oasis.driver @ 46

Last change on this file since 46 was 46, checked in by aclsce, 18 years ago

Added use of NUM_PROC_ATM

File size: 938 bytes
Line 
1#!/bin/ksh
2
3#-----------------------------------
4CPL_Initialize ()
5{
6
7echo INITIALIZE CPL !!!
8
9}
10
11#-----------------------------------
12CPL_Update ()
13{
14
15############ Update Time and Counters ##############
16##-- Calcul de la duree du job (en secondes)
17(( D_JOB_SEC = 3600 * 24 * PeriodLengthInDays ))
18
19############ Update Other Parameters  ##############
20
21############ Update Parameter Files   ##############
22sed -e "s/010101/${PeriodDateBegin}/" \
23    -e "s/432000/${D_JOB_SEC}/" \
24    -e "s/nproc_atm/${NUM_PROC_ATM}/g \
25        namcouple > namcouple.tmp
26
27    IGCM_sys_Mv namcouple.tmp namcouple
28    # Unused files we want to remove
29    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=trace
30    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=gweights
31    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=mweights
32    eval FileToBeDeleted[${#FileToBeDeleted[@]}]=anaisout
33
34}
35
36#-----------------------------------
37CPL_Finalize ()
38{
39echo FINALIZE CPL !!!
40}
Note: See TracBrowser for help on using the repository browser.