Changeset 1391 for trunk/LMDZ.COMMON/makelmdz
- Timestamp:
- Mar 6, 2015, 3:12:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz
r1302 r1391 118 118 [-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp 119 119 [-g GRI] : grid configuration in dyn3d/GRI_xy.h (default: reg, inclues a zoom) 120 [-io IO] : Input/Output library (default: ioipsl)120 [-io ioipsl/mix/xios] : Input/Output library (default: ioipsl) 121 121 [-include INCLUDES] : extra include path to add 122 122 [-cpp CPP_KEY] : additional preprocessing definitions … … 209 209 210 210 ############################################################### 211 # lecture des chemins propres àl'architecture de la machine #211 # lecture des chemins propres \`a l'architecture de la machine # 212 212 ############################################################### 213 213 rm -f .void_file … … 424 424 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}" 425 425 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl" 426 elif [[ $io == xios]]426 elif [[ $io == mix ]] 427 427 then 428 428 # For now, xios implies also using ioipsl 429 429 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS" 430 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}" 431 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios" 432 elif [[ $io == xios ]] 433 then 434 # For now, xios implies also using ioipsl 435 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS CPP_IOIPSL_NO_OUTPUT" 430 436 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}" 431 437 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios" … … 551 557 cd $LMDGCM 552 558 553 #cleanup for a full recompilation, if requested 559 ######################################################################## 560 # library directory name: 561 ######################################################################## 562 563 nomlib=`echo ${arch}_${physique}_${dim_full}_${grille}_${compil_mod}_parall${parallel}_${CPP_KEY}_${FLAG_PARA} | sed -e 's/ //g' -e 's/-//g ' | sed -e 's/CPP_//g'` 564 echo "Path to library: "$nomlib 565 566 ######################################################################## 567 # Cleanup for a full recompilation, if requested 568 ######################################################################## 569 554 570 if [[ $full == "full" ]] 555 571 then 556 # remove makefile and $libo/*557 cd $LMDGCM572 # remove makefile and libraries 573 echo "-full option: recompiling from scratch" 558 574 \rm -f makefile 559 \rm -rf $LIBOGCM/*575 \rm -rf "${LIBOGCM}/${nomlib}" 560 576 fi 561 577 … … 650 666 fi 651 667 fi 652 653 # library directory name:654 nomlib=`echo ${arch}_${physique}_${dim_full}_${grille}_${compil_mod}_parall${parallel}_${CPP_KEY}_${FLAG_PARA} | sed -e 's/ //g' -e 's/-//g ' | sed -e 's/CPP_//g'`655 echo $nomlib656 668 657 669 if [[ ! -d "${LIBOGCM}/${nomlib}" ]]
Note: See TracChangeset
for help on using the changeset viewer.