[mod3 (modulerc)]$ module purge
[mod3 (modulerc)]$ module load gcc/9.1.0
[mod3 (modulerc)]$ module load bar/avx
[mod3 (modulerc)]$ module list
Currently Loaded Modulefiles:
  1) gcc/9.1.0(default)      2) bar/avx/gcc/9.1.0/5.4
[mod3 (modulerc)]$ bar
bar 5.4 (gcc/9.1.0, avx)
[mod3 (modulerc)]$ module switch bar bar/avx2
[mod3 (modulerc)]$ module list
Currently Loaded Modulefiles:
  1) gcc/9.1.0(default)       2) bar/avx2/gcc/9.1.0/5.4
[mod3 (modulerc)]$ bar
bar 5.4 (gcc/9.1.0, avx2)
