Changeset 4426 for LMDZ6/trunk/makelmdz
- Timestamp:
- Feb 9, 2023, 5:27:51 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/makelmdz
r4408 r4426 374 374 then 375 375 CPP_KEY="$CPP_KEY INCA" 376 INCLUDE="$INCLUDE -I${INCA_INCDIR}"377 LIB="$LIB -L${INCA_LIBDIR} -lchimie"378 libchimie=" -L${INCA_LIBDIR} -lchimie"376 INCLUDE="$INCLUDE ${INCA_INCDIR}" 377 LIB="$LIB ${INCA_LIBDIR} ${INCA_LIB}" 378 libchimie=" ${INCA_LIBDIR} ${INCA_LIB}" 379 379 fi 380 380 … … 382 382 then 383 383 CPP_KEY="$CPP_KEY CPP_COUPLE" 384 INCLUDE="$INCLUDE -I${OASIS_INCDIR}"385 LIB="$LIB -L${OASIS_LIBDIR} -lpsmile.${couple} -lmpp_io"384 INCLUDE="$INCLUDE ${OASIS_INCDIR}" 385 LIB="$LIB ${OASIS_LIBDIR} ${OASIS_LIB}" 386 386 fi 387 387 … … 446 446 then 447 447 448 INCLUDE="${INCLUDE} -I${ORCH_INCDIR}"448 INCLUDE="${INCLUDE} ${ORCH_INCDIR}" 449 449 CPP_KEY="$CPP_KEY CPP_VEGET" 450 450 # temporary, for Orchidee versions 1.9.* (before openmp activation) … … 453 453 fi 454 454 if [[ "$veget" == "orchidee2.0" ]] ; then 455 orch_libs=" sechiba parameters stomate parallel orgloborchidee"455 orch_libs="-lsechiba -lparameters -lstomate -lparallel -lorglob -lorchidee" 456 456 CPP_KEY="$CPP_KEY ORCHIDEE_NOUNSTRUCT" 457 457 elif [[ "$veget" == "orchidee2.1" ]] ; then 458 458 CPP_KEY="$CPP_KEY ORCHIDEE_NOLIC" 459 orch_libs=" sechiba parameters stomate parallel orgloborchidee"459 orch_libs="-lsechiba -lparameters -lstomate -lparallel -lorglob -lorchidee" 460 460 elif [[ "$veget" == "orchideetrunk" ]] ; then 461 orch_libs=" orchidee"461 orch_libs="-lorchidee" 462 462 else 463 orch_libs=" sechiba parameters stomate parallelorglob"463 orch_libs="-lsechiba -lparameters -lstomate -lparallel -lorglob" 464 464 fi 465 LIB="${LIB} -L${ORCH_LIBDIR}"466 for lib in ${orch_libs} ; do467 if [ -f ${ORCH_LIBDIR}/lib${LIBPREFIX}$lib.a ] ; then468 LIB="${LIB} -l${LIBPREFIX}$lib "469 fi470 done465 LIB="${LIB} ${ORCH_LIBDIR} ${orch_libs}" 466 # for lib in ${orch_libs} ; do 467 # if [ -f ${ORCH_LIBDIR}/lib${LIBPREFIX}$lib.a ] ; then 468 # LIB="${LIB} -l${LIBPREFIX}$lib " 469 # fi 470 # done 471 471 elif [[ "$veget" != "false" ]] ; then 472 472 echo "Option -v $veget does not exist" … … 479 479 then 480 480 CPP_KEY="$CPP_KEY CPP_IOIPSL" 481 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"482 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"481 INCLUDE="$INCLUDE ${IOIPSL_INCDIR}" 482 LIB="$LIB ${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl" 483 483 elif [[ $io == mix ]] 484 484 then 485 485 # For now, xios implies also using ioipsl 486 486 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS" 487 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"488 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++"487 INCLUDE="$INCLUDE ${IOIPSL_INCDIR} ${XIOS_INCDIR}" 488 LIB="$LIB ${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl ${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++" 489 489 elif [[ $io == xios ]] 490 490 then 491 491 # For now, xios implies also using ioipsl 492 492 CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS CPP_IOIPSL_NO_OUTPUT" 493 INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"494 LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++"493 INCLUDE="$INCLUDE ${IOIPSL_INCDIR} ${XIOS_INCDIR}" 494 LIB="$LIB ${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl ${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios -l${LIBPREFIX}stdc++" 495 495 fi 496 496 … … 557 557 558 558 INCLUDE="$INCLUDE ${NETCDF_INCDIR}" 559 LIB="$LIB ${NETCDF_LIBDIR} "559 LIB="$LIB ${NETCDF_LIBDIR} ${NETCDF_LIB}" 560 560 561 561 ########################################################################
Note: See TracChangeset
for help on using the changeset viewer.