Nilesh,

Can you
configure --without-nvidia ...
And see if it helps ?

Cheers,

Gilles

Nilesh Kokane <nilesh.kokan...@gmail.com> wrote:
>Hello, 
>
>
>How can I compile openmpi without the support of open-cl?
>
>
>The only link I could find is [1], but openmpi doesn't configure this option.
>
>The reason why I'm trying to build openmpi without open-cl is it throws the 
>following errors even with the nvidia installed opencl.
>
>
>
>./mpicc -I/usr/local/cuda-8.0.61/lib64 -lcuda test_cuda_aware.c -o myapp
>
>./mpicc: /usr/local/cuda-8.0.61/lib64/libOpenCL.so.1: no version information 
>available (required by /home/kokanen/opt/lib/libopen-pal.so.20)
>
>/tmp/cc7KaPDe.o: In function `main':
>
>test_cuda_aware.c:(.text+0x5b): undefined reference to `cudaMalloc'
>
>test_cuda_aware.c:(.text+0xd3): undefined reference to `cudaFree'
>
>/home/kokanen/opt/lib/libopen-pal.so.20: undefined reference to 
>`clGetPlatformInfo@OPENCL_1.0'
>
>/home/kokanen/opt/lib/libopen-pal.so.20: undefined reference to 
>`clGetPlatformIDs@OPENCL_1.0'
>
>/home/kokanen/opt/lib/libopen-pal.so.20: undefined reference to 
>`clGetDeviceInfo@OPENCL_1.0'
>
>/home/kokanen/opt/lib/libopen-pal.so.20: undefined reference to 
>`clGetDeviceIDs@OPENCL_1.0'
>
>
>
>
>
>[1]. https://www.open-mpi.org/projects/hwloc/doc/v1.7.2/a00014.php
>
>
>-- 
>
>Regards,
>Nilesh Kokane
>
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to