[Paraview] Paraview 3 problem(s) on Gentoo x86_64

Jason Hoogland jdhoogland at wbmpl.com.au
Fri Aug 17 06:55:32 EDT 2007


Thanks Clint,

That was well worth a try, but there was still a problem:

[ 91%] Building CXX object
Qt/Core/CMakeFiles/pqCore.dir/pqStandardServerManagerModelInterface.o
Scanning dependencies of target pvserver
[ 91%] Building C object
Servers/Executables/CMakeFiles/pvserver.dir/pvserver-forward.o
Linking C executable ../../bin/pvserver
[ 91%] Built target pvserver
[ 91%] Building CXX object
Qt/Core/CMakeFiles/pqCore.dir/pqStandardViewModules.o
[ 91%] Creating Documentation for ParaViewSources
/home/hoogland/tmp/Paraview-bin/bin/vtkSMExtractDocumentation-real: symbol
lookup error: /usr/lib64/liblammpi++.so.0: undefined symbol: lam_mpi_ub
make[2]: *** [Documentation/ParaViewSources.html] Error 127
make[1]: *** [Servers/ServerManager/CMakeFiles/HTMLDocumentation.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....

So I gave up on lam-mpi and switched to openmpi, using these main config
settings:

BUILD_SHARED_LIBS                ON                                      
                                                                         
                                                                         
             
CMAKE_BUILD_TYPE                                                         
                                                                         
                                                                         
              CMAKE_INSTALL_PREFIX             /usr/local                
                                                                         
                                                                         
                           
MPI_EXTRA_LIBRARY                                                        
                                                                         
                                                                         
             
MPI_INCLUDE_PATH                 /usr/include/openmpi                    
                                                                         
                                                                         
             
MPI_LIBRARY                     
/usr/lib64/libmpi_cxx.so;/usr/lib64/libmpi.so                            
                                                                         
                                                      
PARAVIEW_DATA_ROOT               PARAVIEW_DATA_ROOT-NOTFOUND             
                                                                         
                                                                         
             
PARAVIEW_ENABLE_PYTHON           ON                                      
                                                                         
                                                                         
             
PARAVIEW_USE_MPI                 ON                                      
                                                                         
                                                                         
             
QT_QMAKE_EXECUTABLE              /usr/bin/qmake                          
                                                                         
                                                                         
             
VTK_USE_BOOST                    OFF                                     
                                                                         
                                                                         
             
VTK_USE_FFMPEG_ENCODER           OFF                                     
                                                                         
                                                                         
             
VTK_USE_RPATH                    OFF  

Paraview built ok with openmpi and could be successfully started in the
build directory $HOME/tmp/Paraview-bin/bin/paraview, but then upon

 make install

and using the installed executable /usr/local/bin/paraview, it could not
find a whole bunch of needed shared libraries.  The make script had not
copied the necessary libraries into /usr/lib64.  The first bash command
below verified which libraries were missing, the second copied them from
the build tree.

 # ldd /usr/local/lib64/paraview-3.1/paraview-real | sort | grep 'not
found' | awk '{print $1}' > /tmp/libs.txt
 # for a in $( cat /tmp/libs.txt ); do if [ -f
/home/hoogland/tmp/Paraview-bin/bin/$a ]; then cp -v
/home/hoogland/tmp/Paraview-bin/bin/$a /usr/local/lib64/paraview-3.1/;
else echo "not copying $a"; fi; done
 
Once this was done, the /usr/local installation worked perfectly.

I wonder if someone could explain to me why the libraries wouldn't have
made it across?  Could this be a Gentoo directory location issue?  There
is a cmake_install.cmake script, is that where all the action takes place?

Jason


-----Original Message-----
From: Clinton Stimpson <clinton at elemtech.com>
To: Jason Hoogland <jdhoogland at wbmpl.com.au>
Cc: paraview at paraview.org
Date: Thu, 16 Aug 2007 08:00:29 -0600
Subject: Re: [Paraview] Paraview 3 problem(s) on Gentoo x86_64

> 
> How about this?
> 
> MPI_LIBRARY:FILEPATH=/usr/lib64/liblammpi++.so;/usr/lib64/libmpi.so;/us
> r/lib64/liblam.so
> 
> MPI_EXTRA_LIBRARY:FILEPATH=
> 
> To get the link order correct.
> libpqComponents.so couldn't be found because rpaths were stripped out 
> during install.
> You can turn rpaths off when building, and then when installed, it 
> should work.
> 
> Clint
> 
> Jason Hoogland wrote:
> > Seems I have one or more problems relating to mpi and pqWidgets (what
> does
> > the "pq" stand for - paraview QT?) after compile/install.  OpenFOAM
> have
> > gone to openmpi, am I best ditching lam-mpi also?  Tried with RPATH
> > ON/OFF, same outcome.  Ideas welcome...
> >
> > Jason
> >
> > System:
> > Linux onceler 2.6.20-gentoo-r8 #3 SMP Tue Jul 31 11:20:43 UTC 2007
> x86_64
> > Intel(R) Xeon(TM) CPU 3.40GHz GenuineIntel GNU/Linux
> >
> > CMakeCahce.txt:
> > http://rafb.net/p/OdItSF63.html
> >
> > Won't startup in build tree or installed:
> > hoogland at onceler ~/tmp/Paraview-bin $ which paraview
> > /usr/local/bin/paraview
> > hoogland at onceler ~/tmp/Paraview-bin $ paraview
> > paraview: error while loading shared libraries: libpqComponents.so:
> cannot
> > open shared object file: No such file or directory
> > hoogland at onceler ~/tmp/Paraview-bin $ ./bin/paraview
> > ./bin/paraview: symbol lookup error: /usr/lib64/liblammpi++.so.0:
> > undefined symbol: lam_mpi_ub
> >
> > Make test:
> > onceler /home/hoogland/tmp/Paraview-bin # make test
> > ...
> > 94% tests passed, 7 tests failed out of 110
> >
> > The following tests FAILED:
> >          76 - MPIController (Failed)
> >          77 - GenericCommunicator-image (Failed)
> >          78 - TestCommunicator (Failed)
> >         100 - pqWidgetsFlatTreeView (Failed)
> >         101 - pqWidgetsAnimation (Failed)
> >         105 - pqChartHistogramInteraction (Failed)
> >         109 - pqClientOpenHelp-Python (Failed)
> > Errors while running CTest
> > make: *** [test] Error 8
> >
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >   
> 




More information about the ParaView mailing list