Re: [OMPI users] question about run-time of a small program

2017-07-31 Thread Gilles Gouaillardet
Siegmar, a noticeable difference is hello_1 does *not* sleep, whereas hello_2_slave *does* simply comment out the sleep(...) line, and performances will be identical Cheers, Gilles On 7/31/2017 9:16 PM, Siegmar Gross wrote: Hi, I have two versions of a small program. In the first one

[OMPI users] question about run-time of a small program

2017-07-31 Thread Siegmar Gross
Hi, I have two versions of a small program. In the first one the process with rank 0 calls the function "master()" and all other ranks call the function "slave()" and in the second one I have two programs: one for the master task and another one for the slave task. The run-time for the second