Not sure that this is the right location to send this report to, might
be more appropriate for the dev list. Let me know if so.
The pre-release OpenMPI 1.7rc5 does not built correctly if you attempt
to compile it with a non-standard CUDA location. The culprit is in
ompi/contrib/vt/vt/vtlib/Makefile, which uses /usr/local/cuda
regardless of the CUDA directory supplied in ./configure
(We keep several different versions of CUDA and select between them
using environment modules, so /usr/local/cuda is always wrong.)
tar xzf openmpi-1.7rc5.tar.gz
./configure --with-cuda=$CUDA_HOME (where CUDA_HOME is not /usr/local/cuda)
grep "usr/local/cuda" ompi/contrib/vt/vt/vtlib/Makefile
CUDATKDIR = /usr/local/cuda/
CUDATKINCDIR = -I/usr/local/cuda/include/
CUDATKLIBDIR = -L/usr/local/cuda/lib64
CUPTIINCDIR = -I/usr/local/cuda//extras/CUPTI/include/
Attempting to make then failed.
I was able to build successfully by manually substituting the correct
location into the Makefile in question.