Committed for D. Guinier: The new env variable MPI_ROOT facilitate launch script creation. It is asked by customers who use BPS and LSF batch manager
This commit was SVN r24465.
Этот коммит содержится в:
родитель
78151490d1
Коммит
af30f53556
7
contrib/dist/linux/openmpi.spec
поставляемый
7
contrib/dist/linux/openmpi.spec
поставляемый
@ -514,6 +514,10 @@ if test -z "\`echo \$MANPATH | grep %{_mandir}\`"; then
|
||||
MANPATH=%{_mandir}:\${MANPATH}
|
||||
export MANPATH
|
||||
fi
|
||||
|
||||
# MPI_ROOT
|
||||
MPI_ROOT=%{_prefix}
|
||||
export MPI_ROOT
|
||||
EOF
|
||||
cat <<EOF > $RPM_BUILD_ROOT/%{shell_scripts_path}/%{shell_scripts_basename}.csh
|
||||
# NOTE: This is an automatically-generated file! (generated by the
|
||||
@ -542,6 +546,9 @@ if ("1" == "\$?MANPATH") then
|
||||
else
|
||||
setenv MANPATH %{_mandir}:
|
||||
endif
|
||||
|
||||
# MPI_ROOT
|
||||
setenv MPI_ROOT %{_prefix}
|
||||
EOF
|
||||
%endif
|
||||
# End of shell_scripts if
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user