[Numpy-discussion] A memory problem: why does mmap come up in numpy.inner?
Jonathan Wright
wright at esrf.fr
Thu Jun 5 01:35:00 EDT 2008
Dan Yamins wrote:
> On Wed, Jun 4, 2008 at 9:06 PM, Charles R Harris
> <charlesr.harris at gmail.com <mailto:charlesr.harris at gmail.com>> wrote:
>
>
> Are both python and your version of OS X fully 64 bits?
>
>
> I'm not sure.
>From python:
python2.5 -c 'import platform;print platform.architecture()'
('32bit', 'ELF')
versus :
('64bit', 'ELF')
You can also try the unix file command (eg: from a terminal):
$ file `which python2.5`
/sware/exp/fable/standalone/redhate4-a64/bin/python: ELF 64-bit LSB
executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0,
dynamically linked (uses shared libs), not stripped
...etc. We needed this for generating the .so library file name for
ctypes, and got the answer from comp.lang.python. I hope it also works
for OS X.
Best,
Jon
More information about the NumPy-Discussion
mailing list