Anyone use PyPar (Python MPI implementation) recently?

friedmud at gmail.com friedmud at gmail.com
Fri Sep 22 17:13:30 CEST 2006


Has anyone used PyPar ( http://datamining.anu.edu.au/~ole/pypar/ )
recently?

I _do_ want to do MPI (not BSP) but I don't need any advanced MPI
things... and PyPar seemed just up my ally... but alas it doesn't
compile:

###########
[umbriel][~/download/pypar_1_9_2]> python setup.py --prefix=$MY_PREFIX
cc: unrecognized option '-showme'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
distcc[12384] ERROR: compile (null) on localhost failed
/usr/local/mpi/1.2.5/bin/mpicc: line 297: echo: write error: Broken
pipe
/usr/local/mpi/1.2.5/bin/mpicc: line 372: echo: write error: Broken
pipe
+ for arg in '"$@"'
+ '[' 0 = 1 ']'
+ case "$arg" in
+ allargs=' -c'
+ compileargs=' -c'
+ '[' 1 = 1 -a -n '' ']'
+ DoLink=0
+ HasDashC=1
+ for arg in '"$@"'
+ '[' 0 = 1 ']'
+ case "$arg" in
+ allargs=' -c /tmp/tmpP7n2tD.c'
+ '[' -s /tmp/tmpP7n2tD.c ']'
++ expr /tmp/tmpP7n2tD.c : '.*\(\..*\)'
+ ext=.c
+ '[' .c = .c ']'
+ DoCompile=1
+ compileargs=' -c /tmp/tmpP7n2tD.c'
++ basename /tmp/tmpP7n2tD.c .c
+ fname=tmpP7n2tD
+ linkobjs=' tmpP7n2tD.o'
+ for arg in '"$@"'
+ '[' 0 = 1 ']'
+ case "$arg" in
+ allargs=' -c /tmp/tmpP7n2tD.c -o'
+ '[' 1 = 1 ']'
+ compileargs=' -c /tmp/tmpP7n2tD.c -o'
+ for arg in '"$@"'
+ '[' 0 = 1 ']'
+ case "$arg" in
+ allargs=' -c /tmp/tmpP7n2tD.c -o /tmp/tmpP7n2tD.o'
+ '[' -s /tmp/tmpP7n2tD.o ']'
++ expr /tmp/tmpP7n2tD.o : '.*\(\..*\)'
+ ext=.o
+ '[' .o = .c ']'
+ '[' .o = .s ']'
+ '[' .o = .o ']'
+ '[' 1 = 1 ']'
+ compileargs=' -c /tmp/tmpP7n2tD.c -o /tmp/tmpP7n2tD.o'
+ status=0
+ '[' 1 = 1 -o 0 = 1 ']'
+ '[' 1 '!=' 1 ']'
+ eval cc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-c /tmp/tmpP7n2tD.c -o /tmp/tmpP7n2tD.o -I/usr/local/mpi/1.2.5/include
++ cc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-c /tmp/tmpP7n2tD.c -o /tmp/tmpP7n2tD.o -I/usr/local/mpi/1.2.5/include
+ status=0
+ '[' 0 '!=' 0 ']'
+ '[' 0 = 1 -o 0 = 1 ']'
+ exit 0
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --prefix not recognized
##########

This is on Fedora Core5.  I know that MPI and such are setup fine... as
I use them daily in a C++ code.

Thanks for any help!




More information about the Python-list mailing list