From: Kyunghoon L. <aer...@gm...> - 2012-07-26 00:56:55
|
Hi all, I'd like to report a build error with complex numbers: Compiling C++ (in debug mode) src/numerics/distributed_vector.C... src/numerics/distributed_vector.C: In member function ‘void libMesh::DistributedVector<T>::reciprocal() [with T = std::complex<double>]’: src/numerics/distributed_vector.C:597: instantiated from here src/numerics/distributed_vector.C:214: error: no match for ‘operator<’ in ‘std::abs [with _Tp = double](((const std::complex<double>&)((const std::complex<double>*)((libMesh::DistributedVector<std::complex<double> >*)this)->libMesh::DistributedVector<std::complex<double> >::_values. std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::complex<double>, _Alloc = std::allocator<std::complex<double> >](((long unsigned int)i))))) < std::numeric_limits<_Tp>::min [with _Tp = std::complex<double>]()’ make: *** [src/numerics/distributed_vector.x86_64-apple-darwin10.8.0.dbg.o] Error 1 make: *** Waiting for unfinished jobs.... My configuration options are as follows: ./configure --prefix=/Users/aeronova/Development/local/lib64/libmesh_complex --enable-petsc --enable-slepc --enable-glpk --with-glpk-include=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/include --with-glpk-lib=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/lib --enable-ifem --enable-complex --enable-eigen --with-eigen-include=/Users/aeronova/Development/local/lib64/Eigen/include/eigen3 --disable-fparser Regards, K. Lee. |