Hi, I'm trying to build ParaView 3.6 on an Ubuntu machine (w/ Qt 4.5) but I'm hitting an error when I run 'make'. I'm doing the 'ccmake <path_to_source>' and keeping the default configuration except setting number of processors to 8 (I have a Core i7) and turning on the PARAVIEW_ENABLE_PYTHON and PARAVIEW_USE_MPI. I try to turn off BUILD_SHARED_LIBS, but it keeps switching itself back on (why??). Anyway, it configures fine with just a complaint about "Qt PHONON library not found", which I understand is just a warning, not a show-stopper (right?). But when I run 'make', it gets to about 4% and then dies as follows:
Scanning dependencies of target MapReduceMPI [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/mapreduce.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/keyvalue.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/keymultivalue.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/irregular.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/hash.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/memory.cpp.o [ 4%] Building CXX object VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/error.cpp.o Linking CXX shared library ../../../../bin/libMapReduceMPI.so /usr/bin/ld: /usr/local/lib/libmpich.a(allreduce.o): relocation R_X86_64_32S against `MPIR_ThreadSingle' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libmpich.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [bin/libMapReduceMPI.so.pv3.7] Error 1 make[1]: *** [VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/all] Error 2 make: *** [all] Error 2 So, anyone got any ideas? Thanks in advance! ~~Karl
_______________________________________________ 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