Ignore:
Timestamp:
05/24/11 16:56:31 (13 years ago)
Author:
aclsce
Message:

Modifications to have the same iodef.xml for all IPSLCM5A
configurations : use of DBIO_ENABLE parameter defined in pisced.card
(false for EXP00, true for the others)

Location:
CONFIG/IPSLCM/IPSLCM5A/CpiControl/COMP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5A/CpiControl/COMP/pisces.card

    r1148 r1437  
    33 
    44[UserChoices] 
     5DBIO_ENABLE=y 
    56 
    67[InitialStateFiles] 
  • CONFIG/IPSLCM/IPSLCM5A/CpiControl/COMP/pisces.driver

    r1316 r1437  
    6161    fi 
    6262 
     63    ##-- Enable dbio output file 
     64    DBIO_ENABLE=".FALSE."  
     65    eval pisces_DBIO_ENABLE=\${pisces_UserChoices_DBIO_ENABLE} > /dev/null 2>&1 
     66    if [ "${pisces_DBIO_ENABLE}" = "y" ]; then 
     67        DBIO_ENABLE=".TRUE." 
     68    fi 
     69 
     70    # update iodef.xml 
     71 
     72    echo 'Informations into iodef.xml : DBIO_ENABLE' 
     73    echo ${DBIO_ENABLE} 
     74 
     75    sed -e "s/<DBIO_ENABLE>/${DBIO_ENABLE}/" \ 
     76        iodef.xml > iodef.xml.tmp 
     77 
     78    IGCM_sys_Mv iodef.xml.tmp iodef.xml 
     79 
    6380    ##-- GHG forcing for the current year. Normally constant 
    6481    PathCO2log=${SUBMIT_DIR} 
Note: See TracChangeset for help on using the changeset viewer.