Skip to content

Commit 07f7a20

Browse files
author
Robert McLay
committed
issue #397: Add Purge_Usr() to be the user routine and Purge(force) the working routine
1 parent 4d3d082 commit 07f7a20

File tree

2 files changed

+111
-73
lines changed

2 files changed

+111
-73
lines changed

rt/sticky/err.txt

+53-37
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
step 1
33
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
44
===========================
5-
Modules based on Lua: Version 7.7.14 2017-11-16 16:23 -07:00
5+
Modules based on Lua: Version 7.8.18 2019-02-09 12:50 -06:00
66
by Robert McLay [email protected]
77
===========================
88
step 2
@@ -87,212 +87,228 @@ Currently Loaded Modules:
8787
m: built for host and native MIC
8888
===========================
8989
step 14
90-
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force rm std
90+
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge foo
9191
===========================
92+
The following modules were not unloaded:
93+
(Use "module --force purge" to unload all):
94+
1) std/1.0
9295
===========================
9396
step 15
9497
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
9598
===========================
96-
No modules loaded
99+
Currently Loaded Modules:
100+
1) std/1.0 (m,S)
101+
Where:
102+
S: Module is Sticky, requires --force to unload or purge
103+
m: built for host and native MIC
97104
===========================
98105
step 16
99-
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load StdEnv
106+
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force rm std
100107
===========================
101108
===========================
102109
step 17
103110
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
104111
===========================
112+
No modules loaded
113+
===========================
114+
step 18
115+
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load StdEnv
116+
===========================
117+
===========================
118+
step 19
119+
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
120+
===========================
105121
Currently Loaded Modules:
106122
1) a/1.0 2) b/1.1 3) StdEnv (S)
107123
Where:
108124
S: Module is Sticky, requires --force to unload or purge
109125
===========================
110-
step 18
126+
step 20
111127
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load StdEnv
112128
===========================
113129
===========================
114-
step 19
130+
step 21
115131
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
116132
===========================
117133
Currently Loaded Modules:
118134
1) a/1.0 2) b/1.1 3) StdEnv (S)
119135
Where:
120136
S: Module is Sticky, requires --force to unload or purge
121137
===========================
122-
step 20
138+
step 22
123139
lua ProjectDIR/src/lmod.in.lua bash --regression_testing unload a b
124140
===========================
125141
===========================
126-
step 21
142+
step 23
127143
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
128144
===========================
129145
Currently Loaded Modules:
130146
1) StdEnv (S)
131147
Where:
132148
S: Module is Sticky, requires --force to unload or purge
133149
===========================
134-
step 22
150+
step 24
135151
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
136152
===========================
137153
The following modules were not unloaded:
138154
(Use "module --force purge" to unload all):
139155
1) a/1.0 2) b/1.1 3) StdEnv
140156
===========================
141-
step 23
157+
step 25
142158
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
143159
===========================
144160
Currently Loaded Modules:
145161
1) a/1.0 2) b/1.1 3) StdEnv (S)
146162
Where:
147163
S: Module is Sticky, requires --force to unload or purge
148164
===========================
149-
step 24
165+
step 26
150166
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
151167
===========================
152168
Saved current collection of modules to: "default"
153169
===========================
154-
step 25
170+
step 27
155171
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force purge
156172
===========================
157173
===========================
158-
step 26
174+
step 28
159175
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
160176
===========================
161177
Restoring modules from user's default
162178
===========================
163-
step 27
179+
step 29
164180
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
165181
===========================
166182
Currently Loaded Modules:
167183
1) a/1.0 2) b/1.1 3) StdEnv (S)
168184
Where:
169185
S: Module is Sticky, requires --force to unload or purge
170186
===========================
171-
step 28
187+
step 30
172188
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
173189
===========================
174190
Restoring modules from user's default
175191
===========================
176-
step 29
192+
step 31
177193
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
178194
===========================
179195
Currently Loaded Modules:
180196
1) a/1.0 2) b/1.1 3) StdEnv (S)
181197
Where:
182198
S: Module is Sticky, requires --force to unload or purge
183199
===========================
184-
step 30
200+
step 32
185201
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force purge
186202
===========================
187203
===========================
188-
step 31
204+
step 33
189205
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load M1
190206
===========================
191207
===========================
192-
step 32
208+
step 34
193209
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
194210
===========================
195211
Currently Loaded Modules:
196212
1) c/1.7 2) d/1.8 3) M1 (O)
197213
Where:
198214
O: Obsolete
199215
===========================
200-
step 33
216+
step 35
201217
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
202218
===========================
203219
Saved current collection of modules to: "default"
204220
===========================
205-
step 34
221+
step 36
206222
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
207223
===========================
208224
Restoring modules from user's default
209225
===========================
210-
step 35
226+
step 37
211227
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
212228
===========================
213229
Currently Loaded Modules:
214230
1) c/1.7 2) d/1.8 3) M1 (O)
215231
Where:
216232
O: Obsolete
217233
===========================
218-
step 36
234+
step 38
219235
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force purge
220236
===========================
221237
===========================
222-
step 37
238+
step 39
223239
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load c d M1
224240
===========================
225241
===========================
226-
step 38
242+
step 40
227243
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
228244
===========================
229245
Currently Loaded Modules:
230246
1) c/1.7 2) d/1.8 3) M1 (O)
231247
Where:
232248
O: Obsolete
233249
===========================
234-
step 39
250+
step 41
235251
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
236252
===========================
237253
Saved current collection of modules to: "default"
238254
===========================
239-
step 40
255+
step 42
240256
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
241257
===========================
242258
Restoring modules from user's default
243259
===========================
244-
step 41
260+
step 43
245261
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
246262
===========================
247263
Currently Loaded Modules:
248264
1) c/1.7 2) d/1.8 3) M1 (O)
249265
Where:
250266
O: Obsolete
251267
===========================
252-
step 42
268+
step 44
253269
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --force purge
254270
===========================
255271
===========================
256-
step 43
272+
step 45
257273
lua ProjectDIR/src/lmod.in.lua bash --regression_testing reset
258274
===========================
259275
Resetting modules to system default
260276
===========================
261-
step 44
277+
step 46
262278
lua ProjectDIR/src/lmod.in.lua bash --regression_testing reset
263279
===========================
264280
Resetting modules to system default
265281
===========================
266-
step 45
282+
step 47
267283
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load old
268284
===========================
269285
===========================
270-
step 46
286+
step 48
271287
lua ProjectDIR/src/lmod.in.lua bash --regression_testing swap old new
272288
===========================
273289
===========================
274-
step 47
290+
step 49
275291
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
276292
===========================
277293
Currently Loaded Modules:
278294
1) a/1.0 2) b/1.1 3) StdEnv (S) 4) new (S)
279295
Where:
280296
S: Module is Sticky, requires --force to unload or purge
281297
===========================
282-
step 48
298+
step 50
283299
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load old
284300
===========================
285301
Lmod is automatically replacing "new" with "old".
286302
===========================
287-
step 49
303+
step 51
288304
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
289305
===========================
290306
Currently Loaded Modules:
291307
1) a/1.0 2) b/1.1 3) StdEnv (S) 4) old (S)
292308
Where:
293309
S: Module is Sticky, requires --force to unload or purge
294310
===========================
295-
step 50
311+
step 52
296312
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
297313
===========================
298314
ProjectDIR/rt/sticky/mf/Core

0 commit comments

Comments
 (0)