[Pkg-scicomp-devel] Bug#561384: proposed upgrade to 5.1.7 that fixes ptscotch compilation

Christophe Prud'homme prudhomm at debian.org
Tue Dec 22 13:43:33 UTC 2009


seems like the mpi-default-dec and mpi-default-bin depends might be
missing in debian/control no ?

On Tue, Dec 22, 2009 at 11:37 AM, Christophe Trophime
<christophe.trophime at grenoble.cnrs.fr> wrote:
>
> On Dec 21, 2009, at 9:23 PM, Christophe Prud'homme wrote:
>
>> Hi Christophe
>>
>> thanks for the contribution
>>
>> have you tried building the package with pbuilder ?
>
> Not I just tried with pdebuild after reading this message.
>
> It fails to build ptscotch It seems that mpicc is not found, so gcc  is used
> instead
> giving some compilations errors :
>
> make[2]: Entering directory `/tmp/buildd/scotch-5.1.7.dfsg/src/libscotch'
> rm -f *~ *.o lib*.a common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h
> *scotchf.h y.output dummysizes
> make CFLAGS="-g -O3 -I. -fPIC -Drestrict=__restrict
> -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED
> -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_PTSCOTCH" CC="mpic
> c" SCOTCHLIB=ptscotch   \
>                                        scotch.h
>                                            \
>                                        scotchf.h
>                                           \
>                                        libptscotcherr.a
>                                            \
>                                        libptscotch.a
>                                   \
>                                        libptscotcherrexit.a
> make[3]: Entering directory `/tmp/buildd/scotch-5.1.7.dfsg/src/libscotch'
> gcc -I/usr/lib/openmpi/include -g -O3 -I. -fPIC -Drestrict=__restrict
> -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED
> -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_
> PTSCOTCH -DSCOTCH_VERSION=\""5.1"\" dummysizes.c -o dummysizes -lz -lm -lrt
> In file included from dummysizes.c:80:
> common.h:84:28: error: mpi.h: No such file or directory
> In file included from dummysizes.c:82:
> graph.h:136: error: expected specifier-qualifier-list before 'MPI_Comm'
> In file included from dummysizes.c:85:
> arch.h:193: error: expected declaration specifiers or '...' before
> 'MPI_Datatype'
> In file included from dummysizes.c:89:
> dgraph.h:167: error: expected specifier-qualifier-list before 'MPI_Comm'
> dgraph.h:187: error: expected declaration specifiers or '...' before
> 'MPI_Comm'
> In file included from dummysizes.c:89:
> dgraph.h:202: error: expected declaration specifiers or '...' before
> 'MPI_Datatype'
> dgraph.h:203: error: expected declaration specifiers or '...' before
> 'MPI_Comm'
> dgraph.h:203: error: expected declaration specifiers or '...' before
> 'MPI_Datatype'
> dgraph.h:204: error: expected declaration specifiers or '...' before
> 'MPI_Datatype'
> dgraph.h:215: error: expected declaration specifiers or '...' before
> 'MPI_Datatype'
> In file included from dummysizes.c:90:
> dgraph_halo.h:68: error: expected specifier-qualifier-list before
> 'MPI_Datatype'
> In file included from dummysizes.c:92:
> dorder.h:150: error: expected specifier-qualifier-list before 'MPI_Comm'
> dorder.h:165: error: expected declaration specifiers or '...' before
> 'MPI_Comm'
> dorder.h:186: error: expected declaration specifiers or '...' before
> 'MPI_Comm'
> make[3]: *** [dummysizes] Error 1
> make[3]: Leaving directory `/tmp/buildd/scotch-5.1.7.dfsg/src/libscotch'
> make[2]: *** [ptscotch] Error 2
> make[2]: Leaving directory `/tmp/buildd/scotch-5.1.7.dfsg/src/libscotch'
> make[1]: *** [ptscotch] Error 2
> make[1]: Leaving directory `/tmp/buildd/scotch-5.1.7.dfsg/src'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package
> I: unmounting dev/pts filesystem
> I: unmounting proc filesystem
> I: cleaning the build env
> I: removing directory /var/cache/pbuilder/build//12096 and its
> subdirectories
>
>
> I think that's because I forgot to libopenmpi-dev to
> the dependencies in the control file
>
>>
>> C.
>>
>> On Fri, Dec 18, 2009 at 11:32 AM, trophime
>> <christophe.trophime at grenoble.cnrs.fr> wrote:
>>>
>>> Hi,
>>> I attached a proposed upgrade to scotch to latest version version.
>>> It is now possible to include ptscotch which solves #561384
>>>
>>> The attachement is a svn diff of my changes.
>>>
>>>
>>>
>>> _______________________________________________
>>> Pkg-scicomp-devel mailing list
>>> Pkg-scicomp-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel
>>>
>
>



More information about the Pkg-scicomp-devel mailing list