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

Johannes Ring johannr at simula.no
Mon Mar 28 11:44:32 UTC 2011


Hi Pierre,

On Mon, Mar 28, 2011 at 12:56 PM, Pierre Saramito
<Pierre.Saramito at imag.fr> wrote:
> Hello !
>
> Despite the recent patch applied in version 5.1.11.dfgs-4,
> the bug seems to be still present on sid/amd64 :

Yes, I also noticed that. I have reopened the bug now.

>    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 ?

Yes, applying the attached patch to the git repository and rebuilding
the package fixes the problem for me.

Adam: Thanks for your work on this package! Could you please
incorporate this fix in the next upload?

Best regards,

Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libptscotch.patch
Type: text/x-patch
Size: 1667 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110328/b3caf95b/attachment.bin>


More information about the debian-science-maintainers mailing list