[Paraview] Problems: Compiling Paraview with MPI

Christoph Moder mail at christoph-moder.de
Tue Feb 21 17:25:57 EST 2006


Hi all!

I would like to compile Paraview with MPI support, but somehow this does 
not work.

I am using Paraview 2.4.2; in ccmake, I have switched on VTK_USE_MPI and 
checked the MPI path (/usr/lib/libmpi.so and libmpi++.so which are links 
to /usr/lib/mpich/lib/shared/libmpich.so and 
/usr/lib/mpich/lib/shared/libpmpich.so).

make stops with the following error message:
Linking CXX executable bin/pvbatch
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libmpi.so: undefined 
reference to `f90_unix_env_MP_getarg'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libmpi.so: undefined 
reference to `f90_unix_env_MP_iargc'
collect2: ld returned 1 exit status
make[2]: *** [bin/pvbatch] Error 1
make[1]: *** [Servers/Executables/pvbatch.dir/all] Error 2
make: *** [all] Error 2

(compiler given in ccmake: gcc and c++, or mpicc and mpicxx)

I have also tried to use the intel compiler (mpicc.mpich-intel and 
mpicxx.mpich-intel) which also does not work:
Linking CXX executable bin/pvbatch
/usr/bin/ld: cannot find -lmpich-intel
collect2: ld returned 1 exit status
make[2]: *** [bin/pvbatch] Error 1
make[1]: *** [Servers/Executables/pvbatch.dir/all] Error 2
make: *** [all] Error 2

Also, I have tried to use the intel libraries 
(/usr/lib/mpich-intel/lib/) and also the static *.a libraries instead of 
the shared libs, which did not help.

Maybe someone can give me a hint....

Thanks,
Christoph


More information about the ParaView mailing list