Need Help?

Search our documentation and community forum

Terra is a cloud-native platform for biomedical researchers to access data, run analysis tools, and collaborate.
Terra powers important scientific projects like FireCloud, AnVIL, and BioData Catalyst. Learn more.

Error message: PAPI error code 10

Follow

Comments

6 comments

  • Avatar
    Yiming Yang

    Due to Cromwell's documentation at https://cromwell.readthedocs.io/en/stable/RuntimeAttributes/, it seems that the default "preemptible" and "maxRetries" are both 0.

    So in order to go around this PAPI error code 10, should I just leave both of them as default, or have to manually set them to be 0 in my workflow's inputs?

    0
    Comment actions Permalink
  • Avatar
    Jason Cerrato

    Hi Yiming,

    To follow the workarounds, you can just leave the preemptible defaulted to 0, but you would need to specify maxRetries to something above 0 if you actually did want the task to retry.

    I will be editing the article in the near future to include a section that explains that insufficient memory is also a possible cause of PAPI error code 10. If you are facing this error now, you can try the preemptible/maxRetries route and/or try increasing the overall memory for the task that's failing.

    If you would like us to take a closer look at your issue, please feel free to email us at support@terra.bio and we'll be happy to take a look.

    Kind regards,

    Jason

    0
    Comment actions Permalink
  • Avatar
    Yiming Yang

    Hi Jason,

    Thank you for your clarification!

    I did come across this error. But I finally figured out that it was due to insufficient disk space. So I would like to report here for your reference.

     

    Sincerely,
    Yiming

    0
    Comment actions Permalink
  • Avatar
    Jason Cerrato

    Hi Yiming,

    Thank you for that information—I will add that to the article as well once I add the note about memory!

    Kind regards,

    Jason

    0
    Comment actions Permalink
  • Avatar
    Roger Dettloff

    While running the https://github.com/gatk-workflows/gatk4-exome-analysis-pipeline workflow.

    I keep getting this error message: "Job Failed with Error Code 10 for a machine where Preemptible is set to false".  The error happens at the same place in the UnmappedBamToAlignedBam.SortSampleBam script each time I re-run it, so I suspect that it is a low disk space or low memory issue.  I do not know how to increase the memory allocation or disk size.   I'll search for documentation on how to do that, but it might be a worthwhile addition to this article to provide some detail or a link to more information on how to set the memory allocation.  Thanks for your help.

    0
    Comment actions Permalink
  • Avatar
    Jason Cerrato

    Hi Roger Dettloff,

    Thank you for letting me know. If you cannot change the memory or disk values in the method configuration, it may be the case that they are hardcoded into the WDL. If so, a member of our team can examine the workflow to see if the values need adjusting. For Terra featured workspace workflows (which this one is), you can post your concern to this forum board and we'll be happy to investigate: https://support.terra.bio/hc/en-us/community/topics/360001603491-Featured-Workspaces

    Be sure to read the What to do before you post! information before posting.

    Kind regards,

    Jason

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk