[mod4-flavours]$ module purge
[mod4-flavours]$ module load foo
foo/2.4 depends on one of the module(s) 'gnu intel pgi'

Loading foo/2.4
  ERROR: Module evaluation aborted
[mod4-flavours]$ module list
No Modulefiles Currently Loaded.
[mod4-flavours]$ module purge
[mod4-flavours]$ module load foo/1.1
foo/1.1 depends on one of the module(s) 'gnu intel pgi'

Loading foo/1.1
  ERROR: Module evaluation aborted
[mod4-flavours]$ module list
No Modulefiles Currently Loaded.
[mod4-flavours]$ module purge
[mod4-flavours]$ module load pgi/18.4
[mod4-flavours]$ module load foo
foo/2.4 - no flavour compatible with modules 'pgi/18.4'

Loading foo/2.4
  ERROR: Module evaluation aborted
[mod4-flavours]$ module list
Currently Loaded Modulefiles:
 1) pgi/18.4
