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?<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 9:03 PM, Burlen Loring <span dir="ltr">&lt;<a href="mailto:bloring@lbl.gov">bloring@lbl.gov</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
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.<br>
<br>
Burlen<br>
<br>
<br>
[1]<br>
<br>
[ 84%] Building CXX object Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkMaterialInterfaceIdList.cxx.o<br>
&quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/include/CC/stl/_function_base.h&quot;, line 76: error:<br>
          no operator &quot;&lt;&quot; matches these operands<br>
            operand types are: const vtkMaterialInterfaceIdListItem &lt; const<br>
                      vtkMaterialInterfaceIdListItem<br>
    bool operator()(const _Tp&amp; __x, const _Tp&amp; __y) const { return __x &lt; __y; }<br>
                                                                       ^<br>
          detected during:<br>
            instantiation of &quot;bool std::less&lt;_Tp&gt;::operator()(const _Tp &amp;,<br>
                      const _Tp &amp;) const [with<br>
                      _Tp=vtkMaterialInterfaceIdListItem]&quot; at line 154 of<br>
                      &quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu<br>
                      de/CC/stl/_heap.c&quot;<br>
            instantiation of &quot;void std::__adjust_heap(_RandomAccessIterator,<br>
                      _Distance, _Distance, _Tp, _Compare) [with<br>
                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem *,<br>
                      _Distance=long, _Tp=vtkMaterialInterfaceIdListItem,<br>
                      _Compare=std::less&lt;vtkMaterialInterfaceIdListItem&gt;]&quot; at<br>
                      line 224 of<br>
                      &quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu<br>
                      de/CC/stl/_heap.c&quot;<br>
            instantiation of &quot;void std::__make_heap(_RandomAccessIterator,<br>
                      _RandomAccessIterator, _Compare, _Tp *, _Distance *)<br>
                      [with<br>
                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem *,<br>
                      _Compare=std::less&lt;vtkMaterialInterfaceIdListItem&gt;,<br>
                      _Tp=vtkMaterialInterfaceIdListItem, _Distance=ptrdiff_t]&quot;<br>
                      at line 236 of<br>
                      &quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu<br>
                      de/CC/stl/_heap.c&quot;<br>
            instantiation of &quot;void std::make_heap(_RandomAccessIterator,<br>
                      _RandomAccessIterator, _Compare) [with<br>
                      _RandomAccessIterator=vtkMaterialInterfaceIdListItem *,<br>
                      _Compare=std::less&lt;vtkMaterialInterfaceIdListItem&gt;]&quot; at<br>
                      line 1055 of<br>
                      &quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu<br>
                      de/CC/stl/_algo.c&quot;<br>
            instantiation of &quot;void std::__partial_sort(_RandomAccessIter,<br>
                      _RandomAccessIter, _RandomAccessIter, _Tp *, _Compare)<br>
                      [with _RandomAccessIter=vtkMaterialInterfaceIdListItem<br>
                      *, _Tp=vtkMaterialInterfaceIdListItem,<br>
                      _Compare=std::less&lt;vtkMaterialInterfaceIdListItem&gt;]&quot; at<br>
                      line 1070 of<br>
                      &quot;/global/common/euclid/usg/pgi/10.8/linux86-64/10.8/inclu<br>
                      de/CC/stl/_algo.c&quot;<br>
            instantiation of &quot;void std::partial_sort(_RandomAccessIter,<br>
                      _RandomAccessIter, _RandomAccessIter) [with<br>
                      _RandomAccessIter=vtkMaterialInterfaceIdListItem *]&quot; at<br>
                      line 78 of<br>
                      &quot;/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Se<br>
                      rvers/Filters/vtkMaterialInterfaceIdList.cxx&quot;<br>
<br>
1 error detected in the compilation of &quot;/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Servers/Filters/vtkMaterialInterfaceIdList.cxx&quot;.<br>
make[2]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkMaterialInterfaceIdList.cxx.o] Error 2<br>
make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
[2]<br>
<br>
&quot;/global/homes/l/loring/Euclid/ParaView/ParaView-3.8.1/Servers/Filters/vtkEnSightReader2.h&quot;, line 331: error:<br>
          namespace &quot;std&quot; has no member &quot;string&quot;<br>
    vtkstd::map&lt;vtkstd::string, vtkstd::map&lt;int, long&gt; &gt; FileOffsets;<br>
                        ^<br>
<br>
1 error detected in the compilation of &quot;/global/homes/l/loring/Euclid/ParaView/PV3-3.8.1-pgi/Servers/Filters/vtkEnSight6BinaryReader2ClientServer.cxx&quot;.<br>
make[2]: *** [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkEnSight6BinaryReader2ClientServer.cxx.o] Error 2<br>
make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>