Dear Open MPI developer,
Please take a look at the attached 'program'.In this program, we try to catch signals send from outside, and "handle" them. In case of different signals different output has to be produced.
When you start this file directly, or using 'mpiexec' from Intel MPI, and then abort it by Ctrl-C, the output "SIGINT received" is written to file and to StdOut.
When you start this file using Open MPI's 'mpiexec', the output is written to file, but *not* to StdOutput - 'mpiexec' seem to nick it.
Is that behaviour intentionally? (it is quite uncomfortable, huh) Best Paul Kapinos P.S. Tested versions: 1.6.5, 1.7.4 -- Dipl.-Inform. Paul Kapinos - High Performance Computing, RWTH Aachen University, IT Center Seffenter Weg 23, D 52074 Aachen (Germany) Tel: +49 241/80-24915
#!/usr/bin/perl use Sys::Hostname; open (MYFILE, '>>testoutput.txt'); $| = 1; print "running on ", hostname, "\n"; print MYFILE "running on ", hostname, "\n"; $SIG{INT} = sub { print "SIGINT received\n"; print MYFILE "SIGINT received\n"; exit 0 }; $SIG{TERM} = sub { print "SIGTERM received\n"; print MYFILE "SIGTERM received\n"; exit 0 }; sleep 1000000000; close (MYFILE);
smime.p7s
Description: S/MIME Cryptographic Signature