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 11723 for utils – NEMO

Changeset 11723 for utils


Ignore:
Timestamp:
2019-10-18T14:33:36+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Review of INSTALL.rst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/build/makenemo

    r11692 r11723  
    5252# - TOOLS_DIR   :   "    "    " 
    5353# - NEMO_DIR    :   "    "    " 
    54 # - REMOTE_CTL  : URL link to a remote resource list for an external configuration  
     54# - REMOTE_CTL  : URL link to a remote resource list for an external configuration 
    5555#                 which is not part of the reference suite 
    56 # - LOCAL_REF   : Nearest reference configuration to an external configuration  
     56# - LOCAL_REF   : Nearest reference configuration to an external configuration 
    5757#                 which is not part of the reference suite 
    5858#                 (used to populate work directories if remote access is not available) 
     
    119119Usage: 
    120120------ 
    121 ./makenemo -[aru] CONFIG -m ARCH [-[dehjntv] ...] [{list_key,clean,clean_config}] [{add_key,del_key} ...] 
    122  
    123 Mandatory: 
    124    -m   Computing architecture (./arch), FCM file describing the compilation settings 
     121./makenemo -[aru] CONFIG -m ARCH [-[dehjntv] ...] [{list_key,clean,clean_config}] 
     122                                                  [{add_key,del_key} ...] 
     123 
     124Mandatory 
     125   -m    Computing architecture (./arch), FCM file describing the compilation settings 
     126 
    125127   and one of the following option (use 'all' arg to list available items) 
    126    -r   Reference configuration (./cfgs), proven with long-term support until the EOL of the release 
    127    -a   Academic test case (./tests), ready to use at the release start without guarantee or support over time 
    128    -u   Scripted remote configuration (see ./tests/rmt_cfgs.txt) 
    129  
    130 Optional: 
    131    -d   New set of sub-components (list from ./src directory) 
    132    -e   Path for alter patch  location (default: 'MY_SRC' in configuration folder) 
    133    -h   Print this help 
    134    -j   Number of processes to compile (0: dry run with no build) 
    135    -n   Name for new configuration 
    136    -s   Path for alter source location (default: 'src' root directory) 
    137    -t   Path for alter build  location (default: 'BLD' in configuration folder) 
    138    -v   Level of verbosity ([0-3]) 
    139  
    140 Examples: 
     128 
     129   -r    Reference configuration (./cfgs), proven with long-term support 
     130   -a    Academic test case (./tests), ready-to-use configuration with no support over time 
     131   -u    Scripted remote configuration (see ./tests/rmt_cfgs.txt) 
     132 
     133Optional 
     134   -d    New set of sub-components (subfolders from ./src directory) 
     135   -e    Path for alter patch  location (default: 'MY_SRC' in configuration folder) 
     136   -h    Print this help 
     137   -j    Number of processes to compile (0: dry run with no build) 
     138   -n    Name for new configuration 
     139   -s    Path for alter source location (default: 'src' root directory) 
     140   -t    Path for alter build  location (default: 'BLD' in configuration folder) 
     141   -v    Level of verbosity ([0-3]) 
     142 
     143Examples 
    141144   ¤ Configuration creation 
    142         Build          : ./makenemo -[aru] ... [...] 
     145        Build          : ./makenemo         -[aru] ... [...] 
    143146        Copy           : ./makenemo -n ...  -[aru] ... [...] 
    144147   ¤ Configuration management 
    145         List CPP keys  : ./makenemo [...] list_key 
    146         Add-Remove keys: ./makenemo [...] add_key '...' del_key '...' 
    147         Fresh start    : ./makenemo [...] clean 
    148         Erasure        : ./makenemo [...] clean_config 
     148        List CPP keys  : ./makenemo -n ... list_key 
     149        Add-Remove keys: ./makenemo -n ... add_key '...' del_key '...' 
     150        Fresh start    : ./makenemo -n ... clean 
     151        Removal        : ./makenemo -n ... clean_config 
    149152EOF 
    150153            exit 0       ;; 
     
    258261else 
    259262 
    260    ## Reuse a working cfg   
     263   ## Reuse a working cfg 
    261264   if [[ -f ${CONFIG_DIR}/work_cfgs.txt && $( grep "${TML_CONF} " ${CONFIG_DIR}/work_cfgs.txt ) ]]; then 
    262265      conf_file=work_cfgs.txt 
     
    362365 
    363366   ## if AGRIF we do a first preprocessing 
    364    if [[ ${#x_c} -eq 0 && "$AGRIFUSE" -eq 1 ]]; then  
     367   if [[ ${#x_c} -eq 0 && "$AGRIFUSE" -eq 1 ]]; then 
    365368      fcm build --ignore-lock -j 1 ${COMPIL_DIR}/bld_preproagr.cfg ||{ cd - ; exit 1 ;} 
    366369      echo '' 
Note: See TracChangeset for help on using the changeset viewer.