Last active
July 22, 2016 21:00
-
-
Save njanetos/1c73f621367c2bed88e9be96445d5460 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# install NLopt locally on the Tesla server | |
wget http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz | |
tar -xf nlopt-2.4.2.tar.gz | |
cd nlopt-2.4.2 | |
./configure --prefix=$HOME/gcc-4.9.3 | |
make | |
make install | |
cd .. | |
# clean up | |
rm nlopt-2.4.2.tar.gz | |
rm -rf nlopt-2.4.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment