Can anyone help out?
I don't understand where the -lopa comes from.

Cheers and thanks
Ole

---------- Forwarded message ----------
From: Romesh Abeysuriya <romesh.abey@gmail.com>
Date: Fri, Dec 18, 2009 at 11:26 AM
Subject: PyPar installation
To: ole.moller.nielsen@gmail.com
Cc: "Dr. Jay Larson (ANU)" <jay.larson@anu.edu.au>


Hi Ole,

We are trying to build PyPar on a couple of platforms, and are encountering the same problem.

The two architectures are:  64-bit intels (one Linux, the other OS X Snow Leopard).  The common
error we encounter in both is associated with this message: 

gcc -pthread -shared build/temp.linux-x86_64-2.4/mpiext.o -L/users/prl/rga112/mpich2-install-scucomp1/lib -lmpich -lopa -lpthread -lrt -lopa' -o build/lib.linux-x86_64-2.4/pypar/mpiext.so
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
_exec_command_posix failed (status=512)
/usr/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/usr/bin/bash: -c: line 1: syntax error: unexpected end of file
/usr/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/usr/bin/bash: -c: line 1: syntax error: unexpected end of file
error: Command "gcc -pthread -shared build/temp.linux-x86_64-2.4/mpiext.o -L/users/prl/rga112/mpich2-install-scucomp1/lib -lmpich -lopa -lpthread -lrt -lopa' -o build/lib.linux-x86_64-2.4/pypar/mpiext.so" failed with exit status 2

The main problem stems from this -lopa' element.  Grepping around your source for "lopa" or "opa" didn't give us a clue how to fix this problem.

Additionally, on Snow Leopard, problems arise because PyPar is trying to create a Universal Binary, when only x86_64 MPICH libraries have been compiled, so we are looking for a way to remove the extra -arch switches.

We really would like to use PyPar in our project, so if you could please advise us how to fix these problems, we'd be really grateful.

For reference, here's some version information on our software stack we're using to build PyPar:

MPICH2-1.2.1
Python 2.6.1 (OS X)
Numpy 1.0.1 (current rpmforge repository version), latest SVN (OS X)
GCC 4.1.2 (Linux), 4.2.1 (OS X)
PyPar 2.1.0.66


Thanks and all the best...

Romesh Abeysuriya
Jay Larson