Created
May 28, 2019 10:30
-
-
Save thomaseizinger/8b2383257bdecf96b647d083dbb7ae38 to your computer and use it in GitHub Desktop.
Install SU2 v6.2.0 in Ubuntu 18.04 with parallel support enabled
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
FROM ubuntu:18.04 | |
RUN apt update | |
RUN apt install -y curl unzip mpi-default-dev m4 autotools-dev autoconf build-essential ssh | |
# Only if you don't have python already | |
RUN apt install -y python3 python-pip | |
RUN pip install python-config | |
# This is just like `cd /source`, you can choose any other folder ... | |
WORKDIR /source | |
RUN curl -L https://github.com/su2code/SU2/archive/v6.2.0.zip -o SU2.zip | |
RUN unzip ./SU2.zip | |
WORKDIR /source/SU2-6.2.0/ | |
RUN ./bootstrap | |
RUN ./configure CXXFLAGS="-O3" --enable-mpi | |
RUN make -j 8 install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment