question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

createIndices caused Unable to locate a modulefile for 'slurm'

See original GitHub issue

Hi, I ran createIndices in the below way but I got ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'slurm'. Our cluster is using PBSpro and therefore I would like to use only one compute node. How can I remove the slurm error?

snakepipes> createIndices --genomeURL /scratch/waterhouse_team/benth/dbg2olc-40x/scaffolds_FINAL.fasta -o snakePipes-output --tempdir snakePipes-tmp dbg2olc-40x
Building DAG of jobs...
Using shell: /bin/bash
Provided cluster nodes: 5
Job counts:
	count	jobs
	1	all
	1	bowtie2Index
	1	bwaIndex
	1	bwamethIndex
	1	computeEffectiveGenomeSize
	1	createGenomeFasta
	1	fastaIndex
	1	hisat2Index
	1	make2bit
	1	starIndex
	10

[Sun Oct 14 01:10:10 2018]
rule createGenomeFasta:
    output: /lustre/scratch/waterhouse_team/benth/dbg2olc-40x/snakepipes/snakePipes-output/genome_fasta/genome.fa
    jobid: 7

ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'slurm'
/bin/sh: SlurmEasy: command not found
Error submitting jobscript (exit code 127):

Job failed, going on with independent jobs.
Exiting because a job execution failed. Look above for error message
Complete log: /lustre/scratch/waterhouse_team/benth/dbg2olc-40x/snakepipes/snakePipes-output/.snakemake/log/2018-10-14T011009.735531.snakemake.log
Error: snakemake returned an error code of 1, so processing is incomplete!

Thank you in advance,

Michal

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
steffenheynecommented, Oct 15, 2018

Hi Michal, if you just want to use one computer, each workflow has the option --local By that, snakePipes (and Snakemake) ignores any cluster configuration. With -j one can then control the max number of cores used on one machine.

Is that what you want to achieve?

0reactions
mictadlocommented, Oct 15, 2018

Hi @steffenheyne , Yes that is what I tried to achieve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Unable to locate a modulefile for 'gcc/4.2.1' #192
Hi, I just had a simple question that's probably going to make me look dumb, but when I make a try of installed...
Read more >
Module load intel (ERROR:105: Unable to locate a modulefile ...
ERROR:105: Unable to locate a modulefile for 'intel'. I used module avail to see what modules can be available to load I got...
Read more >
Troubleshooting: Unable to locate a modulefile for '<package>'
This error might occur after you attempt to load packages for the first time after installing a module manager. Often times this is...
Read more >
Issue installing on Centos 8 with slurm and lmod
case.setup cannot find our module command. We use bash primarily on our system. As noted in the title we are on Centos 8...
Read more >
Error about modulefiles in OneApi Base Toolkit installation ...
Solved: Hi, I have installed base toolkit successfully,and I run the script ' modulefiles-setup.sh'. It creates a folder.Everything seems ok. I tried.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found