[SciPy-user] Installing numpy and scipy on IBM AIX

BERTHE Loïc berthe.loic@gmail....
Tue Jul 24 11:58:03 CDT 2007


   Hi,

I'm having trouble to install numpy and scipy on IBM AIX.

As the website didn't recommend to install  the stable version of
numpy-1.0.3 and as I don't have any svn access on this AIX station, I tried
to install numpy-1.0.2


Here are the logs of my install :

------------------------------------------------------------------------------------------

> python setup.py build

Running from numpy source directory.
F2PY Version 2_3649
[ ...]
compile options: '-c'
xlc: _configtest.c
xlc _configtest.o -L/rdm/berthe/tmp/AIX/lib/ATLAS -lptf77blas -lptcblas
-latlas -o _configtest
ATLAS version 3.6.0 built by on Tue Jul 17 13:46:16 DFT 2007:
   UNAME    : AIX btmcsx1 1 5 005F623A4C00
   INSTFLG  :
   MMDEF    : /rdm/berthe/tmp/AIX/src/ATLAS/CONFIG/ARCHS/POWER4/xlc/gemm
   ARCHDEF  : /rdm/berthe/tmp/AIX/src/ATLAS/CONFIG/ARCHS/POWER4/xlc/misc
   F2CDEFS  : -DNoChange -DStringSunStyle
   CACHEEDGE: 524288
   F77      : /usr/bin/xlf_r, version UNKNOWN
   F77FLAGS : -qtune=pwr3 -qarch=pwr3 -O3 -qmaxmem=-1 -qfloat=hsflt
   CC       : /usr/vac/bin/xlc_r, version UNKNOWN
   CC FLAGS : -qtune=pwr3 -qarch=pwr3 -O3 -qmaxmem=-1 -qfloat=hsflt
   MCC      : /usr/vac/bin/xlc_r, version UNKNOWN
   MCCFLAGS : -qtune=pwr3 -qarch=pwr3 -O3 -qmaxmem=-1 -qfloat=hsflt
-qalias=allp
success!
removing: _configtest.c _configtest.o _configtest
  FOUND:
    libraries = ['ptf77blas', 'ptcblas', 'atlas']
    library_dirs = ['/rdm/berthe/tmp//AIX/lib/ATLAS']
    language = c
    define_macros = [('ATLAS_INFO', '"\\"3.6.0\\""')]
[ ... ]
creating build/temp.aix-5.1-2.5
creating build/temp.aix-5.1-2.5/numpy
creating build/temp.aix-5.1-2.5/numpy/core
creating build/temp.aix-5.1-2.5/numpy/core/src
compile options: '-Ibuild/src.aix-5.1-2.5/numpy/core/src
-Inumpy/core/include -Ibuild/src.aix- 5.1-2.5/numpy/core -Inumpy/core/src
-Inumpy/core/include -I/rdm/berthe/tmp/AIX/include/python2.5 -c'
xlc: numpy/core/src/multiarraymodule.c
"numpy/core/include/numpy/ndarrayobject.h", line 191.24: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/include/numpy/ndarrayobject.h", line 198.26: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/include/numpy/ndarrayobject.h", line 210.26: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/src/arrayobject.c", line 4489.17: 1506-068 (E) Operation between
types "int(*)(void*,void*,int,int)" and "void*" is not allowed.
"numpy/core/src/arrayobject.c", line 4594.61: 1506-280 (E) Function argument
assignment between types "void*" and "int(*)(unsigned long*,unsigned
long*,int,int)" is not allowed.
"numpy/core/src/arrayobject.c", line 4598.61: 1506-280 (E) Function argument
assignment between types "void*" and "int(*)(char*,char*,int,int)" is not
allowed.
"numpy/core/src/arrayobject.c", line 5472.39: 1506-068 (E) Operation between
types "int(*)(struct PyArrayObject*,struct _object*)" and "void*" is not
allowed.
"numpy/core/src/arrayobject.c", line 7528.42: 1506-068 (E) Operation between
types "void(*)(void*,void*,int,void*,void*)" and "void*" is not allowed.
"numpy/core/include/numpy/ndarrayobject.h", line 191.24: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/include/numpy/ndarrayobject.h", line 198.26: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/include/numpy/ndarrayobject.h", line 210.26: 1506-275 (S)
Unexpected text ',' encountered.
"numpy/core/src/arrayobject.c", line 4489.17: 1506-068 (E) Operation between
types "int(*)(void*,void*,int,int)" and "void*" is not allowed.
"numpy/core/src/arrayobject.c", line 4594.61: 1506-280 (E) Function argument
assignment between types "void*" and "int(*)(unsigned long*,unsigned
long*,int,int)" is not allowed.
"numpy/core/src/arrayobject.c", line 4598.61: 1506-280 (E) Function argument
assignment between types "void*" and "int(*)(char*,char*,int,int)" is not
allowed.
"numpy/core/src/arrayobject.c", line 5472.39: 1506-068 (E) Operation between
types "int(*)(struct PyArrayObject*,struct _object*)" and "void*" is not
allowed.
"numpy/core/src/arrayobject.c", line 7528.42: 1506-068 (E) Operation between
types "void(*)(void*,void*,int,void*,void*)" and "void*" is not allowed.
error: Command "xlc -DNDEBUG -O -Ibuild/src.aix-5.1-2.5/numpy/core/src
-Inumpy/core/include -Ibuild/src.aix- 5.1-2.5/numpy/core -Inumpy/core/src
-Inumpy/core/include -I/rdm/berthe/tmp/AIX/include/python2.5 -c
numpy/core/src/multiarraymodule.c -o
build/temp.aix-5.1-2.5/numpy/core/src/multiarraymodule.o"
failed with exit status 1

------------------------------------------------------------------------

I'm using the ActivePython-2.5.1.1-aix5-powerpc version of python, available
on http://www.activestate.com/Products/activepython/ .

Have you got any clue to fix this ?

Furthermore, I didn't find any SVN snapshot archive for numpy or scipy. Is
there any ?
As numpy-1.0.3 is not recommended for installing scipy and as I 'm probably
not the only one who cannot use svn, I think this could be very handy.

Regards,

-- 
LB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070724/e09b1bf2/attachment-0001.html 


More information about the SciPy-user mailing list