Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Fix OpenMPI3 + Docker error. See open-mpi/ompi#4948 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Dec 15, 2018
1 parent 71c771b commit d4c3d20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gchp/gchp_model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,9 @@ RUN rm -r OutputDir && ln -sf /OutputDir OutputDir \
&& sed -i -e "s/'StateMet_avg',/#'StateMet_avg',/" HISTORY.rc \
&& sed -i -e "s/'StateMet_inst',/#'StateMet_inst',/" HISTORY.rc

# Fix error message "Read -1, expected xxxx errno = 1"
# https://github.com/open-mpi/ompi/issues/4948#issuecomment-395468231
# https://hpc.github.io/charliecloud/faq.html#communication-between-ranks-on-the-same-node-fails
ENV OMPI_MCA_btl_vader_single_copy_mechanism=none

CMD ["/bin/bash"]

0 comments on commit d4c3d20

Please sign in to comment.