Bug#612621: ERROR: SCOTCH_dgraphInit: linking with both libScotch and libPTScotch is not allowed

trophime christophe.trophime at lncmi.cnrs.fr
Mon Mar 28 12:07:40 UTC 2011


On Mon, 2011-03-28 at 12:56 +0200, Pierre Saramito wrote:
> Hello !
> 
> Despite the recent patch applied in version 5.1.11.dfgs-4,
> the bug seems to be still present on sid/amd64 :
> 
>     uname -a
> 	Linux mobydick 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux
> 
>     apt-cache policy libptscotch-dev
>     libptscotch-dev:
>       Installé : 5.1.11.dfsg-4
>       Candidat : 5.1.11.dfsg-4
>      Table de version :
>      *** 5.1.11.dfsg-4 0
>         500 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages
>         100 /var/lib/dpkg/status
> 
> 
>     mpic++ -o ptscotch_test ptscotch_test.cpp -DSCOTCH_PTSCOTCH -I/usr/include/scotch -lptscotch -lptscotcherr
>     ./ptscotch_test
>         (0): ERROR: SCOTCH_dgraphInit: linking with both libScotch and libPTScotch is not allowed
>         MPI implementation is not thread-safe:
>         SCOTCH should be compiled without SCOTCH_PTHREAD
> 
> Yet, scotch library is unusable...
> Any idea to get free from this problem ? 

I think that the test code provided is not fully consistent with the
"INSTALL.txt" file in scotch source as pointed out by J. Ring. See for
examples the dgscat.c in the src package.

Just to make sure that (pt)scotch is running properly we should perform
some regression tests. I haven't see if there are something like that
already available in the upstream orig tarball.

C.
> 
> I put back the ptscotch_test.cpp for completness.
> Please, see previous mails related to this bug for details.
> 
> Thank you for your help,
> 
> Pierre
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers







More information about the debian-science-maintainers mailing list