[Trilinos-Users] make error
Jason Slemons
slemons at cray.com
Tue Feb 10 18:01:56 MST 2009
I found an error while running 'make everything' which is at the bottom
, any help would be appreciated. Im running with pgi compilers. My
configure script(which runs fine) is:
/configure --prefix=/home/users/slemons/trilinos-9.0.2-PGI/cary-xt-pgi
CC=cc CXX=CC F77=f77 F90=ftn FC=ftn CFLAGS='-O3 -fast -fastsse -tp
barcelona-64' CXXFLAGS='-O3 -fast -DHAVE_MPI_CXX -DMPICH_IGNORE_CXX_SEEK
-tp barcelona-64' FFLAGS="-O3 -fastsse -fast -tp barcelona-64" \
--enable-static \
--host=x86_64-unknown-linux-gnu \
--disable-shared \
--disable-default-packages \
--enable-mpi \
--enable-didasko \
--enable-epetra \
--with-gnumake LIBS=-lsci \
--with-ml_parmetis3x\
And the make error:
"/opt/pgi/8.0.3/linux86-64/8.0-3/include/CC/stl/_construct.h", line 103:
error:
no instance of overloaded
"Teuchos::ArrayView<T>::operator new [with T=int]" matches the
argument list
argument types are: (unsigned long, Teuchos::ArrayView<int>
*)
_STLP_PLACEMENT_NEW (__p) _T1(__val);
^
detected during:
instantiation of "void std::_Construct(_T1 *, const _T2 &)
[with
_T1=Teuchos::ArrayView<int>,
_T2=Teuchos::ArrayView<int>]"
instantiation of "_ForwardIter
std::__uninitialized_fill_n(_ForwardIter, _Size,
const
_Tp &, const std::__false_type &) [with
_ForwardIter=Teuchos::ArrayView<int> *,
_Size=unsigned
long, _Tp=Teuchos::ArrayView<int>]"
instantiation of "_ForwardIter
std::uninitialized_fill_n(_ForwardIter, _Size,
const _Tp
&) [with _ForwardIter=Teuchos::ArrayView<int> *,
_Size=unsigned long, _Tp=Teuchos::ArrayView<int>]"
instantiation of "std::vector<_Tp, _Alloc>::vector(size_t,
const
_Tp &, const std::_Vector_base<_Tp,
_Alloc>::allocator_type &) [with
_Tp=Teuchos::ArrayView<int>,
_Alloc=std::allocator<Teuchos::ArrayView<int>>]"
instantiation of "Teuchos::Array<T>::Array(std::vector<T,
std::allocator<_Tp1>>::size_type, const
std::vector<T,
std::allocator<_Tp1>>::value_type &) [with
T=Teuchos::ArrayView<int>]"
instantiation of "bool testArray<T>(int,
Teuchos::FancyOStream &)
[with T=int]"
Anyone seen this before?
-Jason Slemons
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20090210/d92e4b34/attachment.html
More information about the Trilinos-Users
mailing list