-
-
Notifications
You must be signed in to change notification settings - Fork 0
🏷️ openmpi #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tkoyama010
wants to merge
12
commits into
master
Choose a base branch
from
openmpi
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
🏷️ openmpi #37
Changes from 2 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
79bc9bb
:label: openmpi
tkoyama010 5ea1c02
:label: openmpi
tkoyama010 ea690ed
:up: Dockerfile
tkoyama010 03658ff
:up: Dockerfile
tkoyama010 2fb2f6a
:up: Dockerfile
tkoyama010 62659da
:up: Dockerfile
tkoyama010 2feaf9c
:up: Dockerfile
tkoyama010 560d54b
:up: Dockerfile
tkoyama010 1920943
:up: Dockerfile
tkoyama010 851509e
:up: Dockerfile
tkoyama010 391530e
:up: Dockerfile
tkoyama010 a1c36a5
:label: v5.4.1
tkoyama010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,54 +1,68 @@ | ||
| FROM ubuntu:bionic | ||
| MAINTAINER [email protected] | ||
| FROM ubuntu:latest | ||
| # LABEL maintainer="" | ||
|
|
||
| SHELL ["/bin/bash", "-c"] | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
| # ENV DEBCONF_NOWARNINGS yes | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ENV LANG C.UTF-8 | ||
| ENV TERM xterm | ||
| ENV TAG_NAME=master | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| USER root | ||
| WORKDIR work | ||
| RUN apt-get update | ||
| # RUN apt-get -y --no-install-recommends upgrade | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # getfem repository | ||
|
|
||
| RUN apt-get install -y --no-install-recommends ca-certificates | ||
| RUN apt-get install -y --no-install-recommends git | ||
| RUN git clone https://git.savannah.nongnu.org/git/getfem.git | ||
| # RUN apt-get install -y --no-install-recommends git | ||
| # RUN git clone https://git.savannah.nongnu.org/git/getfem.git | ||
| RUN apt-get install -y --no-install-recommends wget | ||
| RUN wget http://download-mirror.savannah.gnu.org/releases/getfem/stable/getfem-5.4.1.tar.gz | ||
| RUN tar xzf getfem-5.4.1.tar.gz | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # install dependencies | ||
|
|
||
| RUN apt-get install -y --no-install-recommends automake | ||
| RUN apt-get update | ||
| # RUN apt-get install -y --no-install-recommends automake | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| RUN apt-get install -y --no-install-recommends libtool | ||
| RUN apt-get install -y --no-install-recommends make | ||
| RUN apt-get install -y --no-install-recommends g++ | ||
| RUN apt-get install -y --no-install-recommends gfortran | ||
| RUN apt-get install -y --no-install-recommends libopenmpi-dev | ||
| RUN apt-get install -y --no-install-recommends openmpi-bin | ||
| RUN apt-get install -y --no-install-recommends libhdf5-openmpi-dev | ||
| RUN apt-get install -y --no-install-recommends libqd-dev | ||
| RUN apt-get install -y --no-install-recommends libqhull-dev | ||
| RUN apt-get install -y --no-install-recommends libmumps-seq-dev | ||
| RUN apt-get install -y --no-install-recommends liblapack-dev | ||
| RUN apt-get install -y --no-install-recommends libopenblas-dev | ||
| RUN apt-get install -y --no-install-recommends libpython3-dev | ||
| RUN apt-get install -y --no-install-recommends ufraw | ||
| RUN apt-get install -y --no-install-recommends imagemagick | ||
| RUN apt-get install -y --no-install-recommends fig2dev | ||
| RUN apt-get install -y --no-install-recommends texlive | ||
| RUN apt-get install -y --no-install-recommends xzdec | ||
| RUN apt-get install -y --no-install-recommends fig2ps | ||
| RUN apt-get install -y --no-install-recommends gv | ||
| # RUN apt-get install -y --no-install-recommends ufraw | ||
| # RUN apt-get install -y --no-install-recommends imagemagick | ||
| # RUN apt-get install -y --no-install-recommends fig2dev | ||
| # RUN apt-get install -y --no-install-recommends texlive | ||
| # RUN apt-get install -y --no-install-recommends xzdec | ||
| # RUN apt-get install -y --no-install-recommends fig2ps | ||
| # RUN apt-get install -y --no-install-recommends gv | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| RUN apt-get install -y --no-install-recommends python3-pip | ||
| RUN apt-get install -y --no-install-recommends python3-venv | ||
| # RUN apt-get install -y --no-install-recommends python3-numpy | ||
| # RUN apt-get install -y --no-install-recommends python3-scipy | ||
| # RUN apt-get install -y --no-install-recommends python3-sphinx | ||
| # RUN apt-get install -y --no-install-recommends python3-mpi4py | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # compile and install | ||
|
|
||
| RUN python3 -m venv /venv | ||
| RUN source /venv/bin/activate && \ | ||
| cd getfem && \ | ||
| cd getfem-5.4.1/ && \ | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| pip install --no-cache --upgrade pip && \ | ||
| pip install -r requirements.txt && \ | ||
| git checkout $TAG_NAME && \ | ||
| bash autogen.sh && \ | ||
| pip install numpy scipy sphinx mpi4py && \ | ||
| # git checkout $TAG_NAME && \ | ||
| # bash autogen.sh && \ | ||
tkoyama010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ./configure --prefix=/venv --with-pic && \ | ||
| make -j8 && \ | ||
| make -j8 check && \ | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.