On Mon, 9 Feb 2009, Derek Gaston wrote:

> Does anyone know how to snoop to see if Petsc is configured with Hypre
> support?  I don't see a simple #define HAS_HYPRE or some such anywhere
> in the Petsc source.

Does PETSc end up including any HYPRE headers from the PETSc headers?
If so then #ifdef HYPRE_HEADER (defined in HYPRE.h) should get it.

But as far as I can tell, "HYPRE.h" is only included from PETSc C
files...

There's a PETSC_HAVE_HYPRE, but I don't see where it's set.

If you do end up having to snoop this stuff with autoconf, I think I'd
prefer a #define in libmesh_config.h to a -D option on the command
line.  The former makes debugging easier, the latter harder.
---
Roy

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to