[Paraview] building paraview 3.98.1 with the pgi compiler (13.3.0-12.5.0)
Hong Yi
hongyi at renci.org
Tue Jul 16 13:36:17 EDT 2013
Just a supplemental note to the previous message below: if I don't run ccmake to reconfigure and regenerate, and directly run "make" after changing the line to "#define VTK_CONST_REVERSE_ITERATOR_COMPARISON 1" the same error/issue still remains. Looks like this VTK_CONST_REVERSE_ITERATOR_COMPARISON, although defined in the vtkConfigure.h, is not honored by the pgi compiler on Titan. Any suggestions/workarounds to get around this issue?
Thanks,
Hong
-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Hong Yi
Sent: Monday, July 15, 2013 12:49 PM
To: Robert Maynard; Parete-Koon, Suzanne T.
Cc: paraview at paraview.org
Subject: Re: [Paraview] building paraview 3.98.1 with the pgi compiler (13.3.0-12.5.0)
Thanks, Robert. I have been working with Suzanne on this issue. The line in vtkConfigure.h is:
#define VTK_CONST_REVERSE_ITERATOR_COMPARISON
We changed it to be
#define VTK_CONST_REVERSE_ITERATOR_COMPARISON 1 but after reconfiguring and regenerating, the line changes back to the original "#define VTK_CONST_REVERSE_ITERATOR_COMPARISON"
Because of this, rebuilding ParaView on Titan with pgi compiler generates the same error.
Any further suggestions on this issue?
Thanks,
Hong
________________________________________
From: paraview-bounces at paraview.org [paraview-bounces at paraview.org] on behalf of Robert Maynard [robert.maynard at kitware.com]
Sent: Wednesday, July 03, 2013 11:10 AM
To: Parete-Koon, Suzanne T.
Cc: paraview at paraview.org
Subject: Re: [Paraview] building paraview 3.98.1 with the pgi compiler (13.3.0-12.5.0)
We have seen this issue with const_reverse_iterators before on older versions of gcc. What is the value of VTK_CONST_REVERSE_ITERATOR_COMPARISON in the build directory file Common/Core/vtkConfigure.h?
On Wed, Jul 3, 2013 at 10:26 AM, Parete-Koon, Suzanne T.
<paretekoonst at ornl.gov> wrote:
> We are having difficulty building paraview with the pgi compiler on a large cray system. pgCC does not seem to recognize the "!=" for a certain class of functions. We have tried several versions of the pgi compiler. Has anyone encountered this? Is there a patch or a workaround?
>
> Here is the error.
>
> "/ccs/proj/nfi010/ParaView/ParaView-3.98.1-source/VTK/Rendering/Context2D/vtkAbstractContextItem.cxx", line 167: error:
> no operator "!=" matches these operands operand types are:
> vtkContextScenePrivate::const_reverse_iterator
> != std::reverse_iterator<vtkAbstractContextItem **>
> this->Children->rbegin(); it != this->Children->rend(); ++it)
> ^
> Many thanks,
>
>
> SPK
> _______________________________________________
> 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
_______________________________________________
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
_______________________________________________
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
More information about the ParaView
mailing list