nextflow-io / nextflow-io/nextflow

Basic architecture awareness when using singularity/apptainer - pulling

Open
#7,616 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Support features allowing mixed-architecture executions

To facilitate situations where clusters have mixed basic architectures (e.g. GPU nodes are ARM-based while x86-64 is used for the rest of the cluster), it would be great if nextflow could pass through process.arch (if any) to singularity/apptainer pull.

Technically, what I wish for is that

  • if the process has an arch set (possibly one that fits a whitelist) as ARCHVALUE, that is provided to the pull command as --arch ARCHVALUE

doing so would allow getting the right container image from multi-architecture ORAS sources.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Nextflow's Singularity/Apptainer container pull path and how process.arch is exposed to processes. Verify the requested behavior for an ARCHVALUE, including any supported whitelist, and confirm that the pull command receives --arch ARCHVALUE so multi-architecture ORAS images can be selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
hpc
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.