Skip to main content

Matplotlib

Matplotlib hanging, during a call to fork()? Try setting environment variable KMP_INIT_AT_FORK=FALSE

This could be caused by a bug in the Intel openmp library.

h5py

Getting the following message when importing h5py?

--------------------------------------------------------------------------
A process has executed an operation involving a call to the
"fork()" system call to create a child process.  Open MPI is currently
operating in a condition that could result in memory corruption or
other system errors; your job may hang, crash, or produce silent
data corruption.  The use of fork() (or system() or other calls that
create child processes) is strongly discouraged.

The process that invoked fork was:

  Local host:          [[8264,1],0] (PID 203173)

If you are *absolutely sure* that your application will successfully
and correctly survive a call to fork(), you may disable this warning
by setting the mpi_warn_on_fork MCA parameter to 0.
--------------------------------------------------------------------------

We think it is harmless, so just ignore it.