Your message dated Tue, 15 May 2012 21:05:06 -0500
with message-id <[email protected]>
and subject line Bug#663896: src:rmpi: FTBFS (configure: error: "Cannot find 
mpi.h header file")
has caused the Debian Bug report #663896,
regarding src:rmpi: FTBFS (configure: error: "Cannot find mpi.h header file")
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
663896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663896
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rmpi
Version: 0.5-9-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

See the build logs at
https://buildd.debian.org/status/package.php?p=rmpi

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On 14 March 2012 at 21:32, Julien Cristau wrote:
| Source: rmpi
| Version: 0.5-9-2
| Severity: serious
| Justification: fails to build from source (but built successfully in the past)
| 
| See the build logs at
| https://buildd.debian.org/status/package.php?p=rmpi

The issue was that MPICH2 support was lacking upstream. In the past we only
bui;t under OpenMPI, but Debian's mpi-default-dev package now leads to MPICH2
on s390/s390x/armel/armhf. [ Coincidentally, on armel/armhf this still fails
like other r-cran-* packages. ]

And I fixed this today with a somewhat hackish fix to upstream's configure.ac
which I will also just submitted upstream:


--- rmpi-0.5-9.orig/configure.ac
+++ rmpi-0.5-9/configure.ac
@@ -132,6 +132,12 @@
       MPITYPE="MPICH"

       MPI_INCLUDE_PATH=$d/mpich/include

       break

+    elif test -f $d/include/mpich2/mpi.h; then

+      echo "I am here $d/include/mpich2 and it is MPICH2"

+      MPI_ROOT=$d/include/mpich2

+      MPITYPE="MPICH"

+      MPI_INCLUDE_PATH=$d/include/mpich2

+      break

     elif test -f $d/mpi/include/mpi.h; then

       echo "I am here $d/mpi"

       MPI_ROOT=$d/mpi

@@ -176,6 +182,9 @@
     elif test -f ${MPI_ROOT}/include/lam/mpi.h; then

          echo "Found in ${MPI_ROOT}/include/lam"

          MPI_INCLUDE_PATH="${MPI_ROOT}/include/lam"

+    elif test -f ${MPI_ROOT}/mpi.h; then

+         echo "Found in ${MPI_ROOT}"

+         MPI_INCLUDE_PATH="${MPI_ROOT}"

     else 

          echo "Cannot find mpi.h header file"

          echo "Please use --with-mpi=/path/to/mpi or specify the environment 
variable MPI_ROOT"



Regards, Dirk

| 
| Cheers,
| Julien
| xapplication/pgp-signature [Click mouse-2 to save to a file]

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com  

--- End Message ---

Reply via email to