[Paraview] Still more trouble compiling VisitBridge with Paraview 3.10 on RHEL 5
Cook, Rich
cook47 at llnl.gov
Mon Apr 11 20:41:52 EDT 2011
Well, the git repo still does not seem to install the MILI reader correctly, but perhaps you were just saying it builds correctly. I guess I already had a workaround for that.
I'm looking forward to a working mili reader install or a workaround in the meantime! Thanks!
-- Rich
On Apr 11, 2011, at 4:05 PM, Cook, Rich wrote:
I just downloaded Paraview 3.10 from the paraview webpage -- didn't use git. Our git is older, too. I'm not a git user but I guess it's time to learn!
-- Rich
On Apr 11, 2011, at 3:54 PM, Robert Maynard wrote:
Hi Rich,
When do you last update ParaView? I am pretty sure I fixed this issue on Friday. You will need to run a git submodule update in the root of your source tree to get the update.
On Mon, Apr 11, 2011 at 6:13 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
FYI,
The dynamic build also failed just like the static build, as it apparently fails to include my value of MILI_INCLUDE_DIR. So I have for now added that directory to the SILO_INCLUDE_DIR to enable compiling.
[ 32%] Building CXX object Utilities/VisItBridge/databases/CMakeFiles/vtkVisItDatabases.dir/vtkVisItMiliReader.cxx.o
cd /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Utilities/VisItBridge/databases && /usr/local/bin/mpiCC -DvtkVisItDatabases_EXPORTS -DVTK_PYTHON_BUILD -DMPICH_IGNORE_CXX_SEEK -DVISIT_BUILD_SHARED_LIBS -DDBIO_ONLY -DRC_CPP_VISIT_BUILD -w -w -g -fPIC -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/CGNS -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Silo -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Claw -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/XYZ -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Xmdv -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Vs -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Velodyne -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/VASP -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/UNIC -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/TSurf -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/TFT -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Tetrad -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Tecplot -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Spheral -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/SAS -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/SAR -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/SAMRAI -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/RAW -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/ProteinDataBank -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Point3D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/PLOT3D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/PLOT2D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/PlainText -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Pixie -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/PFLOTRAN -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/PATRAN -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/paraDIS -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/OVERFLOW -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/OpenFOAM -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Nek5000 -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/NETCDF -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/NASTRAN -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/MM5 -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Miranda -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/M3DC1 -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/M3D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Lines -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/LAMMPS -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Image -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/H5Nimrod -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/GULP -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/GTC -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/GGCM -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Gadget -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Fluent -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/FLASH -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/ExtrudedVol -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Enzo -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Dyna3D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/DDCMD -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Curve2D -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/CTRL -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/CMAT -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Chombo -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/CEAucd -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/BOV -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/AUXFile -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/ANSYS -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/ANALYZE -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/common/utility -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/common/state -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/common/plugin -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/common/misc -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/utility -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/state -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/proxybase -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/plugin -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/parser -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/misc -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/icons -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/expr -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/comm -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/Exceptions/Plotter -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/Exceptions/Pipeline -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/common/Exceptions/Database -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Utilities/VisItBridge -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Utilities -I/usr/local/tools/mvapich-gnu/include -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Utilities -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Wrapping -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Wrapping -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Common -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Common -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Charts -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Charts -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Filtering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Filtering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/GenericFiltering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/GenericFiltering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/IO -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/IO -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Imaging -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Imaging -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Rendering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Rendering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Parallel -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Parallel -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Graphics -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Graphics -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Hybrid -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Hybrid -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/VolumeRendering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/VolumeRendering -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Widgets -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Widgets -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Infovis -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Infovis -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Views -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Views -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/GUISupport/Qt -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/GUISupport/Qt -I/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/include -I/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/include -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Utilities/vtknetcdf -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Utilities/vtknetcdf -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Utilities/vtkpng -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/VTK/Utilities/vtkpng -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Utilities/VisItBridge/AvtAlgorithms -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/AvtAlgorithms -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/include -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Database/Database -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Database/Ghost -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Database/Formats -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/DBAtts/MetaData -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/DBAtts/SIL -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Math -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/VisWindow/VisWindow -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/IVP -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Pipeline/AbstractFilters -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Pipeline/Data -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Pipeline/Pipeline -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Pipeline/Sinks -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/avt/Pipeline/Sources -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/visit_vtk/full -I/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/visit_vtk/lightweight -I/usr/include/boost -I/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/include -I/usr/gapps/visit/cgns/3.0.8/linux-x86_64_gcc-4.1/include -o CMakeFiles/vtkVisItDatabases.dir/vtkVisItMiliReader.cxx.o -c /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Utilities/VisItBridge/databases/vtkVisItMiliReader.cxx
In file included from /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Utilities/VisItBridge/databases/vtkVisItMiliReader.cxx:38:
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:52:18: error: mili.h: No such file or directory
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:140: error: 'Famid' was not declared in this scope
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:140: error: template argument 1 is invalid
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:140: error: template argument 2 is invalid
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:160: error: 'Subrecord' was not declared in this scope
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:160: error: template argument 1 is invalid
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:160: error: template argument 2 is invalid
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:160: error: template argument 1 is invalid
/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/Utilities/VisItBridge/databases/Mili/avtMiliFileFormat.h:160: error: template argument 2 is invalid
make[2]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkVisItDatabases.dir/vtkVisItMiliReader.cxx.o] Error 1
make[2]: Leaving directory `/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build'
make[1]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkVisItDatabases.dir/all] Error 2
make[1]: Leaving directory `/nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build'
make: *** [all] Error 2
On Apr 11, 2011, at 5:28 AM, Robert Maynard wrote:
> Hi Rich,
>
> Can you give me some more information on what went wrong on install
> time. I can spend some time this week making sure that static install
> work properly.
>
> On Fri, Apr 8, 2011 at 7:14 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
>> Sorry to speak up again. I got MILI to compile but I think it did not install correctly. Am I SOL for now? The Mili support was the whole point of my trying to get this to work. :-)
>> Thanks for all the support
>> -- Rich
>>
>> On Apr 8, 2011, at 12:06 PM, Robert Maynard wrote:
>>
>>> Hi Rich,
>>>
>>> I am currently working on fixing the issues with the MILI reader not
>>> compiling correctly.
>>>
>>> On Fri, Apr 8, 2011 at 1:15 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
>>>> Aha, it's the semicolon syntax that was unknown to me. Thanks.
>>>> I do want to reiterate that turning on the MILI reader did not result in a
>>>> successful reader build, because the include and library settings do not get
>>>> placed in the right makefiles. I have to manually hack the link.txt and
>>>> make.flags files or otherwise do workarounds for that. As long as I'm doing
>>>> that anyhow, I can just place the deeper dependencies there as well.
>>>> On Apr 8, 2011, at 6:26 AM, David Partyka wrote:
>>>>
>>>> Hi Rich,
>>>> Because you're building static you need to tell CMake what your
>>>> Silo/Mili/HDF5 dependencies are because it has no way of knowing. To do
>>>> this, in ccmake/cmake-gui you can list them in the same variables where you
>>>> specified SILO_LIBRARY,MILI_LIBRARY, HDF5_LIBRARY/HDF5_LIBRARIES. This
>>>> should give CMake enough information to compute the correct link line.
>>>> For example, you should be able to set these in ccmake/cmake-gui like so:
>>>> SILO_LIBRARY /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a
>>>> On Thu, Apr 7, 2011 at 7:19 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
>>>>>
>>>>> OK, I just solved this by hacking into all the link.txt files I found
>>>>> laying around. This has been one ugly build process!
>>>>> -- Rich
>>>>>
>>>>> On Apr 7, 2011, at 4:00 PM, Cook, Rich wrote:
>>>>>
>>>>>> So, our libmili.a, libsiloh5.a and libhdf5.a libraries have dependencies
>>>>>> on another library, libsz. I've tried adding -lz
>>>>>> /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a to every STRING
>>>>>> I can in the CMakeCache.txt file, but I'm stuck on this error. How can I
>>>>>> append linker flags to what cmake is doing here? You can see that the -lz
>>>>>> and libsz.a are being inserted here, but it needs to come at the end of the
>>>>>> link line to resolve the symbols. I might resort to sed and grep if this
>>>>>> keeps up, but I hope I don't have to.
>>>>>>
>>>>>>
>>>>>> Linking CXX executable ../../../../bin/ServerManagerStateLoader
>>>>>> cd
>>>>>> /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Servers/ServerManager/Testing/Cxx
>>>>>> && /usr/gapps/visit/cmake/2.8.3/linux-x86_64_gcc-4.1/bin/cmake -E
>>>>>> cmake_link_script CMakeFiles/ServerManagerStateLoader.dir/link.txt
>>>>>> --verbose=1
>>>>>> /usr/local/bin/g++
>>>>>> -I/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/include
>>>>>> -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include
>>>>>> -Wno-deprecated -g
>>>>>> -L/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib
>>>>>> -L/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib -lmili
>>>>>> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a -lz
>>>>>> /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a
>>>>>> CMakeFiles/ServerManagerStateLoader.dir/ServerManagerStateLoader.cxx.o
>>>>>> CMakeFiles/ServerManagerStateLoader.dir/vtkTestingProcessModuleGUIHelper.cxx.o
>>>>>> CMakeFiles/ServerManagerStateLoader.dir/vtkTestingOptions.cxx.o -o
>>>>>> ../../../../bin/ServerManagerStateLoader -rdynamic
>>>>>> ../../../../bin/libvtkPVServerManager.a ../../../../bin/libvtkPVFiltersCS.a
>>>>>> ../../../../bin/libvtkPVFilters.a ../../../../bin/libvtkPVServerCommonCS.a
>>>>>> ../../../../bin/libvtkPVServerCommon.a
>>>>>> ../../../../bin/libvtkPVCommandOptions.a ../../../../bin/libvtkChartsCS.a
>>>>>> ../../../../bin/libvtkViewsCS.a ../../../../bin/libvtkInfovisCS.a
>>>>>> ../../../../bin/libQVTK.a
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtWebKit.so
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtXmlPatterns.so
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtNetwork.so
>>>>>> ../../../../bin/libIceTMPI.a ../../../../bin/libIceTGL.a
>>>>>> ../../../../bin/libIceTCore.a -lGLU
>>>>>> ../../../../bin/libvtkVolumeRenderingCS.a
>>>>>> ../../../../bin/libvtkVolumeRendering.a ../../../../bin/libvtkWidgetsCS.a
>>>>>> ../../../../bin/libKWCommon.a ../../../../bin/libvtkCharts.a
>>>>>> ../../../../bin/libvtkViews.a ../../../../bin/libvtkInfovis.a
>>>>>> ../../../../bin/libvtkWidgets.a ../../../../bin/libvtkalglib.a
>>>>>> ../../../../bin/libvtkXdmfCS.a ../../../../bin/libvtkXdmf.a
>>>>>> ../../../../bin/libXdmf.a ../../../../bin/libvtklibxml2.a -lm
>>>>>> ../../../../bin/libvtkVisItDatabasesCS.a
>>>>>> ../../../../bin/libvtkVisItAVTAlgorithmsCS.a
>>>>>> ../../../../bin/libvtkHybridCS.a ../../../../bin/libvtkParallelCS.a
>>>>>> ../../../../bin/libvtkHybrid.a ../../../../bin/libvtkParallel.a
>>>>>> ../../../../bin/libVPIC.a ../../../../bin/libCosmo.a
>>>>>> /usr/local/tools/mvapich-gnu/lib/shared/libmpich.so
>>>>>> ../../../../bin/libvtkexoIIc.a ../../../../bin/libvtkRenderingCS.a
>>>>>> ../../../../bin/libvtkRendering.a ../../../../bin/libvtkftgl.a
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtGui.so
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtSql.so
>>>>>> /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtCore.so
>>>>>> -lGL ../../../../bin/libvtkfreetype.a -lXt -lSM -lICE -lX11 -lXext
>>>>>> ../../../../bin/libvtkGenericFilteringCS.a
>>>>>> ../../../../bin/libvtkGenericFiltering.a ../../../../bin/libvtkGraphicsCS.a
>>>>>> ../../../../bin/libvtkImagingCS.a ../../../../bin/libvtkIOCS.a
>>>>>> ../../../../bin/libvtkFilteringCS.a ../../../../bin/libvtkCommonCS.a
>>>>>> ../../../../bin/libvtkClientServer.a ../../../../bin/libvtkVisItDatabases.a
>>>>>> ../../../../bin/libvtkVisItAVTAlgorithms.a
>>>>>> ../../../../bin/libavtdatabase_par.a ../../../../bin/libavtpipeline_par.a
>>>>>> ../../../../bin/libavtdbatts.a ../../../../bin/libavtivp.a
>>>>>> ../../../../bin/libvisit_vtk.a ../../../../bin/libvtkGraphics.a
>>>>>> ../../../../bin/libvtkverdict.a ../../../../bin/libvtkImaging.a
>>>>>> ../../../../bin/liblightweight_visit_vtk.a ../../../../bin/libvtkIO.a
>>>>>> ../../../../bin/libvtkDICOMParser.a ../../../../bin/libvtkNetCDF_cxx.a
>>>>>> ../../../../bin/libvtkmetaio.a ../../../../bin/libvtksqlite.a
>>>>>> ../../../../bin/libvtkpng.a ../../../../bin/libvtktiff.a
>>>>>> ../../../../bin/libvtkzlib.a ../../../../bin/libvtkjpeg.a
>>>>>> ../../../../bin/libvtkexpat.a ../../../../bin/libvtkFiltering.a
>>>>>> ../../../../bin/libavtmath.a ../../../../bin/libvtkCommon.a
>>>>>> ../../../../bin/libvtksys.a -lm -lpthread -lz
>>>>>> /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a -ldl
>>>>>> ../../../../bin/libvisitcommon.a ../../../../bin/libvtkNetCDF.a
>>>>>> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a
>>>>>> /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a
>>>>>> /usr/gapps/visit/cgns/3.0.8/linux-x86_64_gcc-4.1/lib/libcgns.a
>>>>>> /usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib/libmili.a
>>>>>> -Wl,-rpath,/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib:/usr/local/tools/mvapich-gnu/lib/shared
>>>>>> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Z.o):
>>>>>> In function `H5Z_init_interface':
>>>>>> H5Z.c:(.text+0x27d): undefined reference to `SZ_encoder_enabled'
>>>>>>
>>>>>> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Zszip.o):
>>>>>> In function `H5Z_filter_szip':
>>>>>> H5Zszip.c:(.text+0x121): undefined reference to
>>>>>> `SZ_BufftoBuffDecompress'
>>>>>> H5Zszip.c:(.text+0x1ce): undefined reference to `SZ_BufftoBuffCompress'
>>>>>>
>>>>>> /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o):
>>>>>> In function `db_hdf5_InqMeshName':
>>>>>> silo_hdf5.c:(.text+0x839e): undefined reference to `H5Topen1'
>>>>>>
>>>>>> /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o):
>>>>>> In function `db_hdf5_hdrwr':
>>>>>>
>>>>>> --
>>>>>> ✐Richard Cook
>>>>>> ✇ Lawrence Livermore National Laboratory
>>>>>> Bldg-453 Rm-4024, Mail Stop L-557
>>>>>> 7000 East Avenue, Livermore, CA, 94550, USA
>>>>>> ☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
>>>>>> ☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
>>>>>> ---
>>>>>> Information Management & Graphics Grp., Services & Development Div.,
>>>>>> Integrated Computing & Communications Dept.
>>>>>> (opinions expressed herein are mine and not those of LLNL)
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com<http://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
>>>>>
>>>>> --
>>>>> ✐Richard Cook
>>>>> ✇ Lawrence Livermore National Laboratory
>>>>> Bldg-453 Rm-4024, Mail Stop L-557
>>>>> 7000 East Avenue, Livermore, CA, 94550, USA
>>>>> ☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
>>>>> ☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
>>>>> ---
>>>>> Information Management & Graphics Grp., Services & Development Div.,
>>>>> Integrated Computing & Communications Dept.
>>>>> (opinions expressed herein are mine and not those of LLNL)
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Powered by www.kitware.com<http://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
>>>>
>>>>
>>>> --
>>>> ✐Richard Cook
>>>> ✇ Lawrence Livermore National Laboratory
>>>> Bldg-453 Rm-4024, Mail Stop L-557
>>>> 7000 East Avenue, Livermore, CA, 94550, USA
>>>> ☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
>>>> ☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
>>>> ---
>>>> Information Management & Graphics Grp., Services & Development Div.,
>>>> Integrated Computing & Communications Dept.
>>>> (opinions expressed herein are mine and not those of LLNL)
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com<http://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
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Robert Maynard
>>
>> --
>> ✐Richard Cook
>> ✇ Lawrence Livermore National Laboratory
>> Bldg-453 Rm-4024, Mail Stop L-557
>> 7000 East Avenue, Livermore, CA, 94550, USA
>> ☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
>> ☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
>> ---
>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
>> (opinions expressed herein are mine and not those of LLNL)
>>
>>
>>
>>
>
>
>
> --
> Robert Maynard
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
--
Robert Maynard
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
Powered by www.kitware.com<http://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
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110411/b1059df7/attachment-0001.htm>
More information about the ParaView
mailing list