-
-
Save danielnc/3986891 to your computer and use it in GitHub Desktop.
Build ATLAS for EC2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UPDATE to Get the latest versions | |
wget http://www.netlib.org/lapack/lapack-3.4.2.tgz | |
wget http://sourceforge.net/projects/math-atlas/files/Stable/3.10.0/atlas3.10.0.tar.bz2/download?use_mirror=ufpr | |
tar -vxf atlas3.10.0.tar.bz2 | |
cd ATLAS | |
mkdir build | |
cd build | |
################################## -t 8 means 8 threads. depending on the ec2 instance you can choose more threads | |
### V 448 means SSE1/2/3 support. A14 means x86SSE364SSE2 architecture. check the documentation for more information | |
### if you run smaller instances you may get 32 bit machines. in this case you need to build -b 32, too and install the | |
### appropriate version on run time. | |
../configure -b 64 -V 448 -A 14 -t 8 --with-netlib-lapack-tarfile=/home/$USER/lapack-3.4.1.tgz --shared | |
make build # tune & build lib | |
make check # sanity check correct answer | |
make ptcheck # sanity check parallel | |
make time # check if lib is fast | |
make install # copy libs to install dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment