[mod3 (modulepath)]$ module purge
[mod3 (modulepath)]$ module load foo
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'foo'
[mod3 (modulepath)]$ module load gcc/8.2.0
[mod3 (modulepath)]$ module load foo
[mod3 (modulepath)]$ module list
Currently Loaded Modulefiles:
  1) gcc/8.2.0   2) foo/1.1
[mod3 (modulepath)]$ foo
foo 1.1 (gcc/8.2.0, nompi)
[mod3 (modulepath)]$ module purge
[mod3 (modulepath)]$ module load foo
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'foo'
[mod3 (modulepath)]$ module load gcc/8.2.0
[mod3 (modulepath)]$ module load foo/2.4
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'foo/2.4'
[mod3 (modulepath)]$ module list
Currently Loaded Modulefiles:
  1) gcc/8.2.0
[mod3 (modulepath)]$ module load foo/1.1
[mod3 (modulepath)]$ module list
Currently Loaded Modulefiles:
  1) gcc/8.2.0   2) foo/1.1
[mod3 (modulepath)]$ foo
foo 1.1 (gcc/8.2.0, nompi)
[mod3 (modulepath)]$ module purge
[mod3 (modulepath)]$ module load pgi/18.4
[mod3 (modulepath)]$ module load foo
[mod3 (modulepath)]$ module list
Currently Loaded Modulefiles:
  1) pgi/18.4   2) foo/1.1
