[Paraview] 3,6.1 and silo plugin

pat marion pat.marion at kitware.com
Sat Jul 18 16:53:20 EDT 2009


Hi Alin,

That's correct, PARAVIEW_USE_SILO is only useful if you have compiled
and installed Silo.  After you enable PARAVIEW_USE_SILO in cmake, new
variables should appear for you to specify the silo installation:
SILO_INCLUDE_DIR and SILO_LIBRARY.

You keep cc'ing the cmake list, maybe a mistake?  Let's keep th
discussion to paraview at paraview.org.

Pat

On Sat, Jul 18, 2009 at 4:44 PM, Alin M Elena<alinm.elena at googlemail.com> wrote:
> Hi Pat,
>
> Linux opensuse 11.1 64 bit gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision
> 141291]
> Should I understand that the silo support compiles only if I use the external
> lib?
>
> regards,
>
> Alin
>
>
> --
>  ______________________________________________________________________
>  "If the Universities will not study useless subjects, who will?"
>                             G. F. FitzGerald, Nature, 45/46, 392 (1892)
>  ______________________________________________________________________
>  Mr  Alin M ELENA
>  Irish Centre for High-End Computing -- www.ichec.ie
>  The Design Tower, Trinity Technology & Enterprise Campus
>  Grand Canal Quay,  Dublin 2, Ireland
>  Tel:   +353 (0) 1 5241608 ext 29
>  Fax: +353 (0) 1 7645845
>  http://alin.elenaworld.net
>  alin.elena at ichec.ie
>  alinm.elena at gmail.com
>  ______________________________________________________________________
> On Saturday 18 July 2009 21:33:38 you wrote:
>> > Can you compile the vtksiloReader from 3.6.1?
>>
>> Yes.  Compiling paraview 3.6.1 using g++ 4.3.2 and PARAVIEW_USE_SILO
>> enabled produces no errors, so long as you use the Silo060605 source
>> code I linked to in my previous email.  What version of Silo do you
>> have?  What is your platform and compiler?
>>
>> Pat
>>
>> On Sat, Jul 18, 2009 at 3:28 PM, Alin M Elena<alinm.elena at googlemail.com>
> wrote:
>> > Hi Pat,
>> >
>> > Thanks for the info about the visit plugins.
>> >
>> > I am afraid that I do not understand you. Can you compile the
>> > vtksiloReader from 3.6.1?
>> >
>> >
>> > Alin
>> > --
>> >  ______________________________________________________________________
>> >  "If the Universities will not study useless subjects, who will?"
>> >                             G. F. FitzGerald, Nature, 45/46, 392 (1892)
>> >  ______________________________________________________________________
>> >  Mr  Alin M ELENA
>> >  Irish Centre for High-End Computing -- www.ichec.ie
>> >  The Design Tower, Trinity Technology & Enterprise Campus
>> >  Grand Canal Quay,  Dublin 2, Ireland
>> >  Tel:   +353 (0) 1 5241608 ext 29
>> >  Fax: +353 (0) 1 7645845
>> >  http://alin.elenaworld.net
>> >  alin.elena at ichec.ie
>> >  alinm.elena at gmail.com
>> >  ______________________________________________________________________
>> >
>> > On Saturday 18 July 2009 20:21:11 you wrote:
>> >> Hi Alin,
>> >>
>> >> The PARAVIEW_USE_SILO option isn't really supported anymore, it has
>> >> been succeeded by the VisIt Database Bridge -
>> >> http://www.paraview.org/Wiki/VisIt_Database_Bridge
>> >>
>> >> Having said that, I can confirm that the silo reader
>> >> (vtkSiloReader.cxx) compiles and runs OK on linux using g++ 4.3.2.
>> >> You have to use the Silo060605 source downloaded from this page:
>> >> https://wci.llnl.gov/codes/visit/source.html.  Newer versions of Silo
>> >> probably won't work.
>> >>
>> >> Pat
>> >>
>> >> On Fri, Jul 17, 2009 at 6:03 PM, Alin M
>> >> Elena<alinm.elena at googlemail.com>
>> >
>> > wrote:
>> >> > Hi,
>> >> >
>> >> > I try to compile paraview 3.6.1 with silo plugin but I get this error
>> >> >
>> >> > [ 73%] Building CXX object
>> >> > Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o
>> >> > cd /home/alin/ParaView3/build2/Servers/Filters && /usr/bin/g++   -
>> >> > DvtkPVFilters_EXPORTS -DVTK_PYTHON_BUILD -Wno-deprecated -fPIC -
>> >> > I/home/alin/ParaView3/paraview3/Servers/Filters
>> >> > -I/home/alin/ParaView3/build2
>> >> > -I/home/alin/ParaView3/build2/VTK/Utilities -I/usr/include/python2.6 -
>> >> > I/home/alin/ParaView3/paraview3/Utilities/VTKPythonWrapping/Executable
>> >> > - I/usr/local/include -I/home/alin/ParaView3/build2/Servers/Filters -
>> >> > I/home/alin/ParaView3/paraview3/Servers/Common -
>> >> > I/home/alin/ParaView3/paraview3/Utilities/hdf5 -
>> >> > I/home/alin/ParaView3/build2/Utilities/hdf5 -
>> >> > I/home/alin/ParaView3/paraview3/VTK -I/home/alin/ParaView3/build2/VTK
>> >> > - I/home/alin/ParaView3/paraview3/VTK/Utilities -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Common -
>> >> > I/home/alin/ParaView3/build2/VTK/Common -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Filtering -
>> >> > I/home/alin/ParaView3/build2/VTK/Filtering -
>> >> > I/home/alin/ParaView3/paraview3/VTK/GenericFiltering -
>> >> > I/home/alin/ParaView3/build2/VTK/GenericFiltering -
>> >> > I/home/alin/ParaView3/paraview3/VTK/IO
>> >> > -I/home/alin/ParaView3/build2/VTK/IO -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Imaging -
>> >> > I/home/alin/ParaView3/build2/VTK/Imaging -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Rendering -
>> >> > I/home/alin/ParaView3/build2/VTK/Rendering -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Parallel -
>> >> > I/home/alin/ParaView3/build2/VTK/Parallel -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Graphics -
>> >> > I/home/alin/ParaView3/build2/VTK/Graphics -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Hybrid -
>> >> > I/home/alin/ParaView3/build2/VTK/Hybrid -
>> >> > I/home/alin/ParaView3/paraview3/VTK/VolumeRendering -
>> >> > I/home/alin/ParaView3/build2/VTK/VolumeRendering -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Widgets -
>> >> > I/home/alin/ParaView3/build2/VTK/Widgets -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Infovis -
>> >> > I/home/alin/ParaView3/build2/VTK/Infovis -
>> >> > I/home/alin/ParaView3/paraview3/VTK/Views -
>> >> > I/home/alin/ParaView3/build2/VTK/Views -
>> >> > I/home/alin/ParaView3/paraview3/Utilities/Xdmf2/vtk -
>> >> > I/home/alin/ParaView3/build2/Utilities/Xdmf2/vtk -
>> >> > I/home/alin/ParaView3/paraview3/Utilities/VTKClientServer -
>> >> > I/home/alin/ParaView3/build2/Utilities/VTKClientServer   -o
>> >> > CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o -c
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataSet*
>> >> > vtkSiloReader::CreateRectilinearMesh(DBquadmesh*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:1732:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:1732:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataSet* vtkSiloReader::GetCurve(DBfile*, const
>> >> > char*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2008:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataArray*
>> >> > vtkSiloReader::GetQuadVectorVar(DBquadvar*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2205:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2205:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2206:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataSet* vtkSiloReader::GetPointMesh(DBfile*,
>> >> > const char*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2256:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2256:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataArray*
>> >> > vtkSiloReader::GetPointVectorVar(DBmeshvar*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2306:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2306:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307:
>> >> > error: pointer of type ‘void *’ used in arithmetic
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2307:
>> >> > error: ‘void*’ is not a pointer-to-object type
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataArray*
>> >> > vtkSiloReader::GetUcdVectorVar(DBucdvar*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2482:
>> >> > error: invalid conversion from ‘void*’ to ‘float*’
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2483:
>> >> > error: invalid conversion from ‘void*’ to ‘float*’
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2485:
>> >> > error: invalid conversion from ‘void*’ to ‘float*’
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx: In
>> >> > member function ‘vtkDataSet*
>> >> > vtkSiloReader::GetUnstructuredMesh(DBfile*, const char*)’:
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2577:
>> >> > error: invalid conversion from ‘void*’ to ‘const float*’
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2578:
>> >> > error: invalid conversion from ‘void*’ to ‘const float*’
>> >> > /home/alin/ParaView3/paraview3/Servers/Filters/vtkSiloReader.cxx:2581:
>> >> > error: invalid conversion from ‘void*’ to ‘const float*’
>> >> > make[2]: ***
>> >> > [Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkSiloReader.o] Error 1
>> >> > make[2]: Leaving directory `/home/alin/ParaView3/build2'
>> >> > make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFilters.dir/all] Error 2
>> >> > make[1]: Leaving directory `/home/alin/ParaView3/build2'
>> >> > make: *** [all] Error 2
>> >> >
>> >> >
>> >> > Any thoughts
>> >> > Alin
>


More information about the ParaView mailing list