Schumer lab: Common errors

From OpenWetWare
Jump to navigationJump to search

This is a place to document common errors and how to fix them. Please add to it!


Common errors

Perl: Can't locate NAME.pm

If you try to run a perl script and get an error message that starts like this:

Can't locate List/MoreUtils.pm in @INC

This means you are missing a required perl module to run the script. Try the following:

ml perl

cpan [package to install]

For the above example:

cpan List::MoreUtils

modules: These module(s) exist but cannot be loaded

This error after trying "module load" means that the module cannot be loaded until another module is loaded first.

In the case of commonly used programs in our lab usually this mean you need to load the biology modules first, i.e.:

module load biology