Skip to content

Instantly share code, notes, and snippets.

@benman1
Created May 6, 2018 02:47
Show Gist options
  • Save benman1/307a9d1648f4ceb4ab07c5d4bbd83fae to your computer and use it in GitHub Desktop.
Save benman1/307a9d1648f4ceb4ab07c5d4bbd83fae to your computer and use it in GitHub Desktop.
ATLAS LAPACK installation

adapted ftom from https://github.com/jonathansick/dotfiles/wiki/Notes-for-Mac-OS-X

ATLAS & LAPACK

ATLAS can be downloaded from SourceForge; these instructions are for atlas 3.10.3. Also grab a copy of LAPACK with

wget http://www.netlib.org/lapack/lapack-3.8.0.tar.gz

Setup Move ATLAS to ~/build. Unpack and setup via:

bunzip2 -c atlas3.10.3.tar.bz2 | tar xfm - mv ATLAS ATLAS3.10.3 cd ATLAS3.10.3 mkdir _mac_build cd _mac_build The _mac_build directory is where we'll build the sources. Similarly move lapack-3.8.0.tar.gz to the ~/build directory.

Configuration Inside the build directory the configuration is done via:

../configure -b 64 --prefix=/usr/local/Cellar/atlas --with-netlib-lapack-tarfile=/Users/ben/Downloads/lapack-3.8.0.tar.gz --shared

Build, Check and Install

make build make check make ptcheck make time make install

ln -s /usr/local/Cellar/atlas/lib/liblapack.a /usr/local/Cellar/atlas/lib/liblapack_atlas.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment