Changeset 1107 for trunk/LMDZ.COMMON/makelmdz
- Timestamp:
- Nov 19, 2013, 12:52:22 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/makelmdz (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz
r1076 r1107 28 28 scatterers="" 29 29 dyn="" 30 full='' 30 31 31 32 # guess a default 'arch' … … 135 136 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 136 137 [-link LINKS] : additional links with other libraries 137 [-f cm_path path] : path to the fcm tool (default: tools/fcm/bin)138 [-full] : full (re-)compilation (from scratch) 138 139 [-ext_src path] : path to an additional set of routines to compile with the model 139 140 -arch arch : target architecture … … 203 204 LIB="$LIB $2" ; shift ; shift ;; 204 205 205 "-f cm_path")206 f cm_path=$2 ; shift; shift ;;206 "-full") 207 full="full" ; shift ;; 207 208 208 209 "-ext_src") … … 327 328 fi 328 329 ######### 330 331 # for Mars (but could be used by others as well), there is also "aeronomars" 332 if [[ -d ${LIBFGCM}/aerono${physique} ]] 333 then 334 INCLUDE="$INCLUDE -I${LIBFGCM}/aerono${physique}" 335 LIB="$LIB -l${LIBPREFIX}aerono$physique" 336 opt_dep="$opt_dep aerono$physique" 337 laeronomars="-l${LIBPREFIX}aeronomars" 338 fi 339 329 340 330 341 if [[ "$chimie" == "INCA" ]] … … 581 592 cd $LMDGCM 582 593 594 #cleanup for a full recompilation, if requested 595 if [[ $full == "full" ]] 596 then 597 # remove makefile and $libo/* 598 cd $LMDGCM 599 \rm -f makefile 600 \rm -rf $LIBOGCM/* 601 fi 583 602 584 603 ######################################################################## … … 743 762 L_ADJNT=$adjnt \ 744 763 L_COSP="$lcosp" \ 764 L_AERONOMARS="$laeronomars" \ 745 765 L_CHIMIE="$libchimie" \ 746 766 LOCAL_DIR="$localdir" \ … … 774 794 L_ADJNT="$adjnt" \ 775 795 L_COSP="$lcosp" \ 796 L_AERONOMARS="$laeronomars" \ 776 797 L_CHIMIE="$libchimie" \ 777 798 LOCAL_DIR="$localdir" \
Note: See TracChangeset
for help on using the changeset viewer.
