Hi,
here's my LibMesh installation problem:
First I build petsc-2.3.3-p13 with the configuration:
$ ./config/configure.py --download-f-blas-lapack=1 --with-mpi
--download-mpich=1 --with-scalar-type=complex --with-clanguage=cxx
--with-superlu=1 --download-superlu=1 --with-superlu_dist=1
--download-superlu_dist=1 --with-debugging=0 --with-cc=gcc
--with-fc=gfortran --with-mpi-compilers=0
Modifications in file "petscconf" in $PETSC_DIR/bmake/linux-gnu-cxx-opt/
MPI_LIB =
-Wl,-rpath,/opt/petsc-2.3.3-p13/externalpackages/mpich2-1.0.5p4/linux-gnu-cxx-opt/lib
-L/opt/petsc-2.3.3-p13/externalpackages/mpich2-1.0.5p4/linux-gnu-cxx-opt/lib
-lmpich -lnsl -lrt
This works well.
Now I want to build libmesh (Checked out revision 3026) with the
configuration:
$ ./configure --enable-complex --enable-ifem --enable-exodus
--enable-laspack --with-cc=gcc --with-cxx=g++ --with-f77=gfortran
Modifications in file "Make.common":
libmesh_CXXFLAGS += -DMPICH_SKIP_MPICXX
$ make
Following error occurs:
src/solvers/exact_solution.C: In member function ‘void
ExactSolution::_compute_error(const std::string&, const std::string&,
std::__debug::vector<std::complex<double>,
std::allocator<std::complex<double> > >&)’:
src/solvers/exact_solution.C:512: error: no match for ‘operator<’ in
‘((std::__debug::vector<std::complex<double>,
std::allocator<std::complex<double> >
>*)error_vals)->std::__debug::vector<_Tp, _Allocator>::operator[] [with
_Tp = std::complex<double>, _Allocator =
std::allocator<std::complex<double> >](4u) < norm’
/opt/libMesh/libmeshDbgComplex/include/parallel/parallel.h: At global scope:
/opt/libMesh/libmeshDbgComplex/include/parallel/parallel.h:64: warning:
inline function ‘Parallel::data_type Parallel::datatype() [with T =
std::complex<double>]’ used but never defined
make: *** [src/solvers/exact_solution.i686-pc-linux-gnu.dbg.o] Error 1
make: *** Waiting for unfinished jobs....
What's happening ?
Maybe its just a comparison fault:
line 512: if(error_vals[4] < norm) { error_vals[4] = norm; }
variable-types: norm = Real, error_vals = std::vector<Number>
Best Regards,
Franz Rammerstorfer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel