[SciPy-dev] `newcore` on opteron

Arnd Baecker arnd.baecker at web.de
Fri Oct 7 01:44:01 CDT 2005


Hi,

just for the fun of it I wanted to test the thread aspect on
our dual opteron, but don't get very far in the installation:

Procedure:
svn checkout http://svn.scipy.org/svn/scipy_core/branches/newcore/
  (checked out revision is  1184)
cd newcore
python setup.py install --prefix=${HOME}/NEW_SCIPY/scipy_new

gives:

compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC'
compile options: '-Ibuild/src/scipy/base/src -Iscipy/base/include
-Ibuild/src/scipy/base -Iscipy/base/src -I/scr/python/include/python2.4
-c'
gcc: build/src/scipy/base/src/umathmodule.c
In file included from build/src/scipy/base/src/umathmodule.c:7477:
scipy/base/src/ufuncobject.c:95: error: conflicting types for
'PyUFunc_FF_F_As_DD_D'
build/src/scipy/base/__ufunc_api.h:38: error: previous declaration of
'PyUFunc_FF_F_As_DD_D' was here
scipy/base/src/ufuncobject.c:95: error: conflicting types for
'PyUFunc_FF_F_As_DD_D'
build/src/scipy/base/__ufunc_api.h:38: error: previous declaration of
'PyUFunc_FF_F_As_DD_D' was here
scipy/base/src/ufuncobject.c:113: error: conflicting types for
'PyUFunc_DD_D'

[... many similar ones ... ]

scipy/base/src/ufuncobject.c:2047: warning: int format, different type arg
(arg 3)
scipy/base/src/ufuncobject.c:2131: warning: passing arg 2 of pointer to
function from incompatible pointer type
build/src/scipy/base/src/umathmodule.c: At top level:
build/src/scipy/base/__ufunc_api.h:38: warning: 'PyUFunc_FF_F_As_DD_D'
used but never defined
build/src/scipy/base/__ufunc_api.h:40: warning: 'PyUFunc_DD_D' used but
never defined
build/src/scipy/base/__ufunc_api.h:42: warning: 'PyUFunc_FF_F' used but
never defined
build/src/scipy/base/__ufunc_api.h:44: warning: 'PyUFunc_GG_G' used but
never defined
build/src/scipy/base/__ufunc_api.h:46: warning: 'PyUFunc_OO_O' used but
never defined
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -Ibuild/src/scipy/base/src -Iscipy/base/include
-Ibuild/src/scipy/base -Iscipy/base/src -I/scr/python/include/python2.4 -c
build/src/scipy/base/src/umathmodule.c -o
build/temp.linux-x86_64-2.4/build/src/scipy/base/src/umathmodule.o" failed
with exit status 1
removed scipy/__svn_version__.py
removed scipy/f2py2e/__svn_version__.py

This is with
gcc -v
Reading specs from
/scr/python/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/scr/python/
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.4.4


I don't need this at the moment (the normal scipy does work
fine on that machine now), but if it is of any help
for `newcore`, I will follow any advice to debug this ;-)...

Best,

Arnd

P.S.: for `scipy_new`, on a different machine I also get the -lamos error
and have to comment out
    #config.add_subpackage('special')
    #config.add_subpackage('optimize')
in Lib/setup.py






More information about the Scipy-dev mailing list