[mod3-flavours]$ module purge
[mod3-flavours]$ module load gnu/9.1.0
[mod3-flavours]$ module load simd/avx2
[mod3-flavours]$ module load bar/5.4
[mod3-flavours]$ module list
Currently Loaded Modulefiles:
  1) gnu/9.1.0   2) simd/avx2   3) bar/5.4
[mod3-flavours]$ bar
bar 5.4 (gcc/9.1.0, avx2)
[mod3-flavours]$ module unload bar
[mod3-flavours]$ module switch simd simd/avx
[mod3-flavours]$ module load bar/5.4
[mod3-flavours]$ module list
Currently Loaded Modulefiles:
  1) gnu/9.1.0   2) simd/avx    3) bar/5.4
[mod3-flavours]$ bar
bar 5.4 (gcc/9.1.0, avx)
[mod3-flavours]$ module unload bar
[mod3-flavours]$ module switch simd simd/sse4.1
[mod3-flavours]$ module load bar/5.4
bar/5.4 - no flavour compatible with modules 'gnu/9.1.0 simd/sse4.1'
[mod3-flavours]$ module list
Currently Loaded Modulefiles:
  1) gnu/9.1.0     2) simd/sse4.1
