Last active
December 31, 2015 12:39
-
-
Save seumasmorrison/7988148 to your computer and use it in GitHub Desktop.
Building adcirc for adc_50_99_12 on Ubuntu 12.04
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
wget http://www.mpich.org/static/downloads/1.4.1/mpich2-1.4.1.tar.gz | |
tar -xvf mpich2-1.4.1.tar.gz | |
cd mpich2-1.4.1/ | |
sudo ./configure CFLAGS=-fPIC FFLAGS=-fPIC FC=gfortran --enable-shared --enable-lib-depend --prefix=/mirror/mpich2 | |
sudo make && sudo make install | |
sudo apt-get install gfortran | |
alias f90='gfortran' | |
cd work | |
sed -i s/#compiler=gnu/compiler=gnu/ cmplrflags.mk | |
chmod a+x config.guess | |
sudo make all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment