Hi Ole,

The -lopa' problem is certainly the same.


Sent from Jay's BlackBerryŽ

From: Ole Nielsen <ole.moller.nielsen@gmail.com>
Date: Mon, 21 Dec 2009 23:37:01 +1100
To: Dr. Jay Larson (ANU)<jay.larson@anu.edu.au>; Pypar-developers<Pypar-developers@lists.sourceforge.net>; Romesh Abeysuriya<romesh.abey@gmail.com>; Jussi Lehtola<jussilehtola@fedoraproject.org>
Subject: Fwd: Problems with pypar & MPICH2

Hi guys

This sounds like the problem you had?

Is this something with recent MPICH versions perhaps?


---------- Forwarded message ----------
From: Jussi Lehtola <jussilehtola@fedoraproject.org>
Date: Mon, Dec 21, 2009 at 11:34 PM
Subject: Problems with pypar & MPICH2
To: ole.moller.nielsen@gmail.com


I'm trying to add MPICH2 support to the Fedora package of pypar, however
the compilation fails with

mpicc -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fPIC -I/usr/include/mpich2-x86_64
-I/usr/include/python2.6 -c mpiext.c -o
build/temp.linux-x86_64-2.6/mpiext.o -fPIC
mpiext.c: In function 'type_map':
mpiext.c:127: warning: return makes integer from pointer without a cast
mpiext.c: In function 'op_map':
mpiext.c:168: warning: return makes integer from pointer without a cast
gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic build/temp.linux-x86_64-2.6/mpiext.o
-L/usr/lib64/mpich2/lib -L/usr/lib64 -lmpich -lopa -lpthread -lrt -lopa'
-lpython2.6 -o build/lib.linux-x86_64-2.6/pypar/mpiext.so
/usr/bin/ld: cannot find -lopa'
collect2: ld returned 1 exit status

so it seems that an extra ' is picked up somewhere. Do you have any idea
where this might come out from?

Also, although I've defined CC=mpicc, the file is compiled with gcc..

Jussi Lehtola
Fedora Project Contributor