Skip to content

Commit

Permalink
modify docker
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Jun 22, 2024
1 parent 1408b8e commit ddfa2f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ RUN echo '#!/bin/bash' >> /opt/entry.sh && \
echo 'source /opt/venv/bin/activate' >> /opt/entry.sh && \
echo 'export PLUMED_KERNEL=/usr/local/plumed/lib/libplumedKernel.so' >> /opt/entry.sh && \
echo 'export OMP_PROC_BIND=close' >> /opt/entry.sh && \
echo 'export OMP_SCHEDULE=static' >> /opt/entry.sh && \
echo 'export KMP_AFFINITY=granularity=fine,compact,1,0' >> /opt/entry.sh && \
echo 'export KMP_BLOCKTIME=1' >> /opt/entry.sh && \
echo '"$@"' >> /opt/entry.sh
RUN chmod +x /opt/entry.sh
ENTRYPOINT ["/opt/entry.sh"]
Expand Down

0 comments on commit ddfa2f3

Please sign in to comment.