snugel / cas-offinder

An ultrafast and versatile algorithm that searches for potential off-target sites of CRISPR/Cas-derived RNA-guided endonucleases.
Other
85 stars 27 forks source link

Runs based on the Kunpeng CPU. /cas-offinder error clGetPlatformIDs Failed: -1001 #62

Open yejianbang opened 2 months ago

yejianbang commented 2 months ago

[root@node-43-37 build]# arch aarch64

[root@node-43-37 build]# cat /etc/os-release NAME="openEuler" VERSION="22.03 (LTS-SP2)" ID="openEuler" VERSION_ID="22.03" PRETTY_NAME="openEuler 22.03 (LTS-SP2)" ANSI_COLOR="0;31"

[root@node-43-37 build]# yum install ocl-icd-devel Last metadata expiration check: 0:07:45 ago on Tue 20 Aug 2024 02:53:09 PM CST. Dependencies resolved.

Package Architecture Version Repository Size

Installing: ocl-icd-devel aarch64 2.2.12-2.oe2203sp2 everything 16 k Installing dependencies: ocl-icd aarch64 2.2.12-2.oe2203sp2 everything 39 k opencl-headers noarch 2.2-8.oe2203sp2 everything 43 k

Transaction Summary

Install 3 Packages

Total download size: 98 k Installed size: 543 k Is this ok [y/N]: y Downloading Packages: (1/3): ocl-icd-2.2.12-2.oe2203sp2.aarch64.rpm 80 kB/s | 39 kB 00:00 (2/3): opencl-headers-2.2-8.oe2203sp2.noarch.rpm 86 kB/s | 43 kB 00:00 (3/3): ocl-icd-devel-2.2.12-2.oe2203sp2.aarch64.rpm 32 kB/s | 16 kB 00:00

Total 112 kB/s | 98 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : opencl-headers-2.2-8.oe2203sp2.noarch 1/3 Installing : ocl-icd-2.2.12-2.oe2203sp2.aarch64 2/3 Installing : ocl-icd-devel-2.2.12-2.oe2203sp2.aarch64 3/3 Running scriptlet: ocl-icd-devel-2.2.12-2.oe2203sp2.aarch64 3/3 Verifying : ocl-icd-2.2.12-2.oe2203sp2.aarch64 1/3 Verifying : ocl-icd-devel-2.2.12-2.oe2203sp2.aarch64 2/3 Verifying : opencl-headers-2.2-8.oe2203sp2.noarch 3/3

Installed: ocl-icd-2.2.12-2.oe2203sp2.aarch64 ocl-icd-devel-2.2.12-2.oe2203sp2.aarch64 opencl-headers-2.2-8.oe2203sp2.noarch

Complete!

[root@node-43-37 build]# cmake .. -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for CL_VERSION_2_2 -- Looking for CL_VERSION_2_2 - found -- Found OpenCL: /usr/lib64/libOpenCL.so (found version "2.2") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Configuring done -- Generating done -- Build files have been written to: /home/share/rongqi/yjb/cas-offinder-3.0.0b3/build [root@node-43-37 build]# make all [ 16%] Building CXX object CMakeFiles/cas-offinder.dir/main.cpp.o [ 33%] Building CXX object CMakeFiles/cas-offinder.dir/cas-offinder.cpp.o [ 50%] Building CXX object CMakeFiles/cas-offinder.dir/read_fasta.cpp.o [ 66%] Building CXX object CMakeFiles/cas-offinder.dir/read_twobit.cpp.o [ 83%] Building CXX object CMakeFiles/cas-offinder.dir/oclfunctions.cpp.o [100%] Linking CXX executable cas-offinder [100%] Built target cas-offinder

[root@node-43-37 build]# ./cas-offinder clGetPlatformIDs Failed: -1001

Does this app not support my OS or Kunpeng CPU?