Hi,
with a fairly recent snapshot (July) I'm noticing that an MPI block is
failing if I replace a "funcerr" command line (and if-block) with an
equivalent errorif() call.
The obvious workaround is to stick with the funcerr command, but I guess
at some point the more recent syntax should also work with MPI. BTW, I
am aware that issuing funcerr inside MPI is also kind of dubious,
because in my experience the error message usually doesn't make it
through to the world of the caller, but well, that's a different thing.
Example:
<hansl>
mpi
err = 0
# errorif( $mpirank == 0 && err, "just checking") # fails
if $mpirank == 0 && err # works
funcerr "just checking"
endif
end mpi --np=2
</hansl>
thanks
sven