You'll have to recompile openmpi with -fPIC or link against a shared build of the same.
On Thu, May 29, 2014 at 5:06 AM, Victor <[email protected]> wrote: > I am trying to compile Paraview 4.1 with MPI support but make exits at this > point: > > /usr/bin/ld: /opt/openmpi-1.8.1/lib/libmpi.a(comm_init.o): relocation > R_X86_64_32 against `ompi_comm_f_to_c_table' can not be used when making a > shared object; recompile with -fPIC > /opt/openmpi-1.8.1/lib/libmpi.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [lib/libvtkParallelMPI-pv4.1.so.1] Error 1 > make[1]: *** [VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/all] Error 2 > make: *** [all] Error 2 > > How can I fix this error? > > Thanks, > > Victor > > _______________________________________________ > Powered by 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 > _______________________________________________ Powered by 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
