473,396 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Anyone use PyPar (Python MPI implementation) recently?

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!

Sep 22 '06 #1
1 1692
Nevermind... I'm an idiot... just didn't specify the right options...

python setup.py install --prefix=$MY_PREFIX

Works just fine... sigh.

Friedmud

Sep 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jules Dubois | last post by:
I'm want to create a superclass with nothing but attributes and properties. Some of the subclasses will do nothing but provide values for the attributes. (I'd also like to make sure (1) that the...
15
by: Brandon J. Van Every | last post by:
Is anyone using Python for .NET? I mean Brian's version at Zope, which simply accesses .NET in a one-way fashion from Python. http://www.zope.org/Members/Brian/PythonNet Not the experimental...
6
by: Dave Benjamin | last post by:
Hey good people, I've been doing a lot of simultaneous Jython and CPython programming lately, and just wanted to say, with no intended ill will toward any of the individuals who have been...
36
by: Armin Rigo | last post by:
Hi! This is a rant against the optimization trend of the Python interpreter. Sorting a list of 100000 integers in random order takes: * 0.75 seconds in Python 2.1 * 0.51 seconds in Python...
32
by: David Brown | last post by:
Hello. I recently came across a free operating system called Unununium (or something like that) and it was developed in Python and Assembly. Now, I have been looking for a way to make an...
68
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
112
by: mystilleef | last post by:
Hello, What is the Pythonic way of implementing getters and setters. I've heard people say the use of accessors is not Pythonic. But why? And what is the alternative? I refrain from using them...
0
by: smalltalk | last post by:
I want to install pypar,but it always show following errors: D:\pypar_1.9.3>python setup.py build -c mingw32 running build running build_py running build_ext building 'pypar.mpiext' extension...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.