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.

custom runtime configuration

Comments

5 comments

  • Avatar
    Samantha (she/her)

    Hi AIBS MolGen,

     

    Thanks for writing in. I've brought this feature request to our product team as something to consider.

    The Terra UI currently only has options for n1 Google machine types but you can try making changes to the configuration by calling this API https://notebooks.firecloud.org/#/runtimes/createRuntime and using a different machine type that matches your specifications.

    {
    "runtimeConfig": {
    "cloudService": "gce",
    "machineType": "<pick-a-machine-type>",
    "diskSize": <pick-a-disk-size>
    },
    "labels": {
    "saturnAutoCreated": "true"
    }
    }

    You'll need to authorize your account first, then click Try it out and add the custom properties before finally selecting Execute. One caveat to note is that we only have testing for the n1 machine types, so these custom machine types might have unexpected issues.

    Please let me know if you have any questions.

     

    Best,

    Samantha

    0
    Comment actions Permalink
  • Avatar
    Ruolin Liu

    A related question. After a job fails, how do I check the disk or memory usage for my job? I have a job that keeps failing and I am pretty sure it is either a disk problem or a memory problem. I've also seen this from my workflow.log, although I requested 1T disk. 

    Adjusting boot disk size to 22 GB: 10 GB (runtime attributes) + 11 GB (user command image) + 1 GB (Cromwell s upport images)

    0
    Comment actions Permalink
  • Avatar
    Jason Cerrato

    Hi Ruolin Liu,

    Thanks for your question. You can take a look at the size of your VM by clicking the "Compute Details" button on the workflow of interest in the Job Manager.

    You can see both the boot disk size and the general disk size. These are distinct settings that serve different purposes.

    https://cromwell.readthedocs.io/en/stable/RuntimeAttributes/#bootdisksizegb

    https://cromwell.readthedocs.io/en/stable/RuntimeAttributes/#disks

    If you want us to take a closer look at your job, please write to us at support@terra.bio and share the workspace with GROUP_FireCloud-Support@firecloud.org - we'll be happy to help!

    Kind regards,

    Jason

    1
    Comment actions Permalink
  • Avatar
    Ruolin Liu

    Thank you Jason! Do you know this line here `environment : MEM_SIZE : 4GB` is memory per CPU or total memory for the instance?

    0
    Comment actions Permalink
  • Avatar
    Jason Cerrato

    Hi Ruolin Liu,

    Happy to help! That 4G would be the total memory for the instance.

    Jason

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk