[vtk-developers] VTK 7.1 Fails to Build on Fedora 25 64-bit

Ignat Semyonov iksemyonov at gmail.com
Mon Feb 27 14:48:02 EST 2017


Hello VTK developers,

I'm building VTK 7.1 on Fedora 25 64-bit.

After I turn on any of the parallel modules or the MPI group, VTK fails to
build the the error:

/usr/bin/c++  -fPIC   -g  -Wl,--no-undefined -lc   -shared
-Wl,-soname,libvtkParallelMPI-7.1.so.1 -o ../../lib/libvtkParallelMPI-7.1.so.1
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o
CMakeFiles/vtkParallelMPI.dir/vtkMPIController.cxx.o
CMakeFiles/vtkParallelMPI.dir/vtkMPIUtilities.cxx.o
../../lib/libvtkParallelCore-7.1.so.1 /usr/lib64/openmpi/lib/libmpi.so
/usr/lib64/openmpi/lib/libmpi.so ../../lib/libvtkCommonDataModel-7.1.so.1
../../lib/libvtkCommonTransforms-7.1.so.1 ../../lib/libvtkCommonMath-7.1.so.1
../../lib/libvtkCommonCore-7.1.so.1 -Wl,-rpath,/home/argentuuum/
VTK/VTK-7.1.0/build/lib:/usr/lib64/openmpi/lib: -Wl,-rpath-link,/home/
argentuuum/VTK/VTK-7.1.0/build/lib
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o: In function
`MPI::Intracomm::Intracomm()':
/usr/include/openmpi-x86_64/openmpi/ompi/mpi/cxx/intracomm.h:25: undefined
reference to `MPI::Comm::Comm()'
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o: In function
`MPI::Intracomm::Intracomm(ompi_communicator_t*)':
/usr/include/openmpi-x86_64/openmpi/ompi/mpi/cxx/intracomm_inln.h:23:
undefined reference to `MPI::Comm::Comm()'
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o: In function
`MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&),
bool)':
/usr/include/openmpi-x86_64/openmpi/ompi/mpi/cxx/op_inln.h:122: undefined
reference to `ompi_mpi_cxx_op_intercept'
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o:(.
data.rel.ro._ZTVN3MPI3WinE[_ZTVN3MPI3WinE]+0x48): undefined reference to
`MPI::Win::Free()'
CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o:(.data.rel.ro._
ZTVN3MPI8DatatypeE[_ZTVN3MPI8DatatypeE]+0x78): undefined reference to
`MPI::Datatype::Free()'
collect2: error: ld returned 1 exit status
Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/build.make:169: recipe for
target 'lib/libvtkParallelMPI-7.1.so.1' failed
make[2]: *** [lib/libvtkParallelMPI-7.1.so.1] Error 1
make[2]: Leaving directory '/home/argentuuum/VTK/VTK-7.1.0/build'
CMakeFiles/Makefile2:7505: recipe for target
'Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/all'
failed
make[1]: *** [Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/all] Error 2
make[1]: Leaving directory '/home/argentuuum/VTK/VTK-7.1.0/build'

CMakeCache.txt is located at https://paste.fedoraproject.org/paste/-
DfLrJ1R5XYR3sDz82SPKl5M1UNdIGYhyRLivL9gydE=/

Thank you for your assistance!

Best regards,
Ignat Semenov, Nizhny Novgorod Lobachevskiy State University, Russia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170227/475a87f8/attachment.html>


More information about the vtk-developers mailing list