On Oct 29, 2019, at 7:30 PM, Kulshrestha, Vipul via users <users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>> wrote:
Hi, We recently shifted from openMPI 2.0.1 to 4.0.1 and are seeing an important behavior change with respect to above option. We invoke mpirun as % mpirun –output-filename <log directory>/app.log –np <n> <application command line> With 2.0.1, the above produced <log directory>/app.log.<i> file for stdout of the application, where <i> is the rank of the process. However, with 4.0.1, the above produces <log directory>/app.log/1/rank.<i>/stdout Is this intentional change? The documentation does not seem to indicate any expected changes in the behavior. How do I get 4.0.1 to get log files as seen in 2.0.1? This was reported recently here: https://github.com/open-mpi/ompi/issues/7095 It looks like we changed this behavior quite some time ago, and neglected to update the documentation. :-\ Further, earlier, mpirun had no output on stdout, except to indicate, when all the child process had completed. However, now the mpirun also spews out all the application stdout messages (from each rank process) on its stdout. How do I stop that? Oh, did the prior behavior *only* output to the file and not to stdout/stderr? Huh. I guess a workaround for that would be: mpirun ... > /dev/null -- Jeff Squyres jsquy...@cisco.com<mailto:jsquy...@cisco.com>