Hi Spencer,
Could you be more specific about what fails ? Did the configure stop at
some point ? Or is it a compile error during the build ?
I'm not sure the errors you are seeing in config.log are actually the
real problem (I'm seeing the same error traces on a perfectly working
machine). Not pretty, but maybe just noise.
Thanks,
Sylvain
On 01/22/2016 06:48 AM, Kuhl, Spencer J wrote:
Thanks for the suggestion Ryan, I will remove the symlinks and start
try again. I checked config.log, and it appears that the configure
finds cuda support, (result: yes), but once configure checks for
cuda.h usability, conftest.c reports that a fatal error occurred,
'cuda.h no such file or directory.'
I have copied here some grep'ed output of config.log
$ ./configure --prefix=/usr/local --with-cuda=/usr/local/cuda-6.5
--enable-mpi-java
configure:9829: checking if --with-cuda is set
configure:9883: result: found (/usr/local/cuda-6.5/include/cuda.h)
| #include </usr/local/cuda-6.5/include/cuda.h>
configure:10055: checking if have cuda support
configure:10058: result: yes (-I/usr/local/cuda-6.5)
configure:66435: result: '--prefix=/usr/local'
'--with-cuda=/usr/local/cuda-6.5' '--enable-mpi-java'
configure:74182: checking cuda.h usability
conftest.c:643:18: fatal error: cuda.h: No such file or directory
#include <cuda.h>
| #include <cuda.h>
configure:74182: checking cuda.h presence
conftest.c:610:18: fatal error: cuda.h: No such file or directory
#include <cuda.h>
| #include <cuda.h>
configure:74182: checking for cuda.h
configure:74265: checking cuda_runtime_api.h usability
conftest.c:643:30: fatal error: cuda_runtime_api.h: No such file or
directory
#include <cuda_runtime_api.h>
| #include <cuda_runtime_api.h>
configure:74265: checking cuda_runtime_api.h presence
conftest.c:610:30: fatal error: cuda_runtime_api.h: No such file or
directory
#include <cuda_runtime_api.h>
| #include <cuda_runtime_api.h>
configure:74265: checking for cuda_runtime_api.h
configure:97946: running /bin/bash './configure' --disable-dns
--disable-http --disable-rpc --disable-openssl --enable-thread-support
--disable-evport '--prefix=/usr/local'
'--with-cuda=/usr/local/cuda-6.5' '--enable-mpi-java'
--cache-file=/dev/null --srcdir=. --disable-option-checking
configure:187066: result: verbs_usnic, ugni, sm, verbs, cuda
configure:193532: checking for MCA component common:cuda compile mode
configure:193585: checking if MCA component common:cuda can compile
------------------------------------------------------------------------
*From:* users <users-boun...@open-mpi.org> on behalf of Novosielski,
Ryan <novos...@ca.rutgers.edu>
*Sent:* Friday, January 22, 2016 1:20 AM
*To:* Open MPI Users
*Subject:* Re: [OMPI users] configuring open mpi 10.1.2 with cuda on
NVIDIA TK1
I would check config.log carefully to see what specifically failed or
wasn't found where. I would never mess around with the contents of
/usr/include. That is sloppy stuff and likely to get you into trouble
someday.
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | novos...@rutgers.edu <mailto:novos...@rutgers.edu>-
973/972.0922 (2x0922)
|| \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
`'
On Jan 21, 2016, at 17:45, Kuhl, Spencer J <spencer-k...@uiowa.edu
<mailto:spencer-k...@uiowa.edu>> wrote:
Openmpi 1.10.2
cuda.h and cuda_runtime_api.h exist in /usr/local/cuda-6.5/include
using the configure trigger ./configure --with-cuda does not find
cuda.h or cuda_runtime_api.h
using the configure trigger ./configure
--with-cuda=/usr/local/cuda-6.5 does not find cuda.h or
cuda_runtime_api.h either.
However, I found a stack exchange article where someone tried to
symlink cuda.h and cuda_runtime_api.h to /usr/include and then it
configured fine for that user.
I did the same thing, created symlinks of those to header files
cuda.h and cuda_runtime_api.h to /usr/include and my ./configure got
past cuda.h successfully, but not past cuda_runtime_api.h
Any suggestions?
Thanks
Spencer
_______________________________________________
users mailing list
us...@open-mpi.org <mailto:us...@open-mpi.org>
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
<http://www.open-mpi.org/mailman/listinfo.cgi/users>
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/01/28331.php
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/01/28335.php
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------