Skip to content

Nested Environment Module names are not loaded properly #489

@apeltzer

Description

@apeltzer

Hi everyone,

I tried executing a Singularity container with a basic script on our PBS cluster. After creating the script, I created a configuration file

process { 
executor = 'pbs' 
module = 'qbic/singularity/2.4' 
container = '/share/test/testcontainer.simg' 
cpus = 8 
memory = 32.GB 
time = 24.h 
queue = 'cfc' 
}

It seems to be problematic, that NF can't find the module we need to load for getting singularity to run on our cluster. I typically load it like this module load qbic/singularity/2.4 or similar.

If I check the '.command.env' file, I find this:

... nxf_module_load qbic singularity 2.4
(which should have / in between of course).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions