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