Changeset 385


Ignore:
Timestamp:
09/02/08 16:28:40 (16 years ago)
Author:
aclsce
Message:

ACa : modifications to compile NEMO and to modify correctly NEMO namelist

Location:
CONFIG/trunk/IPSLCM5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/trunk/IPSLCM5/EXP00/COMP/nemo.driver

    r375 r385  
    3232    # nmsh  =1 create a mesh file (coordinates, scale factors, masks) 
    3333 
    34     PAT_NO=$(     grep 'no'     ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v off ) 
    35     PAT_CEXPER=$( grep 'cexper' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    36     PAT_NIT000=$( grep 'nit000' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    37     PAT_NITEND=$( grep 'nitend' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    38     PAT_NBISEX=$( grep 'nbisex  =' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}| sed 's/ nbisex  =//' |sed '/^[ ]$/d'|sed 's/,//' ) 
    39     PAT_NWRITE=$( grep 'nwrite  =' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    40     PAT_RESTAR=$( grep 'ln_rstart' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    41     PAT_NSTOCK=$( grep 'nstock  =' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    42     PAT_NRSTAR=$( grep 'nrstdt' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    43     PAT_NPRG=$(   grep 'nprg'   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    44     PAT_NDATE0=$( grep 'ndate0' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    45     PAT_NMSH=$(   grep 'nmsh'   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} )  
     34    PAT_NO=$(     grep 'no *='     ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v off | grep -v \!) 
     35    PAT_CEXPER=$( grep 'cexper *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     36    PAT_NIT000=$( grep 'nit000 *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     37    PAT_NITEND=$( grep 'nitend *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     38    PAT_NBISEX=$( grep 'nbisex *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}| sed 's/ nbisex  =//' |sed '/^[ ]$/d'|sed 's/,//' | grep -v \!) 
     39    PAT_NWRITE=$( grep 'nwrite *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     40    PAT_RESTAR=$( grep 'ln_rstart *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     41    PAT_NSTOCK=$( grep 'nstock *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     42    PAT_NRSTAR=$( grep 'nrstdt *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     43    PAT_NPRG=$(   grep 'nprg *='   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     44    PAT_NDATE0=$( grep 'ndate0 *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
     45    PAT_NMSH=$(   grep 'nmsh *='   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!)  
    4646#######    PAT_NWRIHF=$( grep 'nwrihf' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    4747 
    4848    ORCA_NSTOCK=$( echo $PAT_NSTOCK | sed "s/[a-z,A-Z,=]//g" ) 
    49     ORCA_RDT=$( egrep 'rdt *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | sed 's/ *rdt *=//' | sed 's/\. *,//' ) 
     49    ORCA_RDT=$( egrep 'rdt *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | sed 's/ *rdt *=//' | sed 's/\. *,//' | grep -v \!) 
    5050 
    5151    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
  • CONFIG/trunk/IPSLCM5/EXP00/PARAM/namelist_ORCA2

    r375 r385  
    5353   nleapy     =      30 
    5454   ninist     =       0 
    55    nstock     =      75 
     55   nstock     =    5400  
    5656   nwrite     =       1 
    5757   ln_dimgnnn = .false. 
  • CONFIG/trunk/IPSLCM5/scripts/BB_make

    r375 r385  
    33TMP = ../../../tmp 
    44#-Q- sx8mercure  # Compiler options NEMO (CCRT SX8-NEC)  
    5 #-Q- sx8mercure  F_O = -size_t64 -dw -Wf\"-A dbl4\" -sx6 -C vopt -Wf"-P nh" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    6 #-Q- sx8mercure  F_O = -size_t64 -dw -Wf\"-A dbl4\" -sx6 -ftrace -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
     5#-Q- sx8mercure  F_O = -size_t64 -dw -Wf\"-A dbl4\" -sx8 -C vopt -Wf"-P nh" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    76#-Q- sx8mercure  F_F = $(F_O) -f3 
    8 #-Q- sx8mercure  L_X = $(L_O) -ftrace 
     7#-Q- sx8mercure  L_X = $(L_O) 
    98#-Q- sx8brodie  # Compiler options NEMO (IDRIS SX8-NEC)  
    109#-Q- sx8brodie  F_O = -dw -Wf\"-A idbl4\" -sx8 -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
Note: See TracChangeset for help on using the changeset viewer.