[Paraview] Configuring ParaView with OpenMPI

Cally K kalpana0611 at gmail.com
Thu Apr 17 02:29:15 EDT 2008


Hi everyone,

And first, thanks alot for the replies.. it was very helpful!!!
I have built paraview now with open mpi.. and I followed this instruction
from Sean.. I think what caused the error in the first place was the way  my
openmpi was configure, I choose to build static libraries and used that in
my cmake confguration. I compiled my openmpi again using shared libraries
option and it worked. Thanks alot.

MPI_EXTRA_LIBRARY:FILEPATH=/home/demarle/Libraries/MPI/OpenMPI/build/lib/libmpi_cxx.so

//Path to a file.
MPI_INCLUDE_PATH:PATH=/home/demarle/Libraries/MPI/OpenMPI/build/include

//Path to a library.
MPI_LIBRARY:FILEPATH=/home/demarle/Libraries/MPI/OpenMPI/build/lib/libmpi.so



On 4/16/08, Sean Ziegeler <seanzig at users.sourceforge.net> wrote:
>
> I would consider trying the cmake variables as listed by some of the
> others that replied to you.  But if that doesn't work, try a variation on
> your current configuration:
>
>
> MPI_LIBRARY=/home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libmpi.a
>
> MPI_EXTRA_LIBRARY =
> /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libmpi_cxx.a;
> /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libopen-pal.a;
> /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib//libopen-rte.a;
>
> /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/openmpi/libompitv.a
>
> At one time, MPI_LIBRARY could not accept more than one library, hence the
> addition of MPI_EXTRA_LIBRARY.  I'm not sure if that is still the case, but
> if so, it could be causing your problems.
>
> -Sean
>
> Cally K wrote:
>
> > hi, thanks for the information, it's just that I am having some problem
> > configuring paraview with openmpi
> >
> > I have set my cmake variables as such :
> >
> > MPI_EXTRA_LIBRARY : MPI_EXTRA_LIBRARY-NOTFOUND
> >
> > MPI_INCLUDE_PATH  :
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/include
> >
> > MPI_LIBRARY :
> >
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libmpi.a;
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libmpi_cxx.a;
> >
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/libopen-pal.a;
> >
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib//libopen-rte.a;
> >
> > /home/kalpanak/Installation_Files/OpenMPI/openmpibuild/lib/openmpi/libompitv.a
> >
> > And this is how I build my openmpi
> >
> > ./configure
> > --prefix=/home/kalpanak/Installation_Files/OpenMPI/openmpibuild
> >  --enable-static --disable-shared
> >
> > I have added the bin to the path and lib to the ld_library_path
> >
> > What am I doing wrong..
> >
> > I keep getting errors when I used only libmpi.a, then I came across
> > http://public.kitware.com/pipermail/paraview/2007-September/005905.html
> >
> > this link, and I modified my configuration to the same information on
> > the website and I still receive errors., something to do with pthread_fork….
> >
> > Do you think it's the openmpi version, conflicts with Paraview 3.2.1
> > maybe...?, am using openmpi-1.2.5
> >
> > On 4/16/08, *Kent Eschenberg* <eschenbe at psc.edu <mailto:eschenbe at psc.edu>>
> > wrote:
> >
> >    Cally K wrote:
> >
> >        Was just wondering how do I configure Paraview3.2.1 with open
> > mpi,
> >         my  MPI_LIBRARY= points to libmpi.a
> >         but I left the mpi_extra_library path empty,should I fill up
> > this.
> >        MPI_EXTRA_LIBRARY:FILEPATH=
> >
> >
> >    Cally, there is no general answer to your question. Different
> >    implementations of MPI require different things. You need to learn
> >    what files a C++ program using your MPI needs when linking. Be sure
> >    to include your MPI library for C++, if there is one.
> >
> >    For example, on one of our Linux clusters:
> >
> >    MPI_LIBRARY:
> >    /usr/local/packages/mvapich2/lib/libmpich.so
> >
> >    MPI_EXTRA_LIBRARY:
> >
> >  -L/usr/local/packages/mvapich2/lib;-Wl,-rpath;-Wl,/usr/local/packages/mvapich2/lib;-lmpichcxx;-lmpich;-L/usr/lib64;-lrdmacm;-libverbs;-l
> >    ibumad;-lpthread;-lrt
> >
> >    Kent
> >    Pittsburgh Supercomputing Center
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080417/00d5b766/attachment.htm>


More information about the ParaView mailing list