"Smith, Barry F." <[email protected]> writes:

>> On Jan 31, 2018, at 3:12 PM, Jed Brown <[email protected]> wrote:
>> 
>> I think his point is that Fortran has a one-line if statement (no then
>> and no endif), which simplifies the macro and usage.
>> 
>>  if (cond) SETERRQ(...)
>
>    That doesn't work because the SETERRQ() has both the call to the error 
> handler followed by a return which is two lines in Fortran.

Ah, right.  Would it make sense for PetscError to call MPI_Abort when
called in this context?

Reply via email to