- Timestamp:
- 06/25/21 18:03:14 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/make_xios
r1875 r2166 11 11 use_extern_blitz="false" 12 12 use_memtrack="false" 13 use_tv="false"14 13 job="1" 15 14 netcdf_lib="netcdf4_par" … … 19 18 arch_defined="FALSE" 20 19 arch_path_defined="FALSE" 20 fcm_version=new 21 21 22 22 # Traitement de la ligne de commande … … 35 35 echo " [--full] : to generate dependencies and recompile from scratch" 36 36 echo " [--use_oasis 'oasis3' 'oasis3_mct' : default oasis3_mct] : to use Oasis coupler" 37 echo " [--build_path] : absolute path to the build directory" 38 echo " [--build_dir ]: name of the build directory" 39 echo " [--build_suffixed ]: generate automatically suffixed name of the build directory (e.g. config_X64_CURIE_prod)" 40 echo " [--use_extern_boost] : to use external boost library" 41 echo " [--use_extern_blitz] : to use external blitz library" 42 echo " [--use_tv] : to use totalview data type display" 37 echo " [--build_path : absolute path to the build directory" 38 echo " [--build_dir : name of the build directory" 39 echo " [--build_suffixed : generate automatically suffixed name of the build directory (e.g. config_X64_CURIE_prod)" 40 echo " [--use_extern_boost : to use external boost library" 41 echo " [--use_extern_blitz : to use external blitz library" 43 42 echo " [--doc] : to generate Doxygen documentation (not available yet)" 44 43 echo " [--job ntasks] : to use parallel compilation with ntasks" 45 44 echo " [--netcdf_lib 'netcdf4_par'/'netcdf4_seq'/'netcdf4_internal' : default netcdf4_par] : choice of netcdf library" 46 45 echo " [--memtrack] : tracking memory leak - developper only" 46 echo " [--fcm] : fcm version compatibility : 'new'/'old'" 47 47 echo "Example : ./make_xios --prod --arch PW6_VARGAS" 48 48 echo "Example : ./make_xios --avail" … … 61 61 "--use_extern_boost") use_extern_boost="true" ; shift ;; 62 62 "--use_extern_blitz") use_extern_blitz="true" ; shift ;; 63 "--use_tv") use_tv="true" ; shift ;;64 63 "--doc") doc="true" ; shift ;; 65 64 "--job") job=$2 ; shift ; shift ;; 66 65 "--netcdf_lib") netcdf_lib=$2 ; shift ; shift ;; 67 66 "--memtrack") use_memtrack="true" memtrack=$2 ; shift ; shift ;; 67 "--fcm") fcm_version=$2 ; shift ; shift ;; 68 68 *) code="$1" ; shift ;; 69 69 esac … … 236 236 fi 237 237 238 if [[ "$use_tv" == "true" ]]239 then240 echo "src::tv_data_display $PWD/extern/tv_data_display" >> ${PWD}/bld_dir.cfg241 fi242 243 238 244 239 if [[ "$use_memtrack" == "true" ]] … … 284 279 make_dir=$PWD 285 280 286 export PATH=$PWD/tools/FCM/bin:$PATH 287 281 if [[ "$fcm_version" == "new" ]] 282 then 283 export PATH=$PWD/tools/FCM_NEW/bin:$PATH 284 elif [[ "$fcm_version" == "old" ]] 285 then 286 export PATH=$PWD/tools/FCM_OLD/bin:$PATH 287 else 288 echo "=> Bad option for --fcm flag : "$fcm_version" , only 'new' or 'old' permitted" 289 fi 290 288 291 if [[ "$compil_full" == "true" ]] 289 292 then
Note: See TracChangeset
for help on using the changeset viewer.