[Dune] conflicting defines for SuperLU ?

Benedikt Oswald benedikt.oswald at psi.ch
Thu Nov 24 14:42:29 CET 2011


Hello Dune, I just stumbled over the fact that when compiling Dune with
SuperLU support, i.e. using something like --with-superlu=…
then HAVE_SUPERLU is defined to be 

/* Define to ENABLE_SUPERLU if SUPERLU is found */
#define HAVE_SUPERLU ENABLE_SUPERLU


in the  config.h file

But, e.g. in amg.hh there is the praam #if HAVE_SUPERLU

so is it the case that, since HAVE_SUPERLU is defined to ENABLE_SUPERLU
and not 1, that part of the code is then not compiled in ?

dune-istl version is: 

odysseus:dune-istl oswald$ svn info
Path: .
URL: https://svn.dune-project.org/svn/dune-istl/trunk
Repository Root: https://svn.dune-project.org/svn/dune-istl
Repository UUID: 8c7282f0-4411-0410-8e4f-cdd3e049afb8
Revision: 1506
Node Kind: directory
Schedule: normal
Last Changed Author: joe
Last Changed Rev: 1506
Last Changed Date: 2011-11-11 01:31:52 +0100 (Fri, 11 Nov 2011)


Greetings, Benedikt


--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist, http://amas.web.psi.ch
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12

"Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
 Ernesto 'Che' Guevara, Letter to his parents.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111124/ee5e44c4/attachment.htm>


More information about the Dune mailing list