Hi, I wanted point out the the Rmpi package needs 281 lines in it's configure.ac file that are specifically written for each major MPI distribution, and that this could be replaced with exactly 2 lines in Makevars.in: CC=mpicc SHLIB_LD=mpicc. Here's the entire patch to Makeconf.in (4 new lines): --- Makeconf.in 2011-03-17 14:18:05.000000000 -0400 +++ Makeconf.in.new 2011-09-09 14:37:15.701103349 -0400 @@ -16,7 +16,9 @@ ## next two for future support of cross-compiling, not actually used BUILD_CC = @BUILD_CC@ BUILD_R = @BUILD_R@ +ifndef CC CC = @CC@ +endif CFLAGS = @CFLAGS@ CPICFLAGS = @CPICFLAGS@ CPPFLAGS = @CPPFLAGS@ @@ -88,7 +90,9 @@ SHLIB_EXT = @SHLIB_EXT@ SHLIB_CFLAGS = @SHLIB_CFLAGS@ SHLIB_FFLAGS = @SHLIB_FFLAGS@ +ifndef SHLIB_LD SHLIB_LD = @SHLIB_LD@ +endif SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) STRIP_LIBS = @striplib@ [[alternative HTML version deleted]]