[SciPy-user] How do I build scipy using standard BLAS/LAPACK

Pearu Peterson pearu at scipy.org
Mon Nov 22 13:03:14 CST 2004



On Mon, 22 Nov 2004, Nils Wagner wrote:

> Following the notes
> http://www.scipy.org/documentation/buildscipy.txt
> Or get LAPACK/BLAS sources as follows:
>
> gives
>
> Traceback (most recent call last):
>  File "setup.py", line 112, in ?
>    setup_package(ignore_packages)
>  File "setup.py", line 99, in setup_package
>    url = "http://www.scipy.org",
>  File "scipy_core/scipy_distutils/core.py", line 73, in setup
>    return old_setup(**new_attr)
>  File "/usr/local/lib/python2.3/distutils/core.py", line 149, in setup
>    dist.run_commands()
>  File "/usr/local/lib/python2.3/distutils/dist.py", line 907, in 
> run_commands
>    self.run_command(cmd)
>  File "/usr/local/lib/python2.3/distutils/dist.py", line 927, in run_command
>    cmd_obj.run()
>  File "/usr/local/lib/python2.3/distutils/command/build.py", line 107, in 
> run
>    self.run_command(cmd_name)
>  File "/usr/local/lib/python2.3/distutils/cmd.py", line 333, in run_command
>    self.distribution.run_command(command)
>  File "/usr/local/lib/python2.3/distutils/dist.py", line 927, in run_command
>    cmd_obj.run()
>  File "scipy_core/scipy_distutils/command/build_src.py", line 81, in run
>    self.build_sources()
>  File "scipy_core/scipy_distutils/command/build_src.py", line 88, in 
> build_sour
> ces
>    self.build_extension_sources(ext)
>  File "scipy_core/scipy_distutils/command/build_src.py", line 122, in 
> build_ext
> ension_sources
>    sources = self.generate_sources(sources, ext)
>  File "scipy_core/scipy_distutils/command/build_src.py", line 164, in 
> generate_
> sources
>    source = func(extension, build_dir)
>  File "Lib/lib/lapack/setup_lapack.py", line 87, in get_clapack_source
>    target = join(build_dir,target_dir,'clapack.pyf')
> NameError: global name 'join' is not defined
> nwagner at linux:~/cvs/scipy> echo $LAPACK_SRC
> /home/nwagner/src/lapack/LAPACK/SRC
> nwagner at linux:~/cvs/scipy> echo $BLAS_SRC
> /home/nwagner/src/blas
> nwagner at linux:~/cvs/scipy> echo $ATLAS
> None
>
> Any suggestion how to continue ?

This is now fixed in scipy CVS. Update from cvs and try again.

Pearu



More information about the SciPy-user mailing list