Re: Dynamic Process comment: using MPI_Init() without mpirun

Eric Salo (salo@mrjones.engr.sgi.com)
Mon, 29 Apr 1996 15:54:01 -0700

> Yup, exactly. All I really want to do is get a sentence in the
> standard that says what happens if you call MPI_Init() with no mpirun
> or spawn above it (it becomes a singleton, assuming the implementation
> supports dynamic processes).

Oops, I just realized that this would break on our implementation. If you call
MPI_Init() from a process that was not started with mpirun, then the MPI
library looks for the environment variable MPI_NP to determine how many
processes to create. It then forks/sprocs the appropriate number of tasks on
the local host and away you go.

-- 
Eric Salo         Silicon Graphics Inc.             "Do you know what the
(415)933-2998     2011 N. Shoreline Blvd, 7L-802     last Xon said, just
salo@sgi.com      Mountain View, CA   94043-1389     before he died?"