473,544 Members | 420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_PREF IX
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_VOI D=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_VOI D=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 1698
Nevermind... I'm an idiot... just didn't specify the right options...

python setup.py install --prefix=$MY_PREF IX

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
6413
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 subclass provides actual values for the attributes and (2) that no "client" module adds or removes attributes or properties, but I don't know how...
15
1684
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 ActiveState stuff, which tried to compile IL and apparently didn't succeed. Two motives for the question: 1) whether to use it for my C++ / C# /...
6
2102
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 generous enough to make the two languages possible, that, well, they're kinda different. I guess it was inevitable, but with Jython stuck at Python 2.1,...
36
2594
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 2.2 * 0.46 seconds in Python 2.3
32
9752
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 operating system for a long long time and the only possibilities I could find were C++ and assembly. I don't mind assembly so much if I don't have to use it...
68
5784
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
112
13731
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 because they smell "Javaish." But now my code base is expanding and I'm beginning to appreciate the wisdom behind them. I welcome example code and...
0
1064
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 D:\MinGWStudio\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -I $MPICH_DIR\SDK.gcc \include -ID:\Python25\include -ID:\Python25\PC -c mpiext.c -o...
0
7429
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7777
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7384
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5916
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5301
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1844
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
990
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
671
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.