nextflow-io/nextflow

AWS Batch Fargate requires exact CPU values?

已关闭

#5,781 创建于 2025年2月12日

 (4 条评论) (0 个反应) (0 位负责人)Groovy (784 个派生)batch import
executor/aws-batchgood first issuetriage/investigate

仓库指标

星标
 (3,382 个星标)
PR 合并指标
 (平均合并 16天 9小时) (30 天内合并 54 个 PR)

描述

When running wf-human-variation from ONT on AWSBatch Fargate, I get this error

ERROR ~ Error executing process > 'ingress:minimap2_alignment (1)'

Caused by:
  Requirement of 12 CPUs is not allowed by Fargate -- Check process with name 'ingress:minimap2_alignment (1)'

From what I can tell it's because the requested CPU value does not match one from the list found here:

https://github.com/nextflow-io/nextflow/blob/944f48f9b52d47032bf57e16cfe11fe9410972b2/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy#L923-L943

It seems a bit restrictive to require specific CPU values, am I doing something wrong or is that in fact the case?

贡献者指南