Schrift
[thread]5564[/thread]

Parallel::MPI Modul



<< >> 1 Eintrag, 1 Seite
dennis_boerger@gmx.de
 2006-07-08 03:33
#48011 #48011
User since
2006-06-21
6 Artikel
BenutzerIn
[default_avatar]
Hallo!

Ich versuche das Parallel::MPI Modul zu installieren. Sowohl zu Fuss als auch über CPAN funktioniert es nicht.

MEIN SYSTEM
os: Ubuntu Linux 6.06
perl: 5.8.7

AUSGABE ZU FUSS

mpicc -c  -I/usr/include/mpi -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl/5.8/CORE"  -DFLOAT_HACK MPI.c
utils.c:4: error: 'name' was not declared in this scope
utils.c:4: error: 'arg' was not declared in this scope
utils.c:4: error: initializer expression list treated as compound expression
utils.c:5: error: expected ',' or ';' before 'char'
utils.c:7: error: expected unqualified-id before '{' token
utils.c: In function 'int MPIpm_packarray(void**, AV*, MPI_Datatype, int)':
utils.c:573: error: invalid conversion from 'void*' to 'char*'
utils.c:588: error: invalid conversion from 'void*' to 'char*'
utils.c:614: error: invalid conversion from 'void*' to 'char*'
utils.c: In function 'void MPIpm_unpackarray(void*, AV**, MPI_Datatype, int)':
utils.c:635: error: invalid conversion from 'void*' to 'char*'
utils.c: In function 'void MPIpm_unpackscalar(void*, SV*, MPI_Datatype)':
utils.c:756: error: invalid conversion from 'void*' to 'const char*'
utils.c:756: error:   initializing argument 3 of 'void Perl_sv_setpv(PerlInterpreter*, SV*, const char*)'
MPI.c: In function 'void XS_Parallel__MPI_constant(PerlInterpreter*, CV*)':
MPI.c:44: error: 'constant' cannot be used as a function
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Send(PerlInterpreter*, CV*)':
MPI.xs:229: error: invalid conversion from 'void*' to 'char*'
MPI.xs:229: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Bcast(PerlInterpreter*, CV*)':
MPI.xs:357: error: invalid conversion from 'void*' to 'char*'
MPI.xs:357: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Reduce(PerlInterpreter*, CV*)':
MPI.xs:416: error: invalid conversion from 'void*' to 'char*'
MPI.xs:416: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Allreduce(PerlInterpreter*, CV*)':
MPI.xs:448: error: invalid conversion from 'void*' to 'char*'
MPI.xs:448: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Scatter(PerlInterpreter*, CV*)':
MPI.xs:495: error: invalid conversion from 'void*' to 'char*'
MPI.xs:495: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Gather(PerlInterpreter*, CV*)':
MPI.xs:531: error: invalid conversion from 'void*' to 'char*'
MPI.xs:531: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs: In function 'void XS_Parallel__MPI_MPI_Sendrecv(PerlInterpreter*, CV*)':
MPI.xs:578: error: invalid conversion from 'void*' to 'char*'
MPI.xs:578: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
MPI.xs:579: error: invalid conversion from 'void*' to 'char*'
MPI.xs:579: error:   initializing argument 1 of 'void MPIpm_packscalar(char*, SV*, MPI_Datatype)'
make: *** [MPI.o] Error 1

Über CPAN bricht er ebenfalls ab, da make nicht durchgeführt werden kann (siehe oben).

Ich denke, dass mir irgendwelche Pakete zum kompilieren des Paketes fehlen. Den mpicc habe ich bereits nachinstalliert.

Hat jemand einen guten Rat parat? Welche Pakete benötige ich generell, dass CPAN einwandfrei funktioniert? So ganz warm bin ich mit CPAN noch nicht geworden, da oft Installationen abgebrochen werden.

Vielen Dank im Voraus!
Dennis
<< >> 1 Eintrag, 1 Seite



View all threads created 2006-07-08 03:33.