Skip to content

Unable to use Wave with Singularity as the container engine #5

@marcodelapierre

Description

@marcodelapierre

Here is a (hopefully) simple way to reproduce.

Requirements to reproduce:

  • Conda
  • Docker (runs OK, baseline)
  • Singularity (has issues -- note I am using v3.8.7)
  • Nextflow, latest edge [updated]:
      Version: 23.01.0-edge build 5838
      Created: 31-01-2023 15:12 UTC 
      System: Linux 5.15.0-58-generic
      Runtime: Groovy 3.0.14 on Java HotSpot(TM) 64-Bit Server VM 19.0.2+7-44
      Encoding: UTF-8 (UTF-8)
    

Baseline, successful:

nextflow run -r main marcodelapierre/toy-cowsay-nf -profile condawave

Attempt with Singularity:

nextflow run -r main marcodelapierre/toy-cowsay-nf -profile condawavesing

This profile has:

condawavesing {
  process.conda = 'conda-forge::cowpy'
  singularity.enabled = true
  wave {
    strategy = ['conda']
    enabled = true
  }
}

This is the error message:

[..]

Command error:
  FATAL:   could not open image wave.seqera.io/wt/9995c54e2db7/wave/build:fd8de55a0b747597234e1c02d7cf5c40: failed to retrieve path for wave.seqera.io/wt/9995c54e2db7/wave/build:fd8de55a0b747597234e1c02d7cf5c40: lstat wave.seqera.io: no such file or directory

[..]

Clue: in the .command.run of the failing process:

nxf_launch() {
    set +u; env - PATH="$PATH" ${TMP:+SINGULARITYENV_TMP="$TMP"} ${TMPDIR:+SINGULARITYENV_TMPDIR="$TMPDIR"} singularity exec wave.seqera.io/wt/5392729906db/wave/build:fd8de55a0b747597234e1c02d7cf5c40 /bin/bash -ue /home/ubuntu/TEST/t2/work/0e/5aeadd73f4af23417c8750945d7103/.command.sh
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions