Re: [OMPI users] [EXT] Re: Error handling

2023-07-19 Thread George Bosilca via users
s them. > > ---------- > > > $ echo $? > > 79 > > -- > *From:* users on behalf of Alexander > Stadik via users > *Sent:* Wednesday, July 19, 2023 12:45 AM > *To:* George Bos

Re: [OMPI users] [EXT] Re: Error handling

2023-07-19 Thread Jeff Squyres (jsquyres) via users
__ From: users on behalf of Alexander Stadik via users Sent: Wednesday, July 19, 2023 12:45 AM To: George Bosilca ; Open MPI Users Cc: Alexander Stadik Subject: Re: [OMPI users] [EXT] Re: Error handling Hey George, I said random only because I do not see the method behind it, but exa

Re: [OMPI users] [EXT] Re: Error handling

2023-07-19 Thread George Bosilca via users
Alex, exit(status) does not make status available to the parent process wait, instead it makes the low 8 bits available to the parent as unsigned. This explains why small positive values seem to work correctly while negative values do not (because of the 32 bits negative value representation in co

Re: [OMPI users] [EXT] Re: Error handling

2023-07-18 Thread Alexander Stadik via users
Hey George, I said random only because I do not see the method behind it, but exactly like this when I do allreduce by MIN and return a negative number I get either 248, 253, 11 or 6 usually. Meaning that's purely a number from MPI side. The Problem with MPI_Abort is it shows the correct number