Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mamba env create stalls #5625

Open
nick-youngblut opened this issue Dec 23, 2024 · 0 comments
Open

mamba env create stalls #5625

nick-youngblut opened this issue Dec 23, 2024 · 0 comments

Comments

@nick-youngblut
Copy link
Contributor

nick-youngblut commented Dec 23, 2024

Bug report

If using:

conda {
        conda.enabled          = true
        conda.useMamba         = true
        docker.enabled         = false
        singularity.enabled    = false
        podman.enabled         = false
        shifter.enabled        = false
        charliecloud.enabled   = false
    }

...the pipeline stalls at creating the conda env Creating env using mamba forever (at least >=30 minutes).

If I set useMamba = false, the conda env is created within ~1 minute.

So, the issue is caused by mamba.

Expected behavior and actual behavior

mamba should be creating the conda env rapidly (faster than conda, in most situations).

Steps to reproduce the problem

See above. I'm using a GCP VM with 8 CPUs, 16 Gb of mem, and Ubuntu 22.04.5.

Environment

  • Nextflow version: 24.10.2
  • Java version: 21.0.0
  • Operating system: Ubuntu 22.04.5
  • Bash version: 5.1.16

Additional context

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/nickyoungblut/miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/home/nickyoungblut/miniforge3/etc/profile.d/conda.sh" ]; then
        . "/home/nickyoungblut/miniforge3/etc/profile.d/conda.sh"
    else
        export PATH="/home/nickyoungblut/miniforge3/bin:$PATH"
    fi
fi
unset __conda_setup

if [ -f "/home/nickyoungblut/miniforge3/etc/profile.d/mamba.sh" ]; then
    . "/home/nickyoungblut/miniforge3/etc/profile.d/mamba.sh"
fi
# <<< conda initialize <<<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant