Software Modules - Yale Center for Research Computing (2024)

To facilitate the diverse work that happens on the YCRC clusters we compile, install, and manage software packages separately from those installed in standard system directories. We use EasyBuild to build, install, and manage packages. You can access these packages as Lmod modules. The modules involving compiled software are arranged into hierarchical toolchains that make dependencies more consistent when you load multiple modules.

Warning

Avoid loading Python or R modules simultaneously with conda environments. This will almost always break something.

Find Modules

All Available Modules

To list all available modules, run:

module avail

Search For Modules

You can search for modules or extensions with spider and avail. For example, to find and list all Python version 3 modules, run:

module avail python/3

To find any module or extension that mentions python in its name or description, use the command:

module spider python

Get Module Help

You can get a brief description of a module and the url to the software's homepage by running:

If you don't find a commonly used software package you require, contact us with a software installation request. Otherwise, check out our installation guides to install it for yourself.

Load and Unload Modules

Load

The module load command modifies your environment so you can use the specified software package(s).

  • This command is case-sensitive to module names.
  • The module load command will load dependencies as needed, you don't need to load them separately.
  • For batch jobs, add module load command(s) to your submission script.

For example, to load Python version 3.8.6 and BLAST+ version 2.11.0, find modules with matching toolchain suffixes and run the command:

module load Python/3.8.6-GCCcore-10.2.0 BLAST+/2.11.0-GCCcore-10.2.0

Lmod will add python and the BLAST commands to your environment. Since both of these modules were built with the GCCcore/10.2.0 toolchain module, they will not load conflicting libraries. Recall you can see the other modules that were loaded by running module list.

Module Defaults

As new versions of software get installed and others are deprecated, the default module version can change over time. It is best practice to note the specific module versions you are using for a project and load those explicitly, e.g. module load Python/3.8.6-GCCcore-10.2.0 not module load Python. This makes your work more reproducible and less likely to change unexpectedly in the future.

Unload

You can also unload a specific module that you've previously loaded:

module unload R

Or unload all modules at once with:

module purge

Purge Lightly

module purge will alert you to a sticky module that is always loaded called StdEnv. Avoid unloading StdEnv unless explicitly told to do so, othewise you will lose some important setup for the cluster you are on.

Module Collections

Save Collections

It can be a pain to enter a long list of modules every time you return to a project. Module collections allow you to create sets of modules to load together. This method is particularly useful if you have two or more module sets that may conflict with one another.

Save a collection of modules by first loading all the modules you want to save together then run:

module save environment_name

(replace environment_name with something more meaningful to you)

Restore Collections

Load a collection with module restore:

module restore environment_name

To modify a collection: restore it, make the desired changes by loading and/or unloading modules, then save it to the same name.

List Collections

To get a list of your collections, run:

module savelist

Lmod provides a convinient tool called ml to simplify all of the module commands.

List Module Loaded

ml

Load Modules

ml Python/3.8.6-GCCcore-10.2.0

Unload Modules

ml -Python

With moudle Sub-commands

ml can be used to replace the module command. It can take all the sub-commands from module and works the same way as module does.

ml load Python R ml unload Pythonml spider Pythonml availml whatis Pythonml key Pythonml purgeml save testml restore test

Environment Variables

To refer to the directory where the software from a module is stored, you can use the environment variable $EBROOTMODULENAME where MODULENAME is the name of the module in all caps with no spaces. This can be useful for finding the executables, libraries, or readme files that are included with the software:

[netid@node ~ ]$ module load SAMtools[netid@node ~ ]$ echo $EBVERSIONSAMTOOLS1.11[netid@node ~ ]$ ls $EBROOTSAMTOOLSbin easybuild include lib lib64 share[netid@node ~ ]$ ls $EBROOTSAMTOOLS/binace2sam maq2sam-short psl2sam.pl soap2sam.plblast2sam.pl md5fa r2plot.lua vcfutils.luabowtie2sam.pl md5sum-lite sam2vcf.pl wgsimexport2sam.pl novo2sam.pl samtools wgsim_eval.plinterpolate_sam.pl plot-ampliconstats samtools.pl zoom2sam.plmaq2sam-long plot-bamstats seq_cache_populate.pl

Further Reading

You can view documentation while on the cluster using the command:

man module

There is even more information at the offical Lmod website and related documentation.

Last update: August 28, 2024

Software Modules - Yale Center for Research Computing (2024)
Top Articles
When Does Your Previous Employer Send A W-2 Form? And What’s The Penalty If They Don’t?
Manchester Airport: Police filmed stamping and kicking man's head
Spasa Parish
Rentals for rent in Maastricht
159R Bus Schedule Pdf
Sallisaw Bin Store
Black Adam Showtimes Near Maya Cinemas Delano
Espn Transfer Portal Basketball
Pollen Levels Richmond
11 Best Sites Like The Chive For Funny Pictures and Memes
Things to do in Wichita Falls on weekends 12-15 September
Craigslist Pets Huntsville Alabama
Paulette Goddard | American Actress, Modern Times, Charlie Chaplin
What's the Difference Between Halal and Haram Meat & Food?
R/Skinwalker
Rugged Gentleman Barber Shop Martinsburg Wv
Jennifer Lenzini Leaving Ktiv
Justified - Streams, Episodenguide und News zur Serie
Epay. Medstarhealth.org
Olde Kegg Bar & Grill Portage Menu
Cubilabras
Half Inning In Which The Home Team Bats Crossword
Amazing Lash Bay Colony
Juego Friv Poki
Dirt Devil Ud70181 Parts Diagram
Truist Bank Open Saturday
Water Leaks in Your Car When It Rains? Common Causes & Fixes
What’s Closing at Disney World? A Complete Guide
New from Simply So Good - Cherry Apricot Slab Pie
Drys Pharmacy
Ohio State Football Wiki
Abby's Caribbean Cafe
Joanna Gaines Reveals Who Bought the 'Fixer Upper' Lake House and Her Favorite Features of the Milestone Project
Tri-State Dog Racing Results
Trade Chart Dave Richard
Lincoln Financial Field Section 110
Free Stuff Craigslist Roanoke Va
Stellaris Resolution
Wi Dept Of Regulation & Licensing
Pick N Pull Near Me [Locator Map + Guide + FAQ]
Crystal Westbrooks Nipple
Ice Hockey Dboard
Über 60 Prozent Rabatt auf E-Bikes: Aldi reduziert sämtliche Pedelecs stark im Preis - nur noch für kurze Zeit
Wie blocke ich einen Bot aus Boardman/USA - sellerforum.de
Craigslist Pets Inland Empire
Infinity Pool Showtimes Near Maya Cinemas Bakersfield
Hooda Math—Games, Features, and Benefits — Mashup Math
Dermpathdiagnostics Com Pay Invoice
How To Use Price Chopper Points At Quiktrip
Maria Butina Bikini
Busted Newspaper Zapata Tx
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6305

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.