-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv-setting.html
94 lines (94 loc) · 4.64 KB
/
env-setting.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="generator" content="jemdoc, see http://jemdoc.jaboc.net/" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="jemdoc.css" type="text/css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>Activating Environment using Environment Modules</title>
</head>
<body>
<table summary="Table for page layout." id="tlayout">
<tr valign="top">
<td id="layout-menu">
<div class="menu-category">Home</div>
<div class="menu-item"><a href="index.html">About</a></div>
<div class="menu-item"><a href="term-of-service.html">Term of Service</a></div>
<div class="menu-item"><a href="quick-start.html">Quick Start</a></div>
<div class="menu-item"><a href="web-portal.html">Web Portal</a></div>
<div class="menu-category">Features</div>
<div class="menu-item"><a href="login.html">Log In</a></div>
<div class="menu-item"><a href="env-setting.html">Environment</a></div>
<div class="menu-item"><a href="interactive-task.html">Interactive Task</a></div>
<div class="menu-item"><a href="batch-task.html">Batch Task</a></div>
<div class="menu-item"><a href="example.html">Job Example</a></div>
<div class="menu-item"><a href="installation.html">Installation</a></div>
<div class="menu-item"><a href="transferfile.html">File Transfer</a></div>
<div class="menu-category">Quick Link</div>
<div class="menu-item"><a href="https://hpc.uicstat.com/codehub">Code-Hub</a></div>
<div class="menu-category">Maintenance Group</div>
<div class="menu-item"><a href="recruit.html">Join Us</a></div>
</td>
<td id="layout-content">
<div id="toptitle">
<h1>Activating Environment using Environment Modules</h1>
</div>
<h3>Overview</h3>
<p>“Environment Modules” are the mechaism by which much of the software is made available to the users of USBC. The Modules package is a tool that simplifies shell initialization and lets users easily modify theire environment during a session using modulefiles.</p>
<p>Public Software:</p>
<table id="TABLENAME">
<tr class="r1"><td class="c1">Software Name </td><td class="c2"> Version </td></tr>
<tr class="r2"><td class="c1">Anaconda 3 </td><td class="c2"> 5.3.1 </td></tr>
<tr class="r3"><td class="c1">MATLAB </td><td class="c2"> R2021b </td></tr>
<tr class="r4"><td class="c1">SageMath </td><td class="c2"> 9.3 </td></tr>
<tr class="r5"><td class="c1">GAP - Groups, Algorithms, Programming <br /> - a System for Computational Discrte Algebra </td><td class="c2"> 4.11.1
</td></tr></table>
<table id="TABLENAME">
<tr class="r1"><td class="c1">Compiler Name </td><td class="c2"> Version </td></tr>
<tr class="r2"><td class="c1">GCC </td><td class="c2"> 7.3(default version) </td></tr>
<tr class="r3"><td class="c1">CUDA </td><td class="c2"> 10.2 </td></tr>
<tr class="r4"><td class="c1">OpenMPI </td><td class="c2"> 4.1.1 </td></tr>
<tr class="r5"><td class="c1">
</td></tr></table>
<h3>Check The Available Module and Loaded Module</h3>
<p>Before running the code, you can list all (loaded and unlabled modules) on USBC using</p>
<div class="codeblock">
<div class="blocktitle">module avail</div>
<div class="blockcontent"><pre>
stat@Compute2030005000:~$ module avail
------------------------------------------ /usr/share/modules/modulefiles ------------------------------------------
compiler/cuda/10.2 computing/conda/5.3.1 computing/MATLAB/2021b
compiler/mpi/openmpi/4.1.1 computing/gap/4.11.1 computing/SageMath/9.3
</pre></div></div>
<h3>Load and Unload Module</h3>
<p>You can then load a module using e.g.:</p>
<div class="codeblock">
<div class="blocktitle">module load</div>
<div class="blockcontent"><pre>
user_name@Compute2030005000:~$ module load computing/MATLAB/2021b
stat@Compute2030005000:~$ module list
Currently Loaded Modulefiles:
1) computing/MATLAB/2021b
</pre></div></div>
<p>By using the <tt>module list</tt> you can confirm which modules you have loaded.</p>
<p>If you want to stoping using a module (by undoing the changes that loading that module made to your environment):</p>
<div class="codeblock">
<div class="blocktitle">module unload</div>
<div class="blockcontent"><pre>
stat@Compute2030005000:~$ module unload computing/MATLAB/2021b
stat@Compute2030005000:~$ module list
No Modulefiles Currently Loaded.
stat@Compute2030005000:~$
</pre></div></div>
<p>You can also unload all loaded modules by <tt>module purge</tt></p>
<div id="footer">
<div id="footer-text">
Page generated 2022-03-07 11:28:46 CST, by USBC Maintenance Group
</div>
</div>
</td>
</tr>
</table>
</body>
</html>