Accepting request 510125 from home:NMoreyChaisemartin:branches:science:HPC

- Add LD_LIBRARY_PATH to mpivars.sh and mpivars.csh

OBS-URL: https://build.opensuse.org/request/show/510125
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=18
This commit is contained in:
Nicolas Morey-Chaisemartin
2017-07-13 15:51:59 +00:00
committed by Git OBS Bridge
parent 348d8c1277
commit 76845889a8
4 changed files with 28 additions and 2 deletions

View File

@@ -13,4 +13,19 @@ case $MANPATH in
;;
*)
MANPATH=prefix/share/man:$MANPATH
export MANPATH
esac
case $LD_LIBRARY_PATH in
*libdir*)
true
;;
*)
if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=libdir
else
LD_LIBRARY_PATH="libdir:$LD_LIBRARY_PATH"
fi
export LD_LIBRARY_PATH
esac