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 15758 for utils/build/dev_r4.0.4_makenemo_PSyclone – NEMO

Ignore:
Timestamp:
2022-03-18T11:56:14+01:00 (2 years ago)
Author:
smueller
Message:

Prototypal incorporation of PSyclone processing in the NEMO build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/build/dev_r4.0.4_makenemo_PSyclone

    r15757 r15758  
    8888x_u=''; x_a=''; x_m=''; x_t=''; 
    8989x_c=''; 
    90 x_j='1'; x_e='none'; x_s='src'; x_v='1' 
     90x_j='1'; x_e='none'; x_s='src'; x_v='1'; x_A='' 
    9191 
    9292##- Local variables --- 
     
    113113#- 
    114114#- Choice of the options --- 
    115 while getopts :hd:n:r:u:a:m:j:e:s:v:t:k: option; do 
     115while getopts :hd:n:r:u:a:m:j:e:s:v:t:k:A: option; do 
    116116 
    117117   case $option in 
     
    140140   -t    Path for alter build  location (default: 'BLD' in configuration folder) 
    141141   -v    Level of verbosity ([0-3]) 
     142   -A    Enable additional pre-processing ('none' by default or 'PSyclone') 
    142143 
    143144Examples 
     
    155156      ('a') x_a=${OPTARG};; ('m') x_m=${OPTARG};; ('j') x_j=${OPTARG};; ('t') x_t=${OPTARG};; 
    156157      ('e') x_e=${OPTARG};; ('s') x_s=${OPTARG};; ('v') x_v=${OPTARG}                      ;; 
    157       ('k') chk_key=${OPTARG}                                                              ;; 
     158      ('k') chk_key=${OPTARG};; ('A') x_A=${OPTARG}                                        ;; 
    158159      (':') echo ${b_n}" : -"${OPTARG}" option : missing value" 1>&2;   exit 2             ;; 
    159160      ('?') echo ${b_n}" : -"${OPTARG}" option : not supported" 1>&2;   exit 2             ;; 
     
    190191TML_CONF=${REF_CONF} 
    191192export NEMO_DIR=${MAIN_DIR}/${x_s} 
     193FPP_EXTRA='none'; [ "${x_A}" == 'PSyclone' ] && FPP_EXTRA='PSyclone' 
     194export FPP_EXTRA 
    192195 
    193196[ "${CMP_NAM}" == 'all' ] && . ${COMPIL_DIR}/Flist_archfile.sh all && exit 
Note: See TracChangeset for help on using the changeset viewer.