[Paraview] Compiling 5.0.0-RC1 vit VisItBridge linking failure on Fedora 23
Jiri Vyskocil
svzj at centrum.cz
Thu Dec 3 07:39:46 EST 2015
Hello,
I'm trying to compile Paraview with MPI and VisIt bridge on Fedora 23 with OpenMPI. Paraview compiles, and runs fine without VisitBridge. If I enable the PARAVIEW_USE_VISITBRIDGE option (I'm using ccmake), I get the following error:
[ 26%] Linking CXX shared library ../../../lib/libvtkIOVisItBridge-pv5.0.so
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o: In function `MPI::Win::Set_name(char const*)':
vtkVisItChomboReader.cxx:(.text._ZN3MPI3Win8Set_nameEPKc[_ZN3MPI3Win8Set_nameEPKc]+0x5): undefined reference to `MPI_Win_set_name'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o: In function `MPI::Win::Set_attr(int, void const*)':
vtkVisItChomboReader.cxx:(.text._ZN3MPI3Win8Set_attrEiPKv[_ZN3MPI3Win8Set_attrEiPKv]+0x5): undefined reference to `MPI_Win_set_attr'
.....
snip a couple hundred similar lines
.....
vtkVisItChomboReader.cxx:(.text._ZNK3MPI9Intracomm6CreateERKNS_5GroupE[_ZNK3MPI9Intracomm6CreateERKNS_5GroupE]+0x6e): undefined reference to `ompi_mpi_comm_null'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o:(.data.rel.ro._ZTVN3MPI8DatatypeE[_ZTVN3MPI8DatatypeE]+0x78): undefined reference to `MPI::Datatype::Free()'
CMakeFiles/vtkIOVisItBridge.dir/vtkVisItChomboReader.cxx.o:(.data.rel.ro._ZTVN3MPI3WinE[_ZTVN3MPI3WinE]+0x48): undefined reference to `MPI::Win::Free()'
collect2: error: ld returned 1 exit status
Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/build.make:8485: recipe for target 'lib/libvtkIOVisItBridge-pv5.0.so.1' failed
make[2]: *** [lib/libvtkIOVisItBridge-pv5.0.so.1] Error 1
CMakeFiles/Makefile2:13468: recipe for target 'Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all' failed
make[1]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Any ideas how to fix this?
More information about the ParaView
mailing list