Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite should fail, if module load/unload is not honoured across shells? #151

Closed
fgeorgatos opened this issue Jul 27, 2016 · 3 comments

Comments

@fgeorgatos
Copy link
Contributor

fgeorgatos commented Jul 27, 2016

I know it's unusual for someone to complain that ... all tests passed from the test suite (!),
however this is what I'm about to do over here - because it shouldn't ;-)

basically, the following situation exists on a system which passed all the test suite flawlessly:
(the way I see it, this is a somewhat crippled Lmod setup and it should be visible in some way)

[fgeorgatos@demo-ext Lmod]$ 
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2   2) sge

[fgeorgatos@demo-ext Lmod]$ ml -sge
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2

[fgeorgatos@demo-ext Lmod]$ bash
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2   2) sge

[fgeorgatos@demo-ext Lmod]$ exit
exit
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2

[fgeorgatos@demo-ext Lmod]$ 
@fgeorgatos
Copy link
Contributor Author

similarly, the following could be worthy of a test case as well:

[fgeorgatos@demo-ext Lmod]$ ln -s /usr/share/lmod/lmod/modulefiles/Core/ /tmp/
[fgeorgatos@demo-ext Lmod]$ module use /tmp/Core
[fgeorgatos@demo-ext Lmod]$ ml av

--------------------------------------------------------------------- /tmp/Core ---------------------------------------------------------------------
   lmod/6.4.4    settarg/6.4.4

----------------------------------------------------------------- /etc/modulefiles ------------------------------------------------------------------
   HPCBIOS/2016q2 (L)    sge

  Where:
   L:  Module is loaded

Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

[fgeorgatos@demo-ext Lmod]$ bash
[fgeorgatos@demo-ext Lmod]$ ml av

--------------------------------------------------------------------- /tmp/Core ---------------------------------------------------------------------
   lmod/6.4.4    settarg/6.4.4

----------------------------------------------------------------- /etc/modulefiles ------------------------------------------------------------------
   HPCBIOS/2016q2 (L)    sge (L)

  Where:
   L:  Module is loaded

Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".

[fgeorgatos@demo-ext Lmod]$ ml settarg
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2   2) sge   3) settarg/6.4.4

[fgeorgatos@demo-ext Lmod]$ bash
[fgeorgatos@demo-ext Lmod]$ ml

Currently Loaded Modules:
  1) HPCBIOS/2016q2   2) sge

[fgeorgatos@demo-ext Lmod]$

@rtmclay
Copy link
Member

rtmclay commented Jul 27, 2016

@rtmclay
Copy link
Member

rtmclay commented Dec 8, 2016

This is a site installation problem and not an Lmod problem. I am closing this.

@rtmclay rtmclay closed this as completed Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants