source: issm/oecreview/Archive/20545-21336/ISSM-20803-20804.diff@ 21337

Last change on this file since 21337 was 21337, checked in by Mathieu Morlighem, 8 years ago

CHG: added Archive/20545-21336

File size: 797 bytes
RevLine 
[21337]1Index: ../trunk-jpl/m4/issm_options.m4
2===================================================================
3--- ../trunk-jpl/m4/issm_options.m4 (revision 20803)
4+++ ../trunk-jpl/m4/issm_options.m4 (revision 20804)
5@@ -2056,6 +2056,10 @@
6 if test "$HAVE_ADOLC" = "yes" && test "$HAVE_KRIGING" = "yes" ; then
7 AC_MSG_ERROR([cannot compile kriging.exe under adolc conditions!]);
8 fi
9+ dnl check that if we run adolc, we don't use PETSc for now
10+ if test "$HAVE_ADOLC" = "yes" && test "$HAVE_PETSC" = "yes" ; then
11+ AC_MSG_ERROR([cannot compile ISSM with both PETSc and adolc]);
12+ fi
13 dnl check that if we run meteoio, we have snowpack also
14 if test "$HAVE_METEOIO" = "yes" && test "$HAVE_SNOWPACK" = "no" ; then
15 AC_MSG_ERROR([cannot compile MeteoIO package without Snowpack!]);
Note: See TracBrowser for help on using the repository browser.