[Paraview] building paraview 3.98.1 with the pgi compiler (13.3.0-12.5.0)

Hong Yi hongyi at renci.org
Mon Jul 15 12:49:03 EDT 2013


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


More information about the ParaView mailing list