[Paraview] vtkIdType of int for 64bit Linux binary of PV 3.6.1?

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Mon Jul 27 10:31:45 EDT 2009


I see, thanks again.

Takuya

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: Berk Geveci <berk.geveci at kitware.com>
Subject: Re: [Paraview] vtkIdType of int for 64bit Linux binary of PV 3.6.1?
Date: Mon, 27 Jul 2009 09:04:49 -0400

> This is intentional. 64 bit ids are mainly useful for processing
> really large structured datasets in a non-distributed way. Otherwise,
> they are unnecessary but cause all data structures used to represent
> unstructured data to bloat. Ideally, I would like to see this change
> such that ids can be on 32 bit or 64 bit on a dataset to dataset
> basis.
> 
> -berk
> 
> On Sat, Jul 25, 2009 at 12:25 AM, Takuya
> OSHIMA<oshima at eng.niigata-u.ac.jp> wrote:
> > Hi,
> >
> > Trying to create a plugin that can be loaded into the precompiled
> > official ParaView 3.6.1 binaries from Kitware, I noticed that the
> > Linux 64bit package (paraview-3.6.1-Linux64-x86.tar.gz) was compiled
> > with the actual type of vtkIdType set to int. For example,
> >
> > $ nm libvtkCommon.so.pv3.6 | c++filt | grep vtkDataArray::GetComponent
> > 00000000000f5400 T vtkDataArray::GetComponent(int, int)
> >
> > where the first int argument is of type vtkIdType at the source code
> > level. Indeed, my plugin won't load unless it was compiled and linked
> > with a ParaView build with VTK_USE_64BIT_IDS=OFF.
> >
> > On the other hand, when I do the same for the official Linux 64bit
> > ParaView 3.4.0, I get the following.
> >
> > $ nm libvtkCommon.so.pv3.4 | c++filt | grep vtkDataArray::GetComponent
> > 00000000000f8d50 T vtkDataArray::GetComponent(long long, int)
> >
> > Just out of curiosity, is this intended?
> >
> > Takuya OSHIMA, Ph.D.
> > Faculty of Engineering, Niigata University
> > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
> > _______________________________________________
> > 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