Version 3 (modified by jazz, 16 years ago) (diff) |
---|
Rebuild Rmpi package for MPICH2
- Default debian package r-cran-rmpi is depended on lam4 not mpich/mpich2
Source: rmpi Section: math Priority: optional Maintainer: Dirk Eddelbuettel <edd@debian.org> Build-Depends: debhelper (>> 4.1.0), cdbs, r-base-dev (>= 2.4.0), lam-runtime, lam4-dev (>= 7.1.1-3.2) Standards-Version: 3.7.2
-
rmpi-0.5-3/configure.in
old new 10 10 ) 11 11 12 12 if test -z "$MPI_ROOT"; then 13 for d in /opt/lib /usr/local/lib /usr/lib ; do13 for d in /opt/lib /usr/local/lib /usr/lib /usr; do 14 14 if test -f $d/lam/include/mpi.h && test -f $d/lam/lib/libmpi.a; then 15 15 echo "I am here $d/lam" 16 16 MPI_ROOT=$d/lam … … 23 23 echo "I am here $d/mpich" 24 24 MPI_ROOT=$d/mpich 25 25 break 26 elif test -f $d/include/mpich2/mpi.h; then 27 echo "I am here $d/include/mpich2" 28 MPI_ROOT=$d 29 break 26 30 fi 27 31 done 28 32 fi … … 38 42 elif test -f /usr/local/include/mpi.h; then 39 43 echo "Found in /usr/local/include" 40 44 MPI_INCLUDE="-I/usr/local/include" 45 elif test -f /usr/include/mpich2/mpi.h; then 46 echo "Found in /usr/include/mpich2" 47 MPI_INCLUDE="-I/usr/include/mpich2" 41 48 else 42 49 echo "Cannot find mpi head file" 43 50 echo "Please use --with-mpi=/path/to/mpi or specify the environment variable MPI_ROOT"
-
rmpi-0.5-3/debian/control
old new 2 2 Section: math 3 3 Priority: optional 4 4 Maintainer: Dirk Eddelbuettel <edd@debian.org> 5 Build-Depends: debhelper (>> 4.1.0), cdbs, r-base-dev (>= 2.4.0), l am-runtime, lam4-dev (>= 7.1.1-3.2)5 Build-Depends: debhelper (>> 4.1.0), cdbs, r-base-dev (>= 2.4.0), libmpich2-1.0-dev 6 6 Standards-Version: 3.7.2 7 7 8 8 Package: r-cran-rmpi