POLYFLOW - how to deal with errors when running a parallel calculation that involves a user-defined function (UDF)
When running a simulation involving a UDF on two processors or more, the calculation may crash if the keyword FULLEVALUDF is invoked. The program can generate an error message such as
Cannot read arguments for external call.
CLIPS data structures are in an inconsistent or corrupted state.
This error may have occurred from errors in user defined code.
Possible remedies are:
- omit the keyword FULLEVALUDF if the UDF is smooth enough for being processed without that keyword;
- alternatively, run on a single processor
Note that this is fixed in version 3.11