Re: [OMPI users] Unable to compile OpenMPI 1.10.3 with CUDA

2016-10-28 Thread Sylvain Jeaugey
On 10/28/2016 10:33 AM, Craig tierney wrote: Sylvain, If I do not set --with-cuda, I get: configure:9964: result: no configure:10023: checking whether CU_POINTER_ATTRIBUTE_SYNC_MEMOPS is declared configure:10023: gcc -c -DNDEBUG conftest.c >&5 conftest.c:83:19: fatal error: /cuda.h: No such

Re: [OMPI users] Unable to compile OpenMPI 1.10.3 with CUDA

2016-10-28 Thread Craig tierney
Sylvain, If I do not set --with-cuda, I get: configure:9964: result: no configure:10023: checking whether CU_POINTER_ATTRIBUTE_SYNC_MEMOPS is declared configure:10023: gcc -c -DNDEBUG conftest.c >&5 conftest.c:83:19: fatal error: /cuda.h: No such file or directory #include

Re: [OMPI users] Unable to compile OpenMPI 1.10.3 with CUDA

2016-10-27 Thread Sylvain Jeaugey
I guess --with-cuda is disabling the default CUDA path which is /usr/local/cuda. So you should either not set --with-cuda or set --with-cuda $CUDA_HOME (no include). Sylvain On 10/27/2016 03:23 PM, Craig tierney wrote: Hello, I am trying to build OpenMPI 1.10.3 with CUDA but I am unable to b