Ignore:
Timestamp:
08/19/13 17:55:00 (12 years ago)
Author:
Eric.Larour
Message:

CHG: fixed a bunch of asserts that were not dealing with booleans. Also made sure kriging and adolc
cannot be compiled together.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r15771 r15843  
    610610        if test "x$HAVE_AMPI" == "xyes"; then
    611611                AMPIINCL="-I$AMPI_ROOT/include"
     612                echo "adolc_root: |$ADOLC_ROOT|"
     613                if test "x$ADOLC_ROOT" == "xno"; then
     614                        AC_MSG_ERROR([cannot run adjoinable mpi without adolc]);
     615                fi
    612616                AMPILIB="-dy -L$AMPI_ROOT/lib -lampiCommon -L$ADOLC_ROOT/lib -ladolc -L$AMPI_ROOT/lib -lampiCommon -lampiBookkeeping -lampiTape"
    613617                AC_DEFINE([_HAVE_AMPI_],[1],[with adjoinable mpi in ISSM src])
     
    18651869                        AC_MSG_ERROR([need mpi if using the metis partitioner!]);
    18661870                fi
     1871               
     1872                dnl check that if we run adolc, we don't compile krigging.exe
     1873                  if test "$HAVE_ADOLC" = "yes"  && test "$HAVE_KRIGING" = "yes" ; then
     1874                        AC_MSG_ERROR([cannot compile kriging.exe under adolc conditions!]);
     1875                fi
     1876
    18671877
    18681878                  AC_MSG_RESULT(done)
Note: See TracChangeset for help on using the changeset viewer.