• 115 views | 2 messages Discussion: LEAP
    Topic: NEMO KeyErrorSubscribe | Previous | Next
  • Garrett Clark 3/15/2023

    Hello,

    NEMO has been failing to optimize due to a TaskFailedException 'KeyError'. The KeyError is not always the same. The attached file is the debugger print-out from NEMO after "KeyError : key :ys not found", although I have also seen a 'KeyError : key :trv not found' key error.

    The error does not occur the first time I run the model after starting or restarting my computer. It happens on every subsequent model run. Also, I am using a VBA script to change a single variable between model runs.

    Thank you for your help.
    Garrett

    OPDebug1.png
    OPDebug2.png
    OPDebug3.png
  • Jason Veysey 4/26/2023
      Best Response

    Hi, Garrett -

    Thanks for reporting this problem. We've seen something similar on certain computers with certain models, but we haven't pinpointed a single definitive cause. Here are a couple of things that might help, though:

    1) Make sure to close unused programs (particularly memory-intensive programs) when running LEAP and NEMO.
    2) Under Windows' terminal settings, change the default terminal app to Windows Console Host.

    In the next release of NEMO, we plan to update the version of Julia that NEMO uses. We suspect this will also help with this issue.

    Regards,

    Jason