Skip to content

Commit

Permalink
CactusTutorial: work around OpenMPI issue on Ubuntu 18.04
Browse files Browse the repository at this point in the history
not directly relevant for our current 16.04 image but still good to
have. See open-mpi/ompi#4948
  • Loading branch information
rhaas80 committed Jun 6, 2019
1 parent d7de575 commit 2f7d94d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CactusTutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
"from IPython.core.magic import register_cell_magic\n",
"@register_cell_magic\n",
"def bash(line, cell): get_ipython().system(cell)\n",
"# OpenMPI in docker containers produces warnings due to the vader library, this disables them\n",
"import os\n",
"os.environ[\"OMPI_MCA_btl_vader_single_copy_mechanism\"] = \"none\""
]
},
{
Expand Down

0 comments on commit 2f7d94d

Please sign in to comment.