[Trilinos-Users] Sundance building with pgi

Jason Slemons slemons at cray.com
Wed Oct 7 11:02:35 MDT 2009


I am having trouble building a program in Sundance with pgi 9.0.4. I get an error when compiling
trilinos-10.0-Source/packages/Sundance/src-core/UserExprs/SundanceParameter.cpp

below is the outout:

[ 93%] Building CXX object packages/Sundance/src-core/CMakeFiles/sundanceCore.dir/\
UserExprs/SundanceParameter.cpp.o
cd /home/users/slemons/trilinos/trilinos-10.0-Source/pgi.2.BUILD/packages/Sundance\
/src-core && /opt/cray/xt-asyncpe/3.4.7/bin/CC    -DHAVE_MPI_CXX -DMPICH_IGNORE_CX\
X_SEEK

(a ton of -I directories here)

  -o CMakeFiles/sundanceCore.dir/UserExprs/SundanceParameter.cpp.o \
-c /home/users/slemons/trilinos/trilinos-10.0-Source/packages/Sundance/src-core/Us\
erExprs/SundanceParameter.cpp

(a ton of warnings here)

"/opt/pgi/9.0.4/linux86-64/9.0/include/CC/stl/_iterator.h", line 244: error:
          class "SundanceUtils::Set<SundanceCore::MultipleDeriv,
          std::less<SundanceCore::MultipleDeriv>>" has no member "value_type"
    operator=(const typename _Container::value_type& __val) {
                                         ^
          detected during:
            instantiation of class "std::insert_iterator<_Container> [with
                      _Container=SundanceUtils::Set<SundanceCore::MultipleDeriv
                      , std::less<SundanceCore::MultipleDeriv>>]"
            instantiation of "SundanceUtils::Set<Key, Compare>

Any ideas on how to get past this and fix it? I haven't had any trouble with any other compilers...

-Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20091007/7efc037f/attachment.html 


More information about the Trilinos-Users mailing list