[SciPy-dev] Option --f90exec not working for numpy.distutils?

Berthold Höllmann berthold.hoellmann at gl-group.com
Thu May 4 07:40:50 EDT 2006


Hello,

Trying to build some code of ours using numpy instead of Numeric /
scipy_distutils I get the following error message.

python setup.py config_fc --fcompiler=intel --f90exec=ifort81 --f77exec=ifort81 --f77flags="-assume byterecl" --f90flags="-assume byterecl" build
running config_fc
running build
running build_py
running build_scripts
running config_fc
running build
running build_src
building py_modules sources
building library "py_brush" sources
building library "engforcegen" sources
building library "priefas" sources
building library "f_dummy" sources
building library "fortmisc" sources
building extension "SXFPyBase" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
building extension "numfort" sources
building extension "_Metis_Wrapper" sources
building extension "BasePyBrush" sources
building extension "StiffOnPlate" sources
building extension "glMiscMod" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
building extension "iuw" sources
building extension "_spsolve" sources
building extension "sgah" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
building extension "engforcelib" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
building extension "priefaslib" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
building extension "AnsysInterface" sources
f2py options: []
  adding 'build/src/fortranobject.c' to sources.
  adding 'build/src' to include_dirs.
running build_py
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable ifort
Could not locate executable efort
Could not locate executable efc
customize IntelFCompiler
customize IntelFCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
warning: build_ext: fcompiler=intel is not available.
building 'SXFPyBase' extension
compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC'
compile options: '-DDEBUG -DC_COMPILER_ACC -Dlinux=1 -Ilib/SXFPyBase -I/usr/local/gltools/include -Ibuild/src -I/usr/local/gltools/python/Python-2.5/linux/lib/python2.5/site-packages/numpy/core/include -I/usr/local/gltools/python/Python-2.5/include/python2.5 -I/usr/local/gltools/python/Python-2.5/linux/include/python2.5 -c'
Traceback (most recent call last):
  File "setup.py", line 206, in <module>
    ext_modules=extInfo.exts)
  File "/usr/local/gltools/python/Python-2.5/linux/lib/python2.5/site-packages/numpy/distutils/core.py", line 85, in setup
    return old_setup(**new_attr)
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/local/gltools/python/Python-2.5/linux/lib/python2.5/site-packages/numpy/distutils/command/build_ext.py", line 109, in run
    self.build_extensions()
  File "/usr/local/gltools/python/Python-2.5/lib/python2.5/distutils/command/build_ext.py", line 407, in build_extensions
    self.build_extension(ext)
  File "/usr/local/gltools/python/Python-2.5/linux/lib/python2.5/site-packages/numpy/distutils/command/build_ext.py", line 301, in build_extension
    link = self.fcompiler.link_shared_object
AttributeError: 'NoneType' object has no attribute 'link_shared_object'
make[1]: *** [build] Fehler 1
make[1]: Leaving directory `/data/tmp/hoel/GLPy/test'
make: *** [build] Fehler 2

Kind regards

Berthold Höllmann
-- 
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: berthold.hoellmann at gl-group.com
Internet: http://www.gl-group.com



This e-mail and any attachment thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as total or partial copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail. 

If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer.

GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc.




More information about the SciPy-Dev mailing list