delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/08/02:27:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <162257.24659.qm@web25506.mail.ukl.yahoo.com>
Date: Tue, 8 Dec 2009 07:26:54 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: [Numpy-discussion] Import numpy fails on cygwin python
To: Cygwin list <cygwin AT cygwin DOT com>,
Olivia Cheronet <cheronetolivia AT yahoo DOT com>
In-Reply-To: <622446.50471.qm@web51007.mail.re2.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--- Mar 8/12/09, Olivia Cheronet  ha scritto:

>  > >> Does the file
>  > >>
> /usr/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so
> exist ?
>  > >>
>  > >> cheers,
>  > >>
>  > >> David
>  > >
>  > >
>  > > Indeed, this file is not there. Where can I find
> it?
>  >=20
>  > My mistake, cygwin uses the same extension as
> windows, that is .dll
>  > and not .so, so I would need the output of ldd
> lapack_lite.dll as well
>  > as the output of nm lapack_lite.dll
>=20=20
>=20=20
>=20=20
>  Here are the outputs of cygcheck (instead of ldd as
> advised in=20
>  http://cygwin.com/ml/cygwin/2009-10/msg00004.html) and
> nm.
>=20=20
> cyglapack.dll does exist, but in
> lib/lapack/cygblas.dll.....
>=20=20
>  Thanks,
>=20=20
>  Olivia
>=20=20
>  $ cygcheck
> /lib/python2.5/site-packages/numpy/linalg/lapack_lite.dll=20
>=20
> C:\cygwin\lib/python2.5/site-packages/numpy/linalg/lapack_lite.dll
> =A0=A0=A0C:\cygwin\bin\cygwin1.dll
> =A0 =A0=A0=A0C:\WINDOWS\system32\ADVAPI32.DLL
> =A0 =A0
> =A0=A0=A0C:\WINDOWS\system32\KERNEL32.dll
> =A0 =A0 =A0
> =A0=A0=A0C:\WINDOWS\system32\ntdll.dll
> =A0 =A0
> =A0=A0=A0C:\WINDOWS\system32\RPCRT4.dll
> =A0 =A0 =A0
> =A0=A0=A0C:\WINDOWS\system32\Secur32.dll
>  Error: could not find cyglapack.dll
> =A0=A0=A0C:\cygwin\bin\libpython2.5.dll
>=20=20

The lapack dll's are in=20
/usr/lib/lapack to allow anyone willing to install atlas
libraries to have them in /usr/lib without collision.
This was a decision taken by my predecessor as lapack=20
mantainer and I am sticking to it.=20

There are two scripts=20
/etc/profile.d/lapack.csh
/etc/profile.d/lapack.sh
that should add /usr/lib/lapack at the end of the PATH.
Of course they do not work if you redefine PATH by yourself.

$ cygcheck -l lapack
/etc/profile.d/lapack.csh
/etc/profile.d/lapack.sh
/usr/include/cblas.h
/usr/include/cblas_f77.h
/usr/lib/lapack/cygblas.dll
/usr/lib/lapack/cyglapack.dll
/usr/lib/libblas.a
/usr/lib/libblas.dll.a
/usr/lib/liblapack.a
/usr/lib/liblapack.dll.a
/usr/share/doc/Cygwin/lapack-3.0.README
/usr/share/doc/lapack-3.0/LICENSE
/usr/share/doc/lapack-3.0/LICENSE.atlas
/usr/share/doc/lapack-3.0/README

the same is true for lapack 3.2.1 on cygwin-1.7

Regards
Marco Atzeri
cygwin lapack mantainer




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019