[Paraview] portland group compiler issues

David Partyka david.partyka at kitware.com
Sun Feb 13 16:30:20 EST 2011


Cool! Thanks Burlen. If I apply them can you give the release branch a try
to see if there are any other issues with that compiler tool chain?

On Fri, Feb 11, 2011 at 9:03 PM, Burlen Loring <bloring at lbl.gov> wrote:

> Hi,
>
> A couple of bugs turn up when building 3.8.1 using portland group compiler
> (see below) I attached a patch for each, hoping they can make it into the
> 3.10 release if they are not already there.
>
> Burlen
>
>
> [1]
>
> [ 84%] Building CXX object
> Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkMaterialInterfaceIdList.cxx.o
> "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/include/CC/stl/_function_base.h",
> line 76: error:
>          no operator "<" matches these operands
>            operand types are: const vtkMaterialInterfaceIdListItem < const
>                      vtkMaterialInterfaceIdListItem
>    bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <
> __y; }
>                                                                       ^
>          detected during:
>            instantiation of "bool std::less<_Tp>::operator()(const _Tp &,
>                      const _Tp &) const [with
>                      _Tp=vtkMaterialInterfaceIdListItem]" at line 154 of
>
>  "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu
>                      de/CC/stl/_heap.c"
>            instantiation of "void std::__adjust_heap(_RandomAccessIterator,
>                      _Distance, _Distance, _Tp, _Compare) [with
>                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem
> *,
>                      _Distance=long, _Tp=vtkMaterialInterfaceIdListItem,
>                      _Compare=std::less<vtkMaterialInterfaceIdListItem>]"
> at
>                      line 224 of
>
>  "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu
>                      de/CC/stl/_heap.c"
>            instantiation of "void std::__make_heap(_RandomAccessIterator,
>                      _RandomAccessIterator, _Compare, _Tp *, _Distance *)
>                      [with
>                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem
> *,
>                      _Compare=std::less<vtkMaterialInterfaceIdListItem>,
>                      _Tp=vtkMaterialInterfaceIdListItem,
> _Distance=ptrdiff_t]"
>                      at line 236 of
>
>  "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu
>                      de/CC/stl/_heap.c"
>            instantiation of "void std::make_heap(_RandomAccessIterator,
>                      _RandomAccessIterator, _Compare) [with
>                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem
> *,
>                      _Compare=std::less<vtkMaterialInterfaceIdListItem>]"
> at
>                      line 1055 of
>
>  "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu
>                      de/CC/stl/_algo.c"
>            instantiation of "void std::__partial_sort(_RandomAccessIter,
>                      _RandomAccessIter, _RandomAccessIter, _Tp *, _Compare)
>                      [with _RandomAccessIter=vtkMaterialInterfaceIdListItem
>                      *, _Tp=vtkMaterialInterfaceIdListItem,
>                      _Compare=std::less<vtkMaterialInterfaceIdListItem>]"
> at
>                      line 1070 of
>
>  "/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu
>                      de/CC/stl/_algo.c"
>            instantiation of "void std::partial_sort(_RandomAccessIter,
>                      _RandomAccessIter, _RandomAccessIter) [with
>                      _RandomAccessIter=vtkMaterialInterfaceIdListItem *]"
> at
>                      line 78 of
>
>  "/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Se
>                      rvers/Filters/vtkMaterialInterfaceIdList.cxx"
>
> 1 error detected in the compilation of
> "/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Servers/Filters/vtkMaterialInterfaceIdList.cxx".
> make[2]: ***
> [Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkMaterialInterfaceIdList.cxx.o]
> Error 2
> make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
> [2]
>
> "/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Servers/Filters/vtkEnSightReader2.h",
> line 331: error:
>          namespace "std" has no member "string"
>    vtkstd::map<vtkstd::string, vtkstd::map<int, long> > FileOffsets;
>                        ^
>
> 1 error detected in the compilation of
> "/global/homes/l/loring/Euclid/ParaView/PV3-3.8.1-pgi/Servers/Filters/vtkEnSight6BinaryReader2ClientServer.cxx".
> make[2]: ***
> [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkEnSight6BinaryReader2ClientServer.cxx.o]
> Error 2
> make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110213/7c876bab/attachment-0001.htm>


More information about the ParaView mailing list