# Nextflow/nf-core conda environments and slurm compute environments for seqera platform

**URL:** <https://community.seqera.io/t/nextflow-nf-core-conda-environments-and-slurm-compute-environments-for-seqera-platform/1589>\
**Category:** Ask for help\
**Tags:** platform\
**Created:** [January 6, 2025, 2:57pm UTC](https://community.seqera.io/t/nextflow-nf-core-conda-environments-and-slurm-compute-environments-for-seqera-platform/1589 "2025-01-06T14:57:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bumproo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/bumproo/32/1347_2.png) [@bumproo](https://community.seqera.io/u/bumproo)\
**Post date:** [January 6, 2025, 2:57pm UTC](https://community.seqera.io/t/nextflow-nf-core-conda-environments-and-slurm-compute-environments-for-seqera-platform/1589/1 "2025-01-06T14:57:22Z")

</div>

Hi,

I’m working on setting up a slurm compute environment for my local HPC cluster inside seqera cloud.

One of the requirements is “Nextflow runtime version 22.10.0 (or later) must be pre-installed in the cluster”

When I run nf-core workflows using bash/slurm submission scripts, I activate a conda environment that contains nextflow and nf-core. this environment was created with a command like:

```auto
conda create --name nf_env nextflow nf-core

```

As a result, nextflow (and nf-core) is not installed on my cluster.  
Is there a way to use my conda environment in the seqera cloud compute environment setup?  
thanks  
Charlie

---

<div class="post-metadata">

**Author:** ![bumproo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/bumproo/32/1347_2.png) [@bumproo](https://community.seqera.io/u/bumproo)\
**Post date:** [January 7, 2025, 1:37pm UTC](https://community.seqera.io/t/nextflow-nf-core-conda-environments-and-slurm-compute-environments-for-seqera-platform/1589/2 "2025-01-07T13:37:52Z")

</div>

I figured out the answer to my question.  
During compute environment configuration, I added my module load, and conda activate commands to the:

“staging options → Pre-run script”

section and all went well
