[SciPy-dev] more 64 Bit testing

Arnd Baecker arnd.baecker at web.de
Thu Dec 8 11:13:54 CST 2005


Hi David,

On Thu, 8 Dec 2005, David M. Cooke wrote:

> Travis Oliphant <oliphant.travis at ieee.org> writes:
>
> > Arnd Baecker wrote:
> >
> >>Hi David,
> >>
> >>
> >>
> >>yes there is - from man icc
> >>  -std=c99 Enable C99 support for C programs
> >>
> >>
> >>
> > http://cache-www.intel.com/cd/00/00/22/23/222301_222301.pdf
> >
> > This document gives some of the compatibility issues between the icc
> > compiler and gcc.
> >
> > In particular, note that nested functions are not supported.   So, it
> > looks like icc can't be used to build the fitpackmodule.c unless f2py is
> > changed to not use nested functions.
>
> The problem isn't f2py generating a nested function per se; it's that
> fitpack.pyf uses a "usercode" directive inside of a subroutine
> declaration to insert some definitions for functions that it uses when
> initializing some variables. I've moved those functions to
> module-level functions instead. It's revision 1479. Works for me with
> gcc (but then, it worked for me before :-)

**Many thanks** - It compiles fine now!!

I can't test it right now, because after all this, the
next problem appears when it wants to handle  fftpack

   link = self.fcompiler.link_shared_object
AttributeError: 'NoneType' object has no attribute 'link_shared_object'
(see at the end for more)

((I used
  export FC_VENDOR=Intel
  export ATLAS=/opt/intel/mkl72/lib/64:/opt/intel/mkl72/include/
  python setup.py config --compiler=intel config_fc --fcompiler=intel install

Maybe I should just use
  python setup.py config --fcompiler=intel install
as Pearu said ...
))

Best, Arnd









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/install.py",
line 506, in run
    self.run_command('build')
  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//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'





More information about the Scipy-dev mailing list