[yt-users] Fw: mpi4py on Kraken (XT5)

Matthew Turk matthewturk at gmail.com
Tue Feb 10 15:07:42 PST 2009


Hi Stephen,

In my statically compiled libpython2.5.a, I have these symbols defined:

0000000000000b20 T PyGILState_Ensure
0000000000000ce0 T PyGILState_Release

Can you tell me which version of python you are compiling with, and
also send the *actual* C compiler line that failed?  In my umath.a I
have those two symbols undefined:

                 U PyGILState_Ensure
                 U PyGILState_Release

Did you modify the distutils code as per the GPAW instructions?  I
have noticed their indentation is a bit unclear; the function they
provide as "link_shared_object" should in fact be a *member* of
UnixCCompiler, so it should be indented an additional level beyond
what is obvious in the code sample.  In fact, this seems likely to be
the culprit here, now that I think about it...

-Matt

On Tue, Feb 10, 2009 at 2:58 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Matt,
>
>> When I installed MPI4py on Kraken CNL, I did use the GPAW instructions:
>>
>> https://wiki.fysik.dtu.dk/gpaw/install/platforms_and_architectures.html?highlight=redstorm#cray-xt4
>>
>> All dependencies were compiled with the CNL modules loaded for
>> compilation, and then each C module was added to Modules/Setup  and
>> then recompiled.
>
> I've followed the instructions down to the step where numpy bits are added to Modules/Setup, and then when I do 'make' I get this error, below. Did you get this error, Matt? Any ideas?
>
> /nics/c/home/sskory/yt/src/numpy-1.2.1//build/lib.linux-x86_64-2.6/numpy/core/umath.a(umathmodule.o):
> In function `_error_handler':
> numpy/core/src/ufuncobject.c:669: undefined reference to `PyGILState_Ensure'
> numpy/core/src/ufuncobject.c:726: undefined reference to `PyGILState_Release'
> numpy/core/src/ufuncobject.c:730: undefined reference to `PyGILState_Release'
> collect2: ld returned 1 exit status
> make: *** [python] Error 1
>
> Thanks!
>
>  _______________________________________________________
> sskory at physics.ucsd.edu           o__  Stephen Skory
> http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
> ________________________________(_)_\(_)_______________
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list