[Pkg-scicomp-devel] paraview update

Christophe Prud'homme prudhomm at debian.org
Sat Feb 9 10:56:43 UTC 2008


Ondrej

I am rebuilding now. I didn't get the issues with -lmpi.
however the compilation breaks in vtkParallel on one file (vtkCompositer.cxx):
it says that mpi.h could not be found
I reenable the verbose option to understand better what happens
I suspect a buggy behavior from cmake

I attach the diff. I also set explicitly the PATH to the mpi headers


cu
C.

On Feb 9, 2008 11:43 AM, Ondrej Certik <ondrej at certik.cz> wrote:

> On Feb 9, 2008 2:12 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> > Hi Christophe,
> >
> > so the svn now seems to build normally, but fails with "-j4" with the
> > error reported in my svn log (see this list). I just noticed this
> > error deep in the terminal history:
> >
> > [  5%] make[3]: *** No rule to make target `/usr/lib/libmpi.so',
> > needed by `bin/libicet.so'.  Stop.
> > make[3]: *** Waiting for unfinished jobs....
> >
> > So I think that's it. The /usr/lib/libmpi.so is a deadlink on my comp,
> > so I reported the bug:
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464795
> >
> > So I applied this patch:
> >
> > $ svn di
> > Index: debian/rules
> > ===================================================================
> > --- debian/rules        (revision 2103)
> > +++ debian/rules        (working copy)
> > @@ -24,7 +24,7 @@
> >          -DCMAKE_VERBOSE_MAKEFILE=OFF     \
> >          -DCMAKE_C_FLAGS="-O2"            \
> >          -DCMAKE_CXX_FLAGS="-O2"          \
> > -               -DMPI_LIBRARY="/usr/lib/libmpi.so"
> > +               -DMPI_LIBRARY="/usr/lib/libmpi.so.0"
> >
> >
> >  orig-tarball:
> >
> > Now it seems to fail at:
> >
> > [  0%] /usr/bin/ld: cannot find -lmpi
> > collect2: ld returned 1 exit status
> > Building CXX object
> VTK/Common/CMakeFiles/vtkCommon.dir/vtkDataArraySelection.o
> > make[3]: *** [bin/libicet.so] Error 1
> > make[3]: Leaving directory
> > `/home/ondra/debian/packages/build-area/paraview-3.2.1
> /obj-x86_64-linux-gnu'
> > make[2]: *** [Utilities/IceT/src/ice-t/CMakeFiles/icet.dir/all] Error 2
> > make[2]: *** Waiting for unfinished jobs....
> >
> >
> >
> > Do you have some experience with this? If so, please fix it. :)
>
> OK, the problem seems to be in the openmpi package (or
> update-alternatives), a temporary fix is to execute (as root):
>
> ln -s /usr/lib/libmpi.so.0  /usr/lib/openmpi/lib/libmpi.so.0
>
> Then the we get much further:
>
> $ fakeroot svn-buildpackage -j5
> [...]
> [ 47%] Building CXX object
> VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCompositer.o
> /home/ondra/debian/packages/build-area/paraview-3.2.1
> /VTK/Parallel/vtkCompositer.cxx:25:18:
> error: mpi.h: No such file or directory
> [ 47%] Building CXX object
>
> Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkTriangleFilterClientServer.o
> [ 47%] Building CXX object
> VTK/Hybrid/CMakeFiles/vtkHybrid.dir/vtkCornerAnnotation.o
> make[3]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCompositer.o]
> Error 1
> make[3]: Leaving directory
> `/home/ondra/debian/packages/build-area/paraview-3.2.1
> /obj-x86_64-linux-gnu'
> make[2]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/all] Error 2
> make[2]: *** Waiting for unfinished jobs....
>
>
> So we need to fix the patch to mpi.h, which is in /usr/include/mpi/
>
> Ondrej
>
> _______________________________________________
> Pkg-scicomp-devel mailing list
> Pkg-scicomp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20080209/af7a8912/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules.diff
Type: text/x-patch
Size: 627 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20080209/af7a8912/attachment.bin 


More information about the Pkg-scicomp-devel mailing list