[Paraview] portland group compiler issues

Burlen Loring bloring at lbl.gov
Fri Feb 11 21:03:00 EST 2011


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkEnSightReader2.h.patch
Type: text/x-patch
Size: 408 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110211/6f4a1305/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkMaterialInterfaceIdListItem.h.patch
Type: text/x-patch
Size: 1444 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110211/6f4a1305/attachment-0001.bin>


More information about the ParaView mailing list