Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
ProMod3
Commits
31b65dbe
Commit
31b65dbe
authored
6 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
SCHWED-690
: Parallel compile for docker.
parent
295f0a79
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
container/Dockerfile
+3
-2
3 additions, 2 deletions
container/Dockerfile
with
3 additions
and
2 deletions
container/Dockerfile
+
3
−
2
View file @
31b65dbe
...
@@ -5,7 +5,7 @@ FROM ubuntu:18.04
...
@@ -5,7 +5,7 @@ FROM ubuntu:18.04
ARG
OPENSTRUCTURE_VERSION="1.10.0"
ARG
OPENSTRUCTURE_VERSION="1.10.0"
ARG
PROMOD_VERSION="1.4.0"
ARG
PROMOD_VERSION="1.4.0"
ARG
SRC_FOLDER="/usr/local/src"
ARG
SRC_FOLDER="/usr/local/src"
ARG
CPUS_FOR_MAKE=
2
ARG
CPUS_FOR_MAKE=
4
ARG
COMPLIB_DIR="/usr/local/share/ost_complib"
ARG
COMPLIB_DIR="/usr/local/share/ost_complib"
ARG
OPENMM_VERSION="7.1.1"
ARG
OPENMM_VERSION="7.1.1"
ARG
OPENMM_INCLUDE_PATH="/usr/local/openmm/include/"
ARG
OPENMM_INCLUDE_PATH="/usr/local/openmm/include/"
...
@@ -135,7 +135,8 @@ RUN cd ${SRC_FOLDER} && \
...
@@ -135,7 +135,8 @@ RUN cd ${SRC_FOLDER} && \
-DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-DOPTIMIZE=ON \
-DOPTIMIZE=ON \
-DENABLE_SSE=1 && \
-DENABLE_SSE=1 && \
make && make codetest && make install && \
make -j ${CPUS_FOR_MAKE} && make codetest && make doctest && \
make install && \
# cleanup
# cleanup
cd ${SRC_FOLDER} && rm ${SRC_FOLDER}/promod-${PROMOD_VERSION}.tar.gz && \
cd ${SRC_FOLDER} && rm ${SRC_FOLDER}/promod-${PROMOD_VERSION}.tar.gz && \
rm -rf ${SRC_FOLDER}/promod-${PROMOD_VERSION}
rm -rf ${SRC_FOLDER}/promod-${PROMOD_VERSION}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment