[SciPy-dev] cephes and icc

Arnd Baecker arnd.baecker at web.de
Mon Dec 5 06:18:31 EST 2005


Commenting out the build of special in Lib/setup.py
it gets a bit further:


build/src/Lib/fftpack/_fftpackmodule.c(22): remark #593: variable
"_fftpack_module" was set but never used
  static PyObject *_fftpack_module;
                   ^

icc: Lib/fftpack/src/drfft.c
icc: Command line warning: ignoring option '-O'; no argument required
Lib/fftpack/src/drfft.c(61): warning #1419: external declaration in
primary source file
  extern void F_FUNC(dfftf,DFFTF)(int*,double*,double*);
              ^

Lib/fftpack/src/drfft.c(62): warning #1419: external declaration in
primary source file
  extern void F_FUNC(dfftb,DFFTB)(int*,double*,double*);
              ^

Lib/fftpack/src/drfft.c(63): warning #1419: external declaration in
primary source file
  extern void F_FUNC(dffti,DFFTI)(int*,double*);
              ^

Lib/fftpack/src/drfft.c(73): warning #1418: external definition with no
prior declaration
  extern void destroy_drfft_cache(void) {
              ^

Lib/fftpack/src/drfft.c(87): warning #1418: external definition with no
prior declaration
  extern void drfft(double *inout,
              ^

icc: Lib/fftpack/src/zfft.c
icc: Command line warning: ignoring option '-O'; no argument required
Lib/fftpack/src/zfft.c(56): warning #1419: external declaration in primary
source file
  extern void F_FUNC(zfftf,ZFFTF)(int*,double*,double*);
              ^

Lib/fftpack/src/zfft.c(57): warning #1419: external declaration in primary
source file
  extern void F_FUNC(zfftb,ZFFTB)(int*,double*,double*);
              ^

Lib/fftpack/src/zfft.c(58): warning #1419: external declaration in primary
source file
  extern void F_FUNC(zffti,ZFFTI)(int*,double*);
              ^

Lib/fftpack/src/zfft.c(68): warning #1418: external definition with no
prior declaration
  extern void destroy_zfft_cache(void) {
              ^

Lib/fftpack/src/zfft.c(84): warning #1418: external definition with no
prior declaration
  extern void zfft(complex_double *inout,
              ^


icc: Lib/fftpack/src/zrfft.c
icc: Command line warning: ignoring option '-O'; no argument required
Lib/fftpack/src/zrfft.c(9): warning #1419: external declaration in primary
source file
  extern void drfft(double *inout,int n,int direction,int howmany,int
normalize);
              ^

Lib/fftpack/src/zrfft.c(11): warning #1418: external definition with no
prior declaration
  extern void zrfft(complex_double *inout,
              ^

Traceback (most recent call last):
  File "setup.py", line 42, in ?
    setup_package()
  File "setup.py", line 35, in setup_package
    setup( **config.todict() )
  File
"/home/baecker/python//newscipy/lib/python2.4/site-packages/scipy/distutils/core.py",
line 93, in setup
    return old_setup(**new_attr)
  File "/home/baecker/python//lib/python2.4/distutils/core.py", line 149,
in setup
    dist.run_commands()
  File "/home/baecker/python//lib/python2.4/distutils/dist.py", line 946,
in run_commands
    self.run_command(cmd)
  File "/home/baecker/python//lib/python2.4/distutils/dist.py", line 966,
in run_command
    cmd_obj.run()
  File "/home/baecker/python//lib/python2.4/distutils/command/build.py",
line 112, in run
    self.run_command(cmd_name)
  File "/home/baecker/python//lib/python2.4/distutils/cmd.py", line 333,
in run_command
    self.distribution.run_command(command)
  File "/home/baecker/python//lib/python2.4/distutils/dist.py", line 966,
in run_command
    cmd_obj.run()
  File
"/home/baecker/python//newscipy/lib/python2.4/site-packages/scipy/distutils/command/build_ext.py",
line 107, in run
    self.build_extensions()
  File
"/home/baecker/python//lib/python2.4/distutils/command/build_ext.py", line
405, in build_extensions
    self.build_extension(ext)
  File
"/home/baecker/python//newscipy/lib/python2.4/site-packages/scipy/distutils/command/build_ext.py",
line 299, in build_extension
    link = self.fcompiler.link_shared_object
AttributeError: 'NoneType' object has no attribute 'link_shared_object'
removed Lib/__svn_version__.py
removed Lib/__svn_version__.pyc

Any advice on this?
((I used:
  python setup.py config --compiler=intel config_fc --fcompiler=intel
build  | $
))

Many thanks in advance,

Arnd





More information about the SciPy-Dev mailing list