Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install LAPACK and BLAS using CYGWIN?

I have a use case for the pymc python module.

When doing python -m pip install pymc, I yield [Errno 2] No such file or directory "lapack/double/dpotrs.f".

When doing python -m pip install lapack, I yield No matching distribution found for lapack.

I know that I need the Intel Fortran Compiler and MS Visual Studio, according to this guide.

Because this seems non-trivial to me, I am looking for a quick & simple alternative.

How to install LAPACK and BLAS with CYGWIN?

like image 732
sudonym Avatar asked Jan 28 '26 23:01

sudonym


1 Answers

If you wish to use Cygwin, you can install python, BLAS, and LAPACK on Cygwin quite easily as "Gygwin package".

The documentation at https://cygwin.com/install.html says that you can

Run setup-x86_64.exe any time you want to update or install a Cygwin package.

Then from the installer, look for and select the entries:

  • openblas-0.2.16-1
  • lapack-3.6.0r1730-2

Do not forget to install

  • python-numpy-1.9.2-1

The installer will also add more package that are essential for those you selected. After that, you should be able to use Pymc from within the Cygwin terminal.

You do not need the Intel compiler and MS Visual Studio at all (and the link that you posted refers to something rather different than using Cygwin).

like image 154
altroware Avatar answered Jan 31 '26 13:01

altroware



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!