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 7646 for trunk/NEMOGCM/CONFIG/makenemo – NEMO

Ignore:
Timestamp:
2017-02-06T10:25:03+01:00 (7 years ago)
Author:
timgraham
Message:

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/CONFIG/makenemo

    r5144 r7646  
    9090x_r=""; 
    9191x_u=""; 
     92x_a=""; 
    9293x_m=""; 
    9394x_t=""; 
     
    123124#- 
    124125#- Choice of the options --- 
    125 while getopts :hd:n:r:u:m:j:e:s:v:t:k: V 
     126while getopts :hd:n:r:u:a:m:j:e:s:v:t:k: V 
    126127do 
    127128    case $V in 
     
    142143        echo " -k 0/1       : used cpp keys check (default = 1 -> check activated)"; 
    143144   echo " -t dir       : temporary directory for compilation" 
     145   echo " -a dir       : alternative sub-directory for configurations (below CONFIG)" 
    144146   echo ""; 
    145147   echo "Example to install a new configuration MY_CONFIG"; 
     
    149151   echo "Available configurations :"; cat ${CONFIG_DIR}/cfg.txt; 
    150152   echo ""; 
    151         echo "Available unsupported (external) configurations :"; cat ${CONFIG_DIR}/uspcfg.txt; 
     153        echo "Available unsupported (external) configurations :";  
     154              if [ -f ${CONFIG_DIR}/uspcfg.txt ] ; then cat ${CONFIG_DIR}/uspcfg.txt; fi; 
     155   echo ""; 
     156   echo "Example to install an unsupoorted configuration MY_USP"; 
     157   echo "makenemo -n MY_USP -u MY_USP" ; 
    152158   echo ""; 
    153159   echo "Example to remove bad configuration "; 
     
    174180   (r)  x_r=${OPTARG};; 
    175181   (u)  x_u=${OPTARG};; 
     182   (a)  x_a=${OPTARG};; 
    176183   (m)  x_m=${OPTARG};; 
    177184   (j)  x_j=${OPTARG};; 
     
    223230 
    224231#- 
    225 #- Go to NEMOGCM/config directory --- 
     232#- Go to NEMOGCM/CONFIG directory --- 
    226233cd ${CONFIG_DIR} 
    227234 
    228235#- 
    229236#- Initialisation from input --- 
     237export ALT_DIR=${x_a} 
     238if [ ! -z $ALT_DIR ]; then 
     239 if [ -d ${CONFIG_DIR}/${ALT_DIR} ]; then 
     240   export CONFIG_DIR=${CONFIG_DIR}/${ALT_DIR} 
     241#- 
     242#- Go to named subdirectory of the NEMOGCM/CONFIG directory --- 
     243   cd ${CONFIG_DIR} 
     244 fi 
     245fi 
    230246export NEW_CONF=${x_n} 
    231247NBR_PRC=${x_j} 
     
    244260    echo 
    245261    echo "Available unsupported (external) configurations :"  
    246     cat ${CONFIG_DIR}/uspcfg.txt 
     262    if [ -f ${CONFIG_DIR}/uspcfg.txt ] ; then cat ${CONFIG_DIR}/uspcfg.txt; fi; 
    247263    exit 
    248264fi 
Note: See TracChangeset for help on using the changeset viewer.