New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incompatible intel opencl 2012 library #1
Comments
-----BEGIN PGP SIGNED MESSAGE----- Hi Let's say you have installed the Intel OpenCL SDK in a directory called Here you have to note that this directory needs to have the include and $ export OPENCL_ROOT=/var/tmp/myintelsdk/ This should do it. If you have /var/tmp/myintelsdk/usr/include present then your If you have installed OpenCL in /usr/local then your OPENCL_ROOT will be Hope this helps. Feel free to contact me if you continue to have issues. Regards On 11/17/2012 11:40 PM, blshkv wrote:
-----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlCo87oACgkQeji51bDsSjsUBwCgwDjVAOI4bwi0RrmkCp+Pgyb0 |
ok, the problem was on my side with an ebuild (I compile under gentoo). I managed to fix it. |
-----BEGIN PGP SIGNED MESSAGE----- On 11/18/2012 10:43 AM, blshkv wrote:
You can use ARCH=x86_64 from the command line and that can force it. $ make ARCH=x86_64
iEYEARECAAYFAlCpDCEACgkQeji51bDsSjtGQgCg3y9ruJM3SyFMkXGwoWU4U1J4 |
I'm unable to build wisecracker with intel-ocl-sdk 2012 (2.0.31360).
(http://registrationcenter.intel.com/irc_nas/2563/intel_sdk_for_ocl_applications_2012_x64.tgz)
Here is the error message:
cd /var/tmp/portage/app-crypt/wisecracker-1.0/work/wisecracker-1.0_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/wisecracker.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=core2 -mtune=generic -O2 -pipe -Wall -fPIC -pedantic -Wno-variadic-macros -m32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -Wl,-soname,libwisecracker.so -o libwisecracker.so CMakeFiles/wisecracker.dir/executor.c.o CMakeFiles/wisecracker.dir/mpi.c.o CMakeFiles/wisecracker.dir/opencl.c.o CMakeFiles/wisecracker.dir/wrapper.cpp.o CMakeFiles/wisecracker.dir/utils.c.o -L/usr/common/lib -lOpenCL -lpthread -Wl,-rpath,/usr/common/lib:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../libOpenCL.so when searching for -lOpenCL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libOpenCL.so when searching for -lOpenCL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lOpenC
Any idea what's the problem?
The text was updated successfully, but these errors were encountered: