cilk-plus

How to link CUDA library with Cilk++

左心房为你撑大大i 提交于 2019-12-11 09:32:51
问题 I am trying to develop some Hybrid program using Intel's Cilk++ and Nvidia's CUDA. I created a Shared library from Cuda code(libtest.so). And I want to link it with Cilk++ program, so that I can offload some work to GPU. But when I compile cilk++ program I am not able to link it with this cuda library and I get error as follows: nvcc -arch=compute_20 -L. -code=sm_20 -L. -o libtest.so --shared -Xcompiler -fPIC test.cu; cilk++ -o main -L. -ltest main.cilk; /tmp/ccwDvzCG.o: In function `int cilk

libstdc++.so.6: cannot open shared object file: No such file or directory

故事扮演 提交于 2019-11-28 16:46:48
I want to run Cilkscreen command with a cilk++ program but I'v got this error /usr/local/cilk/bin/../lib32/pinbin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Can you help me please Try this: apt-get install lib32stdc++6 I presume you're running Linux on an amd64 machine. The Folder your executable is residing in ( lib32 ) suggests a 32-bit executable which requires 32-bit libraries. These seem not to be present on your system, so you need to install them manually. The package name depends on your distribution, for Debian it's

libstdc++.so.6: cannot open shared object file: No such file or directory

喜你入骨 提交于 2019-11-27 19:58:25
问题 I want to run Cilkscreen command with a cilk++ program but I'v got this error /usr/local/cilk/bin/../lib32/pinbin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Can you help me please 回答1: Try this: apt-get install lib32stdc++6 回答2: I presume you're running Linux on an amd64 machine. The Folder your executable is residing in ( lib32 ) suggests a 32-bit executable which requires 32-bit libraries. These seem not to be present on