Changeset 6043 for TOOLS


Ignore:
Timestamp:
01/13/22 11:17:00 (2 years ago)
Author:
omamce
Message:

O.M. : add choice of fcm (old/new) to make_mosaix like in XIOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/make_mosaix

    r6041 r6043  
    1515             
    1616# Traitement de la ligne de commande 
     17fcm_version=OLD 
    1718while ((${#} > 0)) ; do 
    1819    case ${1} in 
     
    2324            echo "       [--xios path] : path to XIOS. Default is ${xios_dir}" 
    2425            echo "       [--full]      : to generate dependencies and recompile from scratch" 
     26            echo "       [--fcm]       : fcm version compatibility : 'new'/'old'/'OLD'/'NEW'" 
    2527            echo "Example : ./make_mosaix --xios ../XIOS" 
    2628            exit 
     
    2830        "--xios")  xios_dir=$(realpath ${2})   ; xios_path_defined="TRUE"; shift ; shift ;; 
    2931        "--full")  compil_full="true"  ; shift ;; 
     32        "--fcm")   fcm_version=${2^^}  ; shift ; shift ;; 
    3033    esac 
    3134done 
     
    6467make_dir=${PWD} 
    6568 
    66 export PATH=${xios_dir}/tools/FCM_NEW/bin:${PATH} 
     69export PATH=${xios_dir}/tools/FCM_${fcm_version}/bin:${PATH} 
    6770 
    6871source ${install_dir}/arch.env 
Note: See TracChangeset for help on using the changeset viewer.