Re: [Paraview] portland group compiler issues

2011-02-14 Thread David Partyka
Hi Burlen,

Your changes are on git master and release branches. Please give them a try
and let me know if you find anything else. Thanks!

On Sun, Feb 13, 2011 at 6:53 PM, burlen burlen.lor...@gmail.com wrote:

 Thanks Dave, I'll give it a try.


 On 02/13/2011 01:30 PM, David Partyka wrote:

 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 blor...@lbl.gov mailto:
 blor...@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::lessvtkMaterialInterfaceIdListItem] 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::lessvtkMaterialInterfaceIdListItem,
 _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::lessvtkMaterialInterfaceIdListItem] 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::lessvtkMaterialInterfaceIdListItem] 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::mapvtkstd::string, vtkstd::mapint, 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





Re: [Paraview] portland group compiler issues

2011-02-13 Thread David Partyka
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 blor...@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::lessvtkMaterialInterfaceIdListItem]
 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::lessvtkMaterialInterfaceIdListItem,
  _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::lessvtkMaterialInterfaceIdListItem]
 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::lessvtkMaterialInterfaceIdListItem]
 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::mapvtkstd::string, vtkstd::mapint, 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



Re: [Paraview] portland group compiler issues

2011-02-13 Thread burlen

Thanks Dave, I'll give it a try.

On 02/13/2011 01:30 PM, David Partyka wrote:
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 blor...@lbl.gov 
mailto:blor...@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::lessvtkMaterialInterfaceIdListItem] 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::lessvtkMaterialInterfaceIdListItem,

 _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::lessvtkMaterialInterfaceIdListItem] 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::lessvtkMaterialInterfaceIdListItem] 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::mapvtkstd::string, vtkstd::mapint, 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]: ***