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