Dear All,
I am running into this complilation error, after fumbling through the
installation of SuperLU (the on-line installation documentation did not say
that you are expected to see warning from dune configure that --with-superlu
can not be recognized).
Any hints to get this resolved? Many thanks!
root@szdebian:/home/szhang/dumux/dumux-2.1.0/test/freeflow/stokes# make
checkmake test_stokes
make[1]: Entering directory
`/home/szhang/dumux/dumux-2.1.0/test/freeflow/stokes'
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include
-I/home/szhang/dumux/dune-common-2.1.0 -I/home/szhang/dumux/dune-grid-2.1.0
-I/home/szhang/dumux/dune-localfunctions-2.1.0
-I/home/szhang/dumux/dune-istl-2.1.0 -I/usr/lib/openmpi/include
-I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1
-I/home/szhang/dumux/dune-common-2.1.0 -DGRIDDIM=0 -DWORLDDIM=0 -DNOGRID
-I/home/szhang/dumux/dune-grid-2.1.0
-I/home/szhang/dumux/dune-localfunctions-2.1.0
-I/home/szhang/dumux/SuperLU_4.3/SRC -DENABLE_SUPERLU
-I/home/szhang/dumux/dune-istl-2.1.0 -I/usr/include -Wall -Wunused
-Wmissing-include-dirs -Wcast-align -Wno-sign-compare
-Wno-packed-bitfield-compat -Wno-unused-parameter -fno-strict-aliasing
-fstrict-overflow -ffast-math -fno-finite-math-only -O3 -march=native
-DNDEBUG=1 -MT test_stokes.o -MD -MP -MF .deps/test_stokes.Tpo -c -o
test_stokes.o test_stokes.cc
In file included from ../../../dumux/linear/seqsolverbackend.hh:32,
from ../../../dumux/linear/boxlinearsolver.hh:34,
from ../../../dumux/nonlinear/newtoncontroller.hh:37,
from ../../../dumux/boxmodels/common/boxpropertydefaults.hh:35,
from ../../../dumux/boxmodels/common/boxmodel.hh:32,
from ../../../dumux/freeflow/stokes/stokesmodel.hh:31,
from stokestestproblem.hh:42,
from test_stokes.cc:28:
/home/szhang/dumux/dune-istl-2.1.0/dune/istl/superlu.hh: In member function
‘void Dune::SuperLU<Dune::BCRSMatrix<Dune::FieldMatrix<K, n, p>, TA>
>::apply(Dune::BlockVector<Dune::FieldVector<T, m>, typename
A::rebind<Dune::FieldVector<T, m> >::other>&,
Dune::BlockVector<Dune::FieldVector<K, COLS>, typename
A::rebind<Dune::FieldVector<K, COLS> >::other>&, Dune::InverseOperatorResult&)’:
/home/szhang/dumux/dune-istl-2.1.0/dune/istl/superlu.hh:350: error: ‘DOUBLE’
was not declared in this scope
/home/szhang/dumux/dune-istl-2.1.0/dune/istl/superlu.hh: In member function
‘void Dune::SuperLU<Dune::BCRSMatrix<Dune::FieldMatrix<K, n, p>, TA>
>::apply(T*, T*)’:
/home/szhang/dumux/dune-istl-2.1.0/dune/istl/superlu.hh:415: error: ‘DOUBLE’
was not declared in this scope
make[1]: *** [test_stokes.o] Error 1
make[1]: Leaving directory `/home/szhang/dumux/dumux-2.1.0/test/freeflow/stokes'
make: *** [check-am] Error 2
-Shawn
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux