Changeset 1785 for CONFIG/UNIFORM/v5


Ignore:
Timestamp:
06/22/12 10:54:40 (12 years ago)
Author:
aclsce
Message:

Moved lmdzgrep function from *_update function to *_initialize function
for oasis and pisces component (because of bad behaviour on SX9).

Location:
CONFIG/UNIFORM/v5
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/DRIVER/oasis.driver

    r1650 r1785  
    66  
    77    echo INITIALIZE CPL !!! 
     8 
     9# Local function to find parameters in LMDZ .def files 
     10    lmdzgrep () { 
     11        grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
     12    } 
    813 
    914    RESOL_CPL=$( echo $RESOL | awk "-F-" '{print $1}' ) 
     
    3641{ 
    3742    IGCM_debug_PushStack "CPL_Update" 
    38  
    39     # Local function to find parameters in LMDZ .def files 
    40     lmdzgrep () { 
    41         grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    42     } 
    4343 
    4444    ############ Update Time and Counters ############## 
  • CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/DRIVER/pisces.driver

    r1775 r1785  
    99supergrep () { 
    1010    grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
     11} 
     12 
     13# Local function to find parameters in LMDZ .def files 
     14 
     15lmdzgrep () { 
     16    grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    1117} 
    1218 
     
    3036{ 
    3137    IGCM_debug_PushStack "MBG_Update" 
    32  
    33     # Local function to find parameters in LMDZ .def files 
    34     lmdzgrep () { 
    35         grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    36     } 
    3738 
    3839    ##-- Restart configuration 
  • CONFIG/UNIFORM/v5/IPSLCM5_v5/GENERAL/DRIVER/oasis.driver

    r1650 r1785  
    66  
    77    echo INITIALIZE CPL !!! 
     8 
     9# Local function to find parameters in LMDZ .def files 
     10    lmdzgrep () { 
     11        grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
     12    } 
    813 
    914    RESOL_CPL=$( echo $RESOL | awk "-F-" '{print $1}' ) 
     
    3641{ 
    3742    IGCM_debug_PushStack "CPL_Update" 
    38  
    39     # Local function to find parameters in LMDZ .def files 
    40     lmdzgrep () { 
    41         grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    42     } 
    4343 
    4444    ############ Update Time and Counters ############## 
  • CONFIG/UNIFORM/v5/IPSLCM5_v5/GENERAL/DRIVER/pisces.driver

    r1775 r1785  
    99supergrep () { 
    1010    grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
     11} 
     12 
     13# Local function to find parameters in LMDZ .def files 
     14 
     15lmdzgrep () { 
     16    grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    1117} 
    1218 
     
    3036{ 
    3137    IGCM_debug_PushStack "MBG_Update" 
    32  
    33     # Local function to find parameters in LMDZ .def files 
    34     lmdzgrep () { 
    35         grep $1 $2 |grep -v "#" | awk "-F=" '{print $2}' 
    36     } 
    3738 
    3839    ##-- Restart configuration 
Note: See TracChangeset for help on using the changeset viewer.