[Numpy-discussion] numpy dgemm link error

Amos Anderson nitroamos@gmail....
Tue Jan 3 13:58:13 CST 2012


Hello --

I've been having some problems building numpy.

The first problem I had "error: unrecognizable insn", I was able to
fix by following these instructions:
http://www.mail-archive.com/numpy-discussion@scipy.org/msg34238.html

> Could you try the following, at line 38, to add the following:
>
> #define EINSUM_USE_SSE1 0
> #define EINSUM_USE_SSE2 0

But now when I compile, I get a linker error against dgemm. I've
pasted the full build output below.

Amos.





Running from numpy source directory.non-existing path in
'numpy/distutils': 'site.cfg'
usage: svnversion [OPTIONS] WC_PATH [TRAIL_URL]

  Produce a compact "version number" for the working copy path
  WC_PATH.  TRAIL_URL is the trailing portion of the URL used to
  determine if WC_PATH itself is switched (detection of switches
  within WC_PATH does not rely on TRAIL_URL).  The version number
  is written to standard output.  For example:

    $ svnversion . /repos/svn/trunk
    4168

  The version number will be a single number if the working
  copy is single revision, unmodified, not switched and with
  an URL that matches the TRAIL_URL argument.  If the working
  copy is unusual the version number will be more complex:

   4123:4168     mixed revision working copy
   4168M         modified working copy
   4123S         switched working copy
   4123:4168MS   mixed revision, modified, switched working copy

  If invoked on a directory that is not a working copy, an
  exported directory say, the program will output "exported".

Valid options:
  -n [--no-newline]        : do not output the trailing newline
  -c [--committed]         : last changed rather than current revisions
  --version                : show version information
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in /home/amosa/triad/tools/python/lib
  libraries mkl,vml,guide not found in /usr/local/lib64
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib64
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in
/home/amosa/triad/tools/python/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in /home/amosa/triad/tools/python/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib64
  libraries f77blas,cblas,atlas not found in /usr/local/lib
customize GnuFCompiler
Found executable /usr/bin/g77
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using config
compiling '_configtest.c':

/* This file is generated from numpy/distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
  ATL_buildinfo();
  return 0;
}

C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib64 -lf77blas -lcblas -latlas -o _configtest
ATLAS version 3.7.11 built by root on Mon Jun  5 10:14:12 EDT 2006:
   UNAME    : Linux intel1.lsf.platform.com 2.6.9-34.ELsmp #1 SMP Fri
Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
   INSTFLG  :
   MMDEF    : /export/madison/src/roll/hpc/BUILD/ATLAS/CONFIG/ARCHS/P4E64SSE3/gcc/gemm
   ARCHDEF  : /export/madison/src/roll/hpc/BUILD/ATLAS/CONFIG/ARCHS/P4E64SSE3/gcc/misc
   F2CDEFS  : -DAdd__ -DStringSunStyle
   CACHEEDGE: 393216
   F77      : /usr/bin/g77, version GNU Fortran (GCC) 3.4.5 20051201
(Red Hat 3.4.5-2)
   F77FLAGS : -fomit-frame-pointer -O -m64
   CC       : /usr/bin/gcc, version gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
   CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops -m64
   MCC      : /usr/bin/gcc, version gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
   MCCFLAGS : -fomit-frame-pointer -O -m64
success!
removing: _configtest.c _configtest.o _configtest
  FOUND:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib64']
    language = c
    define_macros = [('ATLAS_INFO', '"\\"3.7.11\\""')]

  FOUND:
    libraries = ['f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib64']
    language = c
    define_macros = [('ATLAS_INFO', '"\\"3.7.11\\""')]

usage: svnversion [OPTIONS] WC_PATH [TRAIL_URL]

  Produce a compact "version number" for the working copy path
  WC_PATH.  TRAIL_URL is the trailing portion of the URL used to
  determine if WC_PATH itself is switched (detection of switches
  within WC_PATH does not rely on TRAIL_URL).  The version number
  is written to standard output.  For example:

    $ svnversion . /repos/svn/trunk
    4168

  The version number will be a single number if the working
  copy is single revision, unmodified, not switched and with
  an URL that matches the TRAIL_URL argument.  If the working
  copy is unusual the version number will be more complex:

   4123:4168     mixed revision working copy
   4168M         modified working copy
   4123S         switched working copy
   4123:4168MS   mixed revision, modified, switched working copy

  If invoked on a directory that is not a working copy, an
  exported directory say, the program will output "exported".

Valid options:
  -n [--no-newline]        : do not output the trailing newline
  -c [--committed]         : last changed rather than current revisions
  --version                : show version information
lapack_opt_info:
lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in /home/amosa/triad/tools/python/lib
  libraries mkl,vml,guide not found in /usr/local/lib64
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib64
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in
/home/amosa/triad/tools/python/lib
  libraries lapack_atlas not found in /home/amosa/triad/tools/python/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
  libraries lapack_atlas not found in /usr/lib/sse2
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /home/amosa/triad/tools/python/lib
  libraries lapack_atlas not found in /home/amosa/triad/tools/python/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib64
numpy.distutils.system_info.atlas_info
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib64']
    language = f77
    define_macros = [('ATLAS_INFO', '"\\"3.7.11\\""')]

  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/lib64']
    language = f77
    define_macros = [('ATLAS_INFO', '"\\"3.7.11\\""')]

running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using config
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7 -c'
gcc: _configtest.c
gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7 -c'
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in function 'exp'
gcc -pthread _configtest.o -o _configtest
_configtest.o(.text+0x5): In function `main':
/home/amosa/triad/tools/numpy/numpy-1.6.1/_configtest.c:6: undefined
reference to `exp'
collect2: ld returned 1 exit status
_configtest.o(.text+0x5): In function `main':
/home/amosa/triad/tools/numpy/numpy-1.6.1/_configtest.c:6: undefined
reference to `exp'
collect2: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7 -c'
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in function 'exp'
gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building extension "numpy.core._sort" sources
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h'
to sources.
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h'
to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h'
to sources.
numpy.core - nothing done with h_files =
['build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
conv_template:>
build/src.linux-x86_64-2.7/numpy/core/src/multiarray/scalartypes.c
conv_template:>
build/src.linux-x86_64-2.7/numpy/core/src/multiarray/arraytypes.c
conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/multiarray/nditer.c
conv_template:>
build/src.linux-x86_64-2.7/numpy/core/src/multiarray/lowlevel_strided_loops.c
conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/multiarray/einsum.c
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h'
to sources.
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h'
to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h'
to sources.
numpy.core - nothing done with h_files =
['build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h'
to sources.
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h'
to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h'
to sources.
  adding 'build/src.linux-x86_64-2.7/numpy/core/src/umath' to include_dirs.
numpy.core - nothing done with h_files =
['build/src.linux-x86_64-2.7/numpy/core/src/umath/funcs.inc',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.scalarmath" sources
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h'
to sources.
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h'
to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h'
to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h'
to sources.
numpy.core - nothing done with h_files =
['build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h',
'build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._dotblas" sources
  adding 'numpy/core/blasdot/_dotblas.c' to sources.
building extension "numpy.core.umath_tests" sources
building extension "numpy.core.multiarray_tests" sources
building extension "numpy.lib._compiled_base" sources
building extension "numpy.numarray._capi" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
  adding 'numpy/linalg/lapack_litemodule.c' to sources.
  adding 'numpy/linalg/python_xerbla.c' to sources.
building extension "numpy.random.mtrand" sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7 -c'
gcc: _configtest.c
gcc -pthread _configtest.o -o _configtest
_configtest
failure.
removing: _configtest.c _configtest.o _configtest
building data_files sources
build_src: building npy-pkg config files
running build_py
copying numpy/version.py -> build/lib.linux-x86_64-2.7/numpy
copying build/src.linux-x86_64-2.7/numpy/__config__.py ->
build/lib.linux-x86_64-2.7/numpy
copying build/src.linux-x86_64-2.7/numpy/distutils/__config__.py ->
build/lib.linux-x86_64-2.7/numpy/distutils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using build_ext
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c'
gcc: numpy/core/src/multiarray/multiarraymodule_onefile.c
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:42:
numpy/core/src/multiarray/einsum.c.src:39:1: warning:
"EINSUM_USE_SSE1" redefined
numpy/core/src/multiarray/einsum.c.src:25:1: warning: this is the
location of the previous definition
numpy/core/src/multiarray/einsum.c.src:40:1: warning:
"EINSUM_USE_SSE2" redefined
numpy/core/src/multiarray/einsum.c.src:34:1: warning: this is the
location of the previous definition
numpy/core/src/multiarray/descriptor.c: In function
`_convert_divisor_to_multiple':
numpy/core/src/multiarray/descriptor.c:606: warning: 'q' might be used
uninitialized in this function
numpy/core/src/multiarray/nditer.c.src: In function `npyiter_allocate_arrays':
numpy/core/src/multiarray/nditer.c.src:4923: warning: 'innershape'
might be used uninitialized in this function
numpy/core/src/multiarray/multiarraymodule_onefile.c: At top level:
numpy/core/src/multiarray/scalartypes.c.src:2550: warning:
'longlong_arrtype_hash' defined but not used
numpy/core/src/multiarray/mapping.c:75: warning: '_array_ass_item'
defined but not used
build/src.linux-x86_64-2.7/numpy/core/include/numpy/__ufunc_api.h:227:
warning: '_import_umath' defined but not used
gcc -pthread -shared
build/temp.linux-x86_64-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o
-L/state/partition1/home/amosa/triad/tools/python/lib
-Lbuild/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7 -o
build/lib.linux-x86_64-2.7/numpy/core/multiarray.so
building 'numpy.core.umath' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-x86_64-2.7/numpy/core/src/umath
compile options: '-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath
-Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c'
gcc: numpy/core/src/umath/umathmodule_onefile.c
numpy/core/include/numpy/npy_3kcompat.h:392: warning:
'simple_capsule_dtor' defined but not used
numpy/core/src/private/lowlevel_strided_loops.h:36: warning:
'PyArray_FreeStridedTransferData' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:43: warning:
'PyArray_CopyStridedTransferData' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:64: warning:
'PyArray_GetStridedCopyFn' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:78: warning:
'PyArray_GetStridedCopySwapFn' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:92: warning:
'PyArray_GetStridedCopySwapPairFn' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:109: warning:
'PyArray_GetStridedZeroPadCopyFn' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:120: warning:
'PyArray_GetStridedNumericCastFn' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:174: warning:
'PyArray_GetDTypeTransferFunction' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:227: warning:
'PyArray_TransferNDimToStrided' declared `static' but never defined
numpy/core/src/private/lowlevel_strided_loops.h:237: warning:
'PyArray_TransferStridedToNDim' declared `static' but never defined
gcc -pthread -shared
build/temp.linux-x86_64-2.7/numpy/core/src/umath/umathmodule_onefile.o
-L/state/partition1/home/amosa/triad/tools/python/lib
-Lbuild/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7 -o
build/lib.linux-x86_64-2.7/numpy/core/umath.so
building 'numpy.core.scalarmath' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c'
gcc: build/src.linux-x86_64-2.7/numpy/core/src/scalarmathmodule.c
numpy/core/src/scalarmathmodule.c.src:1054: warning: function
declaration isn't a prototype
numpy/core/include/numpy/npy_3kcompat.h:392: warning:
'simple_capsule_dtor' defined but not used
gcc -pthread -shared
build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/numpy/core/src/scalarmathmodule.o
-L/state/partition1/home/amosa/triad/tools/python/lib
-Lbuild/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7 -o
build/lib.linux-x86_64-2.7/numpy/core/scalarmath.so
building 'numpy.core._dotblas' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating build/temp.linux-x86_64-2.7/numpy/core/blasdot
compile options: '-DATLAS_INFO="\"3.7.11\"" -Inumpy/core/blasdot
-Inumpy/core/include
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include
-I/home/amosa/triad/tools/python/include/python2.7
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c'
gcc: numpy/core/blasdot/_dotblas.c
numpy/core/blasdot/_dotblas.c: In function `dotblas_matrixproduct':
numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
pointer types lacks a cast
numpy/core/blasdot/_dotblas.c:257: warning: passing arg 3 of pointer
to function from incompatible pointer type
numpy/core/blasdot/_dotblas.c:292: warning: passing arg 3 of pointer
to function from incompatible pointer type
gcc -pthread -shared
build/temp.linux-x86_64-2.7/numpy/core/blasdot/_dotblas.o -L/usr/lib64
-L/state/partition1/home/amosa/triad/tools/python/lib
-Lbuild/temp.linux-x86_64-2.7 -lf77blas -lcblas -latlas -lpython2.7 -o
build/lib.linux-x86_64-2.7/numpy/core/_dotblas.so
/usr/bin/ld: /usr/lib64/libcblas.a(cblas_dgemm.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib64/libcblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/lib64/libcblas.a(cblas_dgemm.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib64/libcblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared
build/temp.linux-x86_64-2.7/numpy/core/blasdot/_dotblas.o -L/usr/lib64
-L/state/partition1/home/amosa/triad/tools/python/lib
-Lbuild/temp.linux-x86_64-2.7 -lf77blas -lcblas -latlas -lpython2.7 -o
build/lib.linux-x86_64-2.7/numpy/core/_dotblas.so" failed with exit
status 1


More information about the NumPy-Discussion mailing list