Changeset 2369 for trunk/LMDZ.COMMON/makelmdz_fcm
- Timestamp:
- Jun 11, 2020, 10:46:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz_fcm
r2339 r2369 458 458 # for Titan add microphysics dependencies 459 459 if [[ -d ${LIBFGCM}/muphy${physique} ]] ; then 460 461 # add muphy{physique} to the list of files to compile. 462 MUPHY_PATH="${LIBFGCM}/muphy${physique}" 463 # For Titan as we embbed some libraries with CPP keys, we define them: 464 # -DPREC={32|64|80} real kind precision (32: simple, 64: double, 80: extended double) 465 # -DHAVE_NC_FTN=1 (mandatory: for support of NetCDF in lintnd). 466 CPP_KEY="$CPP_KEY PREC=64 HAVE_NC_FTN=1" 467 if [[ "${physique}" == "titan" ]] ; then 468 echo "Yaahh you're about to use YAMMS in a GCM..." 460 if ! [ `echo $CPP_KEY | grep -c "OLD_COMPILO"` -gt 0 ] ; then 461 # add muphy{physique} to the list of files to compile. 462 MUPHY_PATH="${LIBFGCM}/muphy${physique}" 463 # For Titan as we embbed some libraries with CPP keys, we define them: 464 # -DPREC={32|64|80} real kind precision (32: simple, 64: double, 80: extended double) 465 # -DHAVE_NC_FTN=1 (mandatory: for support of NetCDF in lintnd). 466 CPP_KEY="$CPP_KEY PREC=64 HAVE_NC_FTN=1" 467 if [[ "${physique}" == "titan" ]] ; then 468 echo "Yaahh you're about to use YAMMS in a GCM..." 469 fi 469 470 fi 470 471 fi
Note: See TracChangeset
for help on using the changeset viewer.