- Timestamp:
- Dec 7, 2012, 3:51:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makelmdz
r1551 r1690 19 19 chimie=false 20 20 parallel=none 21 paramem="par" 21 22 compil_mod=prod 22 23 io=ioipsl … … 26 27 27 28 # guess a default 'arch' 28 arch=" g95" # start with assuming we're on a Linux/Unix machine with g9529 arch="local" # start with assuming we're on a local machine with local arch file 29 30 ## try to recognise machine and infer arch from it 30 31 machine=`hostname` … … 113 114 [-cpp CPP_KEY] : cle cpp supplementaires 114 115 [-adjnt] : adjoint, a remettre en route ... 116 [-mem] : version memoire reduite (si en mode parallele) 115 117 [-filtre NOMFILTRE] : prend le filtre dans libf/NOMFILTRE (def: filtrez) 116 118 [-link LINKS] : liens optionels avec d autres librairies … … 170 172 "-cosp") 171 173 cosp="$2" ; shift ; shift ;; 174 175 "-mem") 176 paramem="mem" ; shift ;; 172 177 173 178 "-filtre") … … 273 278 if [[ "$physique" != "nophys" ]] 274 279 then 275 #Default planet type is Earth 280 #We'll use some physics 281 CPP_KEY="$CPP_KEY CPP_PHYS" 282 if [[ "${physique:0:3}" == "lmd" ]] 283 then 284 #For lmd physics, default planet type is Earth 276 285 CPP_KEY="$CPP_KEY CPP_EARTH" 286 fi 277 287 fi 278 288 … … 435 445 then 436 446 SUFF_NAME=${SUFF_NAME}_para 437 DYN=dyn${dimc}dpar 447 DYN=dyn${dimc}d${paramem} 448 if [[ "$paramem" == "mem" ]] 449 then 450 SUFF_NAME=${SUFF_NAME}_${paramem} 451 fi 438 452 else 439 453 SUFF_NAME=${SUFF_NAME}_seq
Note: See TracChangeset
for help on using the changeset viewer.