can you ./mpicc -showme -I/usr/local/cuda-8.0.61/lib64 -lcuda test_cuda_aware.c -o myapp and double check -lcuda is *after* -lopen-pal ?
Cheers, Gilles On Fri, Sep 8, 2017 at 7:40 PM, Nilesh Kokane <nilesh.kokan...@gmail.com> wrote: > On Fri, Sep 8, 2017 at 4:08 PM, Nilesh Kokane <nilesh.kokan...@gmail.com> > wrote: >> On Fri, Sep 8, 2017 at 3:33 PM, Gilles Gouaillardet >> <gilles.gouaillar...@gmail.com> wrote: >>> >>> Nilesh, >>> >>> Can you >>> configure --without-nvidia ... >>> And see if it helps ? >> >> No, I need Nvidia cuda support. > > > Or else do you have a way to solve this open-cl errors? > > ./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' > > > > Pointing to -L/usr/local/cuda-8.0.61/lib64 while compiling with mpicc > didn't help. > > Any clues? > > > -- > Regards, > Nilesh Kokane > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/users _______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users