Changeset 10052


Ignore:
Timestamp:
10/03/11 12:18:36 (13 years ago)
Author:
Mathieu Morlighem
Message:

TAO not supported for petsc 3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solutions/controltao_core.cpp

    r9761 r10052  
    22 * \brief: core of the control solution
    33 */
     4#include <config.h>
    45#include "../toolkits/toolkits.h"
    56#include "../objects/objects.h"
     
    1314
    1415
    15 #ifdef _HAVE_TAO_
     16#if defined (_HAVE_TAO_) && (_PETSC_MAJOR_ < 3 || (_PETSC_MAJOR_ == 3 && _PETSC_MINOR_ < 2))
    1617#include "tao.h"
    1718
     
    135136#else
    136137void controltao_core(FemModel* femmodel){
    137         _error_("TAO not installed");
     138        _error_("TAO not installed or PETSc version not supported");
    138139}
    139140#endif //_HAVE_TAO_
Note: See TracChangeset for help on using the changeset viewer.