Bug#660259: mpich2: FTBFS: [sparc] missing files

Pavan Balaji balaji at mcs.anl.gov
Sun May 6 17:14:27 UTC 2012


On 05/06/2012 11:42 AM, Samuel Thibault wrote:
> tags 660259 + patch
> thanks
>
> Hello,
>
> Picca Frédéric-Emmanuel, le Fri 17 Feb 2012 20:44:45 +0100, a écrit :
>> dh_install: libmpich2-3 missing files (usr/lib/libmpich.so.3*), aborting
>
> It fails to link due to missing references to some OPA primitives, and
> such. That does not happen on other arches just because of the atomic
> pritimive support discrepancy. Actually mpich now has atomic primitive
> support, so the attached patch fixes the build, please upload it so that
> mpich can migrate to testing.

MPICH2 currently does not support native atomic primitives for 
gcc/sparc.  It needs to be built with the emulated atomics, which means 
that the application needs to be linked with libopa as well.  In 
general, it is good to use pkg-config to see what all libraries are 
required and link with all of them.

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji





More information about the debian-science-maintainers mailing list