[mod3 (modulerc)]$ module purge
[mod3 (modulerc)]$ module load foo
[mod3 (modulerc)]$ module list
Currently Loaded Modulefiles:
  1) gcc/8.2.0(default)        2) foo/gcc/8.2.0/nompi/1.1
[mod3 (modulerc)]$ foo
foo 1.1 (gcc/8.2.0, nompi)
[mod3 (modulerc)]$ module purge
[mod3 (modulerc)]$ module load foo/1.1
[mod3 (modulerc)]$ module list
Currently Loaded Modulefiles:
  1) gcc/8.2.0(default)        2) foo/1.1/gcc/8.2.0/nompi
[mod3 (modulerc)]$ foo
foo 1.1 (gcc/8.2.0, nompi)
[mod3 (modulerc)]$ module purge
[mod3 (modulerc)]$ module load pgi/18.4
[mod3 (modulerc)]$ module load foo
[mod3 (modulerc)]$ module list
Currently Loaded Modulefiles:
  1) pgi/18.4(default)        2) foo/pgi/18.4/nompi/1.1
[mod3 (modulerc)]$ foo
foo 1.1 (pgi/18.4, nompi)
