[Swift-devel] test for "got one name (derr) and 0 values"

Mihael Hategan hategan at mcs.anl.gov
Mon Aug 19 12:32:31 CDT 2013


On Mon, 2013-08-19 at 12:03 -0500, Michael Wilde wrote:
> Ive tested now with provider staging and localhost on communicado.  Will now shift to beagle, then try running on the compute nodes using local:pbs.
> 
> Can you explain more about what you know and theorize about the problem?  Is the error message coming from one of the vdl-int*.k scripts, or a karajan lib method, or ???

The only place where derr is assigned is execute-default.k:

derr := try(deperror, false)

And deperror is an optional argument to the current function.

So that statement tries to read deperror and if it's not assigned it
goes on to evaluating false.

One of deperror or false wrongly contain a java null, which karajan
considers as nothing in this case and produces the error.

That shouldn't be happening. If deperror is assigned, it should have a
non-null value and derr <- deperror. If it is not assigned, false is a
global constant that should have a java Boolean.FALSE in it.

Mihael




More information about the Swift-devel mailing list