diff options
author | Jan RÄkorajski | 2006-09-04 13:45:52 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 0e91bc8e6098aea093acb17c6f657657c1322764 (patch) | |
tree | 1bb79b1ed7096d6c7476c3a0d7833c5a8afbb20b | |
parent | 8791ac7a05db9edc642430225aad647fe78ba91e (diff) | |
download | mpich-0e91bc8e6098aea093acb17c6f657657c1322764.zip mpich-0e91bc8e6098aea093acb17c6f657657c1322764.tar.gz |
- force ssh/scp as rsh command
Changed files:
mpich.spec -> 1.11
-rw-r--r-- | mpich.spec | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ Summary: Portable MPI Model Implementation Summary(pl): Przenośna implementacja standardu MPI Name: mpich Version: 1.2.6 -Release: 2 +Release: 3 License: Open source (MPICH), BSD-like (MPI-2-C++) Group: Development/Libraries Source0: ftp://ftp.mcs.anl.gov/pub/mpi/%{name}-%{version}.tar.bz2 @@ -13,6 +13,7 @@ Patch2: http://squishy.monkeysoft.net/mpich/%{name}-1.2.5-oM.patch URL: http://www-unix.mcs.anl.gov/mpi/ BuildRequires: gcc-g77 BuildRequires: libstdc++-devel +BuildRequires: sed >= 4.0 Provides: mpi BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -33,7 +34,11 @@ części wersji MPI-2, szczególnie w zakresie równoległej komunikacji. %patch1 -p1 %patch2 -p1 +sed -i -e 's|RCPCOMMAND-rcp|RCPCOMMAND-scp|' mpid/ch_p4/mpirun.ch_p4.in + %build +RSHCOMMAND=/usr/bin/ssh ; export RSHCOMMAND +RCPCOMMAND=/usr/bin/scp ; export RCPCOMMAND # note: can't run autoconf - we must patch configure not only configure.in # also, don't change it to %%configure - it won't work # no configure options for sysconfdir and messagecat_dir :/ |