<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nimbios.org/index.php?action=history&amp;feed=atom&amp;title=Rocky_Environments</id>
	<title>Rocky Environments - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nimbios.org/index.php?action=history&amp;feed=atom&amp;title=Rocky_Environments"/>
	<link rel="alternate" type="text/html" href="https://wiki.nimbios.org/index.php?title=Rocky_Environments&amp;action=history"/>
	<updated>2026-04-04T19:38:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://wiki.nimbios.org/index.php?title=Rocky_Environments&amp;diff=186&amp;oldid=prev</id>
		<title>Jstratt7: Created page with &quot;= About = Rocky uses Lmod to easily set up environments for your projects.  By default your Rocky session has a minimal of software/utilities available to you.  By loading modules, environment variables and paths are set to give you easy access to not only language utilities and libraries but also specific versions of those.  To use lmod, you will use the &lt;code&gt;module&lt;/code&gt; command.   = Loading Modules =  By default, support for R is not loaded. &lt;pre&gt; [test_user@rocky7...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nimbios.org/index.php?title=Rocky_Environments&amp;diff=186&amp;oldid=prev"/>
		<updated>2023-04-10T19:51:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= About = Rocky uses Lmod to easily set up environments for your projects.  By default your Rocky session has a minimal of software/utilities available to you.  By loading modules, environment variables and paths are set to give you easy access to not only language utilities and libraries but also specific versions of those.  To use lmod, you will use the &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; command.   = Loading Modules =  By default, support for R is not loaded. &amp;lt;pre&amp;gt; [test_user@rocky7...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= About =&lt;br /&gt;
Rocky uses Lmod to easily set up environments for your projects.  By default your Rocky session has a minimal of software/utilities available to you.  By loading modules, environment variables and paths are set to give you easy access to not only language utilities and libraries but also specific versions of those.&lt;br /&gt;
&lt;br /&gt;
To use lmod, you will use the &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Loading Modules =&lt;br /&gt;
&lt;br /&gt;
By default, support for R is not loaded.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ Rscript&lt;br /&gt;
-bash: Rscript: command not found&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By loading the R module, we now have access to R language tools.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ module load R&lt;br /&gt;
[test_user@rocky7 ~]$ Rscript&lt;br /&gt;
Usage: Rscript [options] file [args]&lt;br /&gt;
   or: Rscript [options] -e expr [-e expr2 ...] [args]&lt;br /&gt;
A binary front-end to R, for use in scripting applications.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Explore Modules =&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; command has a few different parameters to help you find what is available.&lt;br /&gt;
&lt;br /&gt;
{| class='wikitable' &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;module avail [name]&amp;lt;/code&amp;gt; || List available modules with optional partial name search.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;module keyword &amp;lt;keyword&amp;gt; &amp;lt;/code&amp;gt; || Search module names and descriptions for &amp;lt;keyword&amp;gt; and list them.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt; module spider &amp;lt;name&amp;gt; &amp;lt;/code&amp;gt; || Search module names and list them with all versions available.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt; module help &amp;lt;modulename&amp;gt; &amp;lt;/code&amp;gt; || Describe a module and all included extensions.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ module avail octave&lt;br /&gt;
&lt;br /&gt;
------------------------ /apps/current/modules/all ------------------------&lt;br /&gt;
   Octave/5.1.0-foss-2019b    &lt;br /&gt;
   Octave/6.2.0-foss-2020b&lt;br /&gt;
   Octave/7.1.0-foss-2021b (D)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ module spider Python&lt;br /&gt;
------------&lt;br /&gt;
  Python:&lt;br /&gt;
------------&lt;br /&gt;
    Description:&lt;br /&gt;
      Python is a programming language that lets you work more quickly and integrate your systems more effectively.&lt;br /&gt;
&lt;br /&gt;
     Versions:&lt;br /&gt;
        Python/2.7.15-foss-2018b&lt;br /&gt;
        Python/2.7.15-GCCcore-8.2.0&lt;br /&gt;
        Python/2.7.16-GCCcore-8.3.0&lt;br /&gt;
        Python/2.7.18-GCCcore-9.3.0&lt;br /&gt;
        Python/2.7.18-GCCcore-10.2.0&lt;br /&gt;
        Python/2.7.18-GCCcore-10.3.0-bare&lt;br /&gt;
        Python/2.7.18-GCCcore-11.2.0-bare&lt;br /&gt;
        Python/2.7.18-GCCcore-11.2.0&lt;br /&gt;
        Python/2.7.18-GCCcore-11.3.0-bare&lt;br /&gt;
        Python/3.7.2-GCCcore-8.2.0&lt;br /&gt;
        Python/3.7.4-GCCcore-8.3.0&lt;br /&gt;
        Python/3.8.2-GCCcore-9.3.0&lt;br /&gt;
        Python/3.8.6-GCCcore-10.2.0&lt;br /&gt;
        Python/3.9.5-GCCcore-10.3.0-bare&lt;br /&gt;
        Python/3.9.5-GCCcore-10.3.0&lt;br /&gt;
        Python/3.9.6-GCCcore-11.2.0-bare&lt;br /&gt;
        Python/3.9.6-GCCcore-11.2.0&lt;br /&gt;
        Python/3.10.4-GCCcore-11.3.0-bare&lt;br /&gt;
        Python/3.10.4-GCCcore-11.3.0&lt;br /&gt;
        Python/3.10.8-GCCcore-12.2.0-bare&lt;br /&gt;
        Python/3.10.8-GCCcore-12.2.0&lt;br /&gt;
        Python/3.11.2-GCCcore-12.2.0-bare&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Module Versions =&lt;br /&gt;
&lt;br /&gt;
We can load a specific version of python.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ module load Python/2.7.18-GCCcore-11.3.0-bare &lt;br /&gt;
[test_user@rocky7 ~]$ python --version&lt;br /&gt;
Python 2.7.18&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we switch to a different version of python, Lmod will take care of all loaded modules that need to switch with it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[test_user@rocky7 ~]$ module load Python/3.11.2-GCCcore-12.2.0-bare &lt;br /&gt;
&lt;br /&gt;
The following have been reloaded with a version change:&lt;br /&gt;
  1) GCCcore/11.3.0 =&amp;gt; GCCcore/12.2.0&lt;br /&gt;
  2) Python/2.7.18-GCCcore-11.3.0-bare =&amp;gt; Python/3.11.2-GCCcore-12.2.0-bare&lt;br /&gt;
  3) SQLite/3.38.3-GCCcore-11.3.0 =&amp;gt; SQLite/3.39.4-GCCcore-12.2.0&lt;br /&gt;
  4) Tcl/8.6.12-GCCcore-11.3.0 =&amp;gt; Tcl/8.6.12-GCCcore-12.2.0&lt;br /&gt;
  5) binutils/2.38-GCCcore-11.3.0 =&amp;gt; binutils/2.39-GCCcore-12.2.0&lt;br /&gt;
  6) bzip2/1.0.8-GCCcore-11.3.0 =&amp;gt; bzip2/1.0.8-GCCcore-12.2.0&lt;br /&gt;
  7) libreadline/8.1.2-GCCcore-11.3.0 =&amp;gt; libreadline/8.2-GCCcore-12.2.0&lt;br /&gt;
  8) ncurses/6.3-GCCcore-11.3.0 =&amp;gt; ncurses/6.3-GCCcore-12.2.0&lt;br /&gt;
  9) zlib/1.2.12-GCCcore-11.3.0 =&amp;gt; zlib/1.2.12-GCCcore-12.2.0&lt;br /&gt;
&lt;br /&gt;
[test_user@rocky7 ~]$ python --version&lt;br /&gt;
Python 3.11.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Managing Loaded Modules =&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; command has parameters to help you manage which modules are loaded.&lt;br /&gt;
&lt;br /&gt;
{| class='wikitable' &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;module list&amp;lt;/code&amp;gt; || List all currently loaded modules.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;module unload &amp;lt;module&amp;gt; &amp;lt;/code&amp;gt; || Unload a specific module.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt; module purge &amp;lt;/code&amp;gt; || Unload all loaded modules.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jstratt7</name></author>
	</entry>
</feed>