New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2318 for branches/nemo_v3_3_beta/NEMOGCM/CONFIG/makenemo – NEMO

Ignore:
Timestamp:
2010-10-27T15:16:55+02:00 (14 years ago)
Author:
flavoni
Message:

change script to add and remove keys for new configurations and old ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/CONFIG/makenemo

    r2302 r2318  
    125125           echo "./makenemo clean"; 
    126126                          echo ""; 
    127            echo "Example to add and remove keys "; 
     127           echo "Example to add and remove keys"; 
    128128           echo "./makenemo add_key \"key_iomput key_mpp_mpi\" del_key \"key_agrif\" "; 
     129                          echo ""; 
     130           echo "Example to add and remove keys for a new configuration, and do not compile"; 
     131           echo "./makenemo -n MY_CONFIG -j0 add_key \"key_iomput key_mpp_mpi\" del_key \"key_agrif\" "; 
    129132                          echo ""; 
    130133                          . ${COMPIL_DIR}/Flist_archfile.sh  ; 
     
    248251#- We add or remove keys 
    249252if [ ${#list_add_key} -ne 0 ] ; then 
    250    . ${COMPIL_DIR}/Fadd_keys.sh ${list_add_key}  
     253   . ${COMPIL_DIR}/Fadd_keys.sh ${NEW_CONF} add_key ${list_add_key}  
    251254fi 
    252255 
    253256if [ ${#list_del_key} -ne 0 ] ; then 
    254    . ${COMPIL_DIR}/Fdel_keys.sh 
     257   . ${COMPIL_DIR}/Fdel_keys.sh ${NEW_CONF} del_key ${list_del_key} 
    255258fi 
    256259 
Note: See TracChangeset for help on using the changeset viewer.