Changeset 2056 for LMDZ5/branches/testing/makelmdz
- Timestamp:
- Jun 11, 2014, 3:46:46 PM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1998,2000-2023,2025-2029,2032,2034,2036-2049,2051-2055
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/makelmdz
r1999 r2056 32 32 ## try to recognise machine and infer arch from it 33 33 machine=`hostname` 34 if [[ "$machine" == "brodie" ]]35 then36 arch="SX8_BRODIE"37 fi38 34 if [[ "${machine:0:3}" == "ada" ]] 39 35 then 40 36 arch="X64_ADA" 41 fi42 if [[ "${machine:0:6}" == "ciclad" ]]43 then44 arch="AMD64_CICLAD"45 37 fi 46 38 if [[ "${machine:0:7}" == "platine" ]] … … 84 76 85 77 CPP_KEY="" 86 INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/ dyn3d_common -I$(LIBF)/filtrez -I. '78 INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/filtrez -I. ' 87 79 LIB="" 88 80 adjnt="" … … 167 159 CPP_KEY="$CPP_KEY $2" ; shift ; shift ;; 168 160 169 "-adjnt")170 echo "not operational ... work to be done here ";exit171 opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d "172 optim="$optim -Dadj" ; shift ;;173 174 161 "-cosp") 175 162 cosp="$2" ; shift ; shift ;; … … 487 474 cp -p fxy_${grille}.h fxyprim.h 488 475 filtre="FILTRE=$filtre" 489 INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d${FLAG_PARA} '476 INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d${FLAG_PARA} -I$(LIBF)/dyn3d_common ' 490 477 elif (( $dimc == 2 )) ; then 491 478 filtre="FILTRE= L_FILTRE= " 492 479 INCLUDE="$INCLUDE "'-I$(LIBF)/dyn2d' 493 480 elif (( $dimc == 1 )) ; then 481 CPP_KEY="$CPP_KEY CPP_1D" 494 482 filtre="L_DYN= DYN= FILTRE= L_FILTRE= DIRMAIN=phy$physique " 495 INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d ' # Pas tres propre483 INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d -I$(LIBF)/dyn3d_common ' # Pas tres propre 496 484 else 497 485 echo Dimension dimc=$dimc pas prevu ; exit 498 486 fi 499 487 500 ######################################################################501 # Creation du suffixe de la configuration502 ######################################################################503 504 SUFF_NAME=_${dim_full}505 SUFF_NAME=${SUFF_NAME}_phy${physique}506 507 if [[ "$parallel" != "none" ]]508 then509 SUFF_NAME=${SUFF_NAME}_para510 DYN=dyn${dimc}d${paramem}511 if [[ "$paramem" == "mem" ]]512 then513 SUFF_NAME=${SUFF_NAME}_${paramem}514 fi515 else516 SUFF_NAME=${SUFF_NAME}_seq517 DYN=dyn${dimc}d518 fi519 520 if [[ $veget != "false" ]]521 then522 SUFF_NAME=${SUFF_NAME}_orch523 fi524 525 if [[ $couple != "false" ]]526 then527 SUFF_NAME=${SUFF_NAME}_couple528 fi529 530 if [[ $chimie == "INCA" ]]531 then532 SUFF_NAME=${SUFF_NAME}_inca533 fi534 488 535 489 cd $LMDGCM … … 574 528 if [[ -r $LMDGCM/libf/dyn${dimc}d${FLAG_PARA}/${code}.F90 ]] 575 529 then 530 source_code=${code}.F90 531 elif [[ -r $LMDGCM/libf/phy$physique/${code}.F90 ]] ; then 576 532 source_code=${code}.F90 577 533 fi
Note: See TracChangeset
for help on using the changeset viewer.