"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/example/compiler-etc-dependencies/example-sessions/ompi-switch.sh.m431" 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.

ompi-switch.sh.m431  (modules-5.1.1.tar.bz2):ompi-switch.sh.m431  (modules-5.2.0.tar.bz2)
#!/bin/bash #!/bin/bash
do_cmd() do_cmd()
{ cmd="$@" { cmd="$@"
echo $MPS1 $cmd echo "$MPS1" $cmd
$cmd $cmd
} }
do_cmd module purge do_cmd module purge
do_cmd module load pgi/19.4 do_cmd module load pgi/19.4
do_cmd module load openmpi/4.0 do_cmd module load openmpi/4.0
do_cmd module list do_cmd module list
do_cmd mpirun do_cmd mpirun
do_cmd module --auto switch pgi intel/2019 do_cmd module --auto switch pgi intel/2019
err=$? err=$?
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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