Bright-Computing / bic

Bright-Illumina collaboration
GNU General Public License v2.0
4 stars 5 forks source link

StdEnv should not be loaded if it does not exist, or else... #20

Closed fgeorgatos closed 8 years ago

fgeorgatos commented 8 years ago
[root@bright-lmod 7.0]# bash

Node Status: running in active master mode

-------------------------------------------------------------------------------
Lmod has detected the following error:  The following module(s) are unknown: "StdEnv"

Please check the spelling or version number. Also try "module spider ..."
fgeorgatos commented 8 years ago

This is also handled properly, the error message is now (probably a better one):

[root@bright-lmod 7.0]# ml --gitversion
git-669af9b
[root@bright-lmod 7.0]# bash
[...]
The system default contains no modules
  (env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
  No changes in loaded modules

[root@bright-lmod 7.0]#