Created
July 24, 2011 07:35
-
-
Save mipearson/1102383 to your computer and use it in GitHub Desktop.
Bootstrap migrate-n on a fresh ubuntu 10.04 system
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
#!/usr/bin/bash | |
set -e | |
set -v | |
sudo apt-get update | |
sudo apt-get install -y libopenmpi-dev build-essential openmpi-bin screen sendmail | |
sudo apt-get upgrade | |
wget http://popgen.sc.fsu.edu/currentversions/migrate-3.2.15.linuxubuntu.tar.gz | |
tar -xzvf migrate-3.2.15.linuxubuntu.tar.gz | |
cd migrate-3.2.15/src | |
./configure --enable-sse2 | |
make clean | |
make -j8 && make clean && make mpis -j8 | |
sudo mv migrate-n /usr/bin/ | |
sudo mv migrate-n-mpi /usr/bin | |
#cd ../example | |
#time mpirun -c 8 migrate-n-mpi parmfile.testbayes -nomenu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment