Skip to content

Instantly share code, notes, and snippets.

@seumasmorrison
Last active December 31, 2015 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seumasmorrison/7988148 to your computer and use it in GitHub Desktop.
Save seumasmorrison/7988148 to your computer and use it in GitHub Desktop.
Building adcirc for adc_50_99_12 on Ubuntu 12.04
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