Changeset 895 for trunk/LMDZ.COMMON/makelmdz_fcm
- Timestamp:
- Mar 7, 2013, 2:28:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz_fcm
r847 r895 23 23 veget=false 24 24 chimie=false 25 chemistry=false 25 26 parallel=none 26 27 compil_mod=prod … … 32 33 LIBOGCM=$LMDGCM/libo 33 34 LIBFGCM=$LMDGCM/libf 35 # path for optional packages, but default set to ".void_dir" 34 36 COSP_PATH=$LMDGCM/.void_dir 37 CHEM_PATH=$LMDGCM/.void_dir 38 # Path to fcm utility: 35 39 fcm_path=$LMDGCM/tools/fcm/bin 36 40 … … 250 254 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl" 251 255 fi 256 252 257 if [[ "$cosp" == "true" ]] 253 258 then … … 255 260 COSP_PATH="$LIBFGCM/cosp" 256 261 # LIB="${LIB} -l${LIBPREFIX}cosp" 262 fi 263 264 if [[ "$physique" == "titan" ]] 265 then 266 CHEM_PATH="${LIBFGCM}/chim${physique}" 267 INCLUDE="$INCLUDE -I${LIBFGCM}/chim${physique}" 257 268 fi 258 269 … … 303 314 \rm fxyprim.h 304 315 cp -p fxy_${grille}.h fxyprim.h 305 else 306 echo "Probleme dans les dimensions de la dynamique !!" 307 echo "Non reactive pour l'instant !!!" 316 #else 317 # echo "Probleme dans les dimensions de la dynamique !!" 318 # echo "Non reactive pour l'instant !!!" 319 fi 320 321 if (( $dimension == 1 )) 322 then 323 ##in 1D, add dyn3d to include path (because main prog is in physics) 324 INCLUDE="$INCLUDE -Ilibf/dyn3d" 325 # echo pas de dynamique 326 # dyn="DYN= L_DYN=-ldyn3d " 308 327 fi 309 328 … … 359 378 SUFF_NAME=${SUFF_NAME}_seq 360 379 DYN=dyn${dimc}d 380 ## specific stuff for 1D model (needs includes which are in dyn3d) 381 if (( $dimension == 1 )) ; then 382 SUFF_NAME=${SUFF_NAME} 383 DYN=dyn3d 384 fi 361 385 fi 362 386 … … 393 417 echo "%PHYS phy${physique}" >> $config_fcm 394 418 echo "%COSP $COSP_PATH" >> $config_fcm 419 echo "%CHEM $CHEM_PATH" >> $config_fcm 395 420 echo "%CPP_KEY $CPP_KEY" >> $config_fcm 396 421 echo "%EXEC $code" >> $config_fcm
Note: See TracChangeset
for help on using the changeset viewer.