Hi Shirin,

it might also be that you simply didn't
#include <dumux/linear/seqsolverbackend.hh>

Kind regards
Bernd

On 12/07/2018 10:22 AM, Timo Koch wrote:


On 21. Nov 2018, at 17:17, Moradi, Shirin <[email protected] <mailto:[email protected]>> wrote:

Hello DuMux support team,
I am trying to replace my solver from AMG to SuperLU by the following line in problemfile:
SET_TYPE_PROP(El2P_TestProblem, LinearSolver, SuperLUBackend<TypeTag>);
But while compiling the problem, I get the error: ‘SuperLUBackend’ does not name a type.
Could you help me solving this issue?

Hi Shirin,

SuperLU is either not installed on your system, or, if it is installed, Dune couldn’t find it. If you installed SuperLU through a package manager, Dune will usually find it. Try removing _all_ build directories (build-cmake) and rerun dunecontrol. The terminal output of dunecontrol also tells you if SuperLU was found or not.

You can also try using UMFPackBackend<TypeTag>, in case you have UMFPack installed, which is another direct solver backend.

Best wishes,
Timo


Many thanks in advance,
Bests,
Shirin Moradi
--
Shirin Moradi
PhD student
Institut für Bio- und Geowissenschaften
IBG-3: Agrosphaere
Forschungszentrum Juelich
Phone: +49 2461 61 -96843
Telefax: +49 2461 61-2518
E-Mail:[email protected] <mailto:[email protected]>


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

_______________________________________________
Dumux mailing list
[email protected] <mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux



_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

--
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: [email protected]
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to