Changeset 2239 for LMDZ5/trunk/makelmdz_fcm
- Timestamp:
- Mar 23, 2015, 8:27:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makelmdz_fcm
r2238 r2239 38 38 LIBOGCM=$LMDGCM/libo 39 39 LIBFGCM=$LMDGCM/libf 40 DYN_COMMON_PATH=$LIBFGCM/dyn3d_common 40 41 # path for optional packages, but default set to ".void_dir" 42 FILTRE_PATH=$LMDGCM/.void_dir 43 DYN_PHYS_PATH=$LMDGCM/.void_dir 41 44 RRTM_PATH=$LMDGCM/.void_dir 42 45 SISVAT_PATH=$LMDGCM/.void_dir … … 231 234 CPP_KEY="$CPP_KEY CPP_EARTH" 232 235 fi 236 # set the dyn/phys interface path 237 DYN_PHYS_PATH="${LIBFGCM}/dynlmdz_phy${physique}" 238 fi 239 240 if [[ "$filtre" == "filtrez" ]] 241 then 242 FILTRE_PATH=${LIBFGCM}/$filtre 233 243 fi 234 244 … … 342 352 then 343 353 CPP_KEY="$CPP_KEY CPP_COSP" 344 COSP_PATH="$LIBFGCM/ cosp"354 COSP_PATH="$LIBFGCM/phylmd/cosp" 345 355 # LIB="${LIB} -l${LIBPREFIX}cosp" 346 356 fi … … 410 420 \rm fxyprim.h 411 421 cp -p fxy_${grille}.h fxyprim.h 412 else 413 echo "Probleme dans les dimensions de la dynamique !!" 414 echo "Non reactive pour l'instant !!!" 422 #else 423 # echo "Probleme dans les dimensions de la dynamique !!" 424 # echo "Non reactive pour l'instant !!!" 425 fi 426 427 if (( $dimension == 1 )) 428 then 429 CPP_KEY="$CPP_KEY CPP_1D" 430 ##in 1D, add dyn3d to include path (because main prog is in physics) 431 INCLUDE="$INCLUDE -Ilibf/dyn3d -Ilibf/dyn3d_common" 432 ## no filtre in 1d: 433 FILTRE_PATH=$LMDGCM/.void_dir 434 ## no need to compile all routines in dyn3d_common either: 435 DYN_COMMON_PATH=$LMDGCM/.void_dir 436 ## no need to compile all routines in dynlmdz_phy... ; 437 ## (because key ones are included in 1D main program) 438 DYN_PHYS_PATH=$LMDGCM/.void_dir 415 439 fi 416 440 … … 473 497 else 474 498 SUFF_NAME=${SUFF_NAME}_seq 475 DYN=dyn${dimc}d 499 if (( $dimension == 1 )) 500 then 501 # dynamics-related routines in"dyn1d" subdirectory of phy${physique} 502 DYN=phy${physique}/dyn1d 503 else 504 DYN=dyn${dimc}d 505 fi 476 506 fi 477 507 … … 506 536 echo "%LIBO $LIBOGCM" >> $config_fcm 507 537 echo "%DYN $DYN" >> $config_fcm 538 echo "%DYN_COMMON $DYN_COMMON_PATH" >> $config_fcm 539 echo "%FILTRE $FILTRE_PATH" >> $config_fcm 508 540 echo "%PHYS phy${physique}" >> $config_fcm 541 echo "%DYN_PHYS $DYN_PHYS_PATH" >> $config_fcm 509 542 echo "%RRTM $RRTM_PATH" >> $config_fcm 510 543 echo "%SISVAT $SISVAT_PATH" >> $config_fcm
Note: See TracChangeset
for help on using the changeset viewer.