[Pypar-developers] Fwd: Problems with pypar & MPICH2
Brought to you by:
uniomni
|
From: Ole N. <ole...@gm...> - 2009-12-21 12:45:41
|
Hi guys This sounds like the problem you had? Is this something with recent MPICH versions perhaps? Cheers Ole ---------- Forwarded message ---------- From: Jussi Lehtola <jus...@fe...> Date: Mon, Dec 21, 2009 at 11:34 PM Subject: Problems with pypar & MPICH2 To: ole...@gm... Hi, 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/lib64/python2.6/site-packages/numpy/core/include -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 jus...@fe... |