Well, there are three easy ways to do this:

1. put OMPI_MCA_mpi_warn_on_fork=0 in your environ (you can even do that within 
your code prior to calling MPI_Init)

2. put mpi_warn_on_fork=0 in your default MCA param file

3. add -mca mpi_warn_on_fork 0 to your mpirun cmd line


On May 24, 2010, at 6:33 PM, tom fogal wrote:

> Our project is fork / exec'ing in some cases to provide a service for
> some of the processes within our MPI job.  Open MPI spews big warnings
> to the terminal about this.  It explains how to disable the message,
> but I'd really like it to not pop up regardless.
> 
> The child process does not perform any MPI calls, or even access the
> network.  In many cases, it probably doesn't even use sockets.
> 
> Is there any way I could disable this message?  Perhaps some special
> Open MPI code I could insert:
> 
>  #ifdef OPENMPI
>    disable_fork_exec_warning();
>  #endif
> 
> ?
> 
> Thanks,
> 
> -tom
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to