"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/example/compiler-etc-dependencies/example-sessions/bar-switch.sh" between
modules-5.1.1.tar.bz2 and modules-5.2.0.tar.bz2

About: The Environment Modules package provides for the dynamic modification of a user’s environment via modulefiles.

bar-switch.sh  (modules-5.1.1.tar.bz2):bar-switch.sh  (modules-5.2.0.tar.bz2)
#!/bin/bash #!/bin/bash
source $MOD_GIT_ROOTDIR/doc/example/compiler-etc-dependencies/example-sessions/c ommon_code.sh source "$MOD_GIT_ROOTDIR"/doc/example/compiler-etc-dependencies/example-sessions /common_code.sh
do_cmd module purge do_cmd module purge
do_cmd module load $GCCGNU/9.1.0 do_cmd module load "$GCCGNU/9.1.0"
case $TMP_STRATEGY in case $TMP_STRATEGY in
flavours|homebrewed) flavours|homebrewed)
do_cmd module load simd/avx do_cmd module load simd/avx
do_cmd module load bar/5.4 do_cmd module load bar/5.4
;; ;;
modulerc) modulerc)
do_cmd module load bar/avx do_cmd module load bar/avx
;; ;;
modulepath) modulepath)
do_cmd module load bar/5.4/avx do_cmd module load bar/5.4/avx
;; ;;
esac esac
do_cmd module list do_cmd module list
do_cmd bar do_cmd bar
case $TMP_STRATEGY in case $TMP_STRATEGY in
flavours|homebrewed) flavours|homebrewed)
do_cmd module switch $AUTOFLAG simd simd/avx2 do_cmd module switch "$AUTOFLAG" simd simd/avx2
;; ;;
modulerc) modulerc)
do_cmd module switch $AUTOFLAG bar bar/avx2 do_cmd module switch "$AUTOFLAG" bar bar/avx2
;; ;;
modulepath) modulepath)
do_cmd module switch $AUTOFLAG bar bar/5.4/avx2 do_cmd module switch "$AUTOFLAG" bar bar/5.4/avx2
;; ;;
esac esac
do_cmd module list do_cmd module list
do_cmd bar do_cmd bar
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)