* installing *source* package ‘opencltools’ ...
** this is package ‘opencltools’ version ‘0.8.1’
** package ‘opencltools’ successfully unpacked and MD5 sums checked
** using staged installation
>> configure: R_HOME = '/data/gannet/ripley/R/R-devel'
>> Detected RcppParallel include dir: /data/gannet/ripley/R/test-dev/RcppParallel/include
>> Detected RcppParallel lib dir: /data/gannet/ripley/R/test-dev/RcppParallel/lib
>> RPP_INC_DIR      = '/data/gannet/ripley/R/test-dev/RcppParallel/include'
>> RPP_LIB_DIR      = '/data/gannet/ripley/R/test-dev/RcppParallel/lib'
🔧 EMSCRIPTEN_BUILD=NO
>> OS      = 'Linux'
>> RPP_CPPFLAGS = '-I/data/gannet/ripley/R/test-dev/RcppParallel/include'
>> RPP_LDFLAGS = '-L/data/gannet/ripley/R/test-dev/RcppParallel/lib -ltbb -ltbbmalloc -Wl,-rpath,/data/gannet/ripley/R/test-dev/RcppParallel/lib'
📚 Collecting system include directories from gcc...
/usr/libexec/gcc/x86_64-redhat-linux/15/cc1plus -E -quiet -v -D_GNU_SOURCE - -mtune=generic -march=x86-64 -dumpbase -
/usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15
/usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/backward
/usr/lib/gcc/x86_64-redhat-linux/15/include
/usr/local/include
/usr/include
🔎 Checking: /usr/libexec/gcc/x86_64-redhat-linux/15/cc1plus
🔎 Checking: -E
🔎 Checking: -quiet
🔎 Checking: -v
🔎 Checking: -D_GNU_SOURCE
🔎 Checking: -
🔎 Checking: -mtune=generic
🔎 Checking: -march=x86-64
🔎 Checking: -dumpbase
🔎 Checking: -
🔎 Checking: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15
🔎 Checking: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/x86_64-redhat-linux
🔎 Checking: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/backward
🔎 Checking: /usr/lib/gcc/x86_64-redhat-linux/15/include
🔎 Checking: /usr/local/include
🔎 Checking: /usr/include
✅ Found OpenCL header in: /usr/include
📚 Collecting system lib directories from gcc...
/usr/x86_64-redhat-linux/lib64
/usr/x86_64-redhat-linux/lib64
/usr/x86_64-redhat-linux/lib64
🔎 Checking: /usr/x86_64-redhat-linux/lib64
⚠️  OpenCL not found: falling back to CPU-only
Final OpenCL Detection:
OPENCL_INCLUDE_FOUND = yes
OPENCL_LIB_FOUND     = no
OPENCL_FOUND         = no
OPENCL_RUNTIME_FOUND = no
OpenCL manually disabled or not discovered
Checking for NVIDIA GPU via nvidia-smi...
⚠️ CUDA driver library not found — GPU detection may fail.
GPU detected: env: ‘/usr/bin/nvidia-smi’: No such file or directory
>> FULL_CXXFLAGS    = ''
>> FULL_LIBS        = ' $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)'
>> FULL_CXXFLAGS    = ' -I/data/gannet/ripley/R/test-dev/RcppParallel/include'
>> FULL_LIBS        = ' $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) -L/data/gannet/ripley/R/test-dev/RcppParallel/lib -ltbb -ltbbmalloc -Wl,-rpath,/data/gannet/ripley/R/test-dev/RcppParallel/lib'
>> Resolving Rcpp include flags via tools/rcpp_include.R
configure: single Rcpp installation: /data/gannet/ripley/R/test-dev
configure: R version: 4.7.0 (svn: 90098)
configure: Rcpp Repository: CRAN
configure: Rcpp Function.h: line with R_getVarEx + R_UnboundValue present = FALSE
configure: WARNING: Rcpp looks like a CRAN install (no GitHub Remote* fields).
configure: WARNING: On R-devel / R >= 4.5, stale CRAN headers can be incompatible
configure: WARNING: with R (e.g. R_NamespaceRegistry). Consider
configure: WARNING: remotes::install_github("RcppCore/Rcpp") or ensure
configure: WARNING: install_github actually replaced the library.
configure: Rcpp Function.h - `Function(const string& name, const string& ns)` C preprocessor path:
configure:   branch 3: R_getRegisteredNamespace
configure:   (R_VERSION < 4,5,0) => FALSE
configure:   (R_VERSION < 4,6,0 || R_SVN_REVISION < 89746) => FALSE  [parts: R_VERSION < 4,6,0 = FALSE; R_SVN_REVISION < 89746 = FALSE]
configure:   R_SVN_REVISION (from Rversion.h) = 90098
configure:   R session svn (R.version) = 90098 (should match Rversion.h for same R install)
configure:   (Branch 3 uses R_getRegisteredNamespace: undefined symbol usually means R headers are older than Rcpp expects, or a mismatched R/lib.)
configure: R version: 4.7.0 (svn: 90098)
configure: confirmed Rcpp package version 1.1.1.1.1 (library: /data/gannet/ripley/R/test-dev)
>> Rcpp Function.h branch (for Makevars) = 3  (see tools/rcpp_include.R stderr for conditions)
>> RCPP_CPPFLAGS    = '-I"/data/gannet/ripley/R/test-dev/Rcpp/include"'
** libs
using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/opencltools/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c OpenCL_helper.cpp -o OpenCL_helper.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c configure_OpenCL.cpp -o configure_OpenCL.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c cuda_probe.cpp -o cuda_probe.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c export_wrappers.cpp -o export_wrappers.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c glmbayes_getRegisteredNamespace.cpp -o glmbayes_getRegisteredNamespace.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c kernel_loader.cpp -o kernel_loader.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c opencl_detect.cpp -o opencl_detect.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c opencl_device_selection.cpp -o opencl_device_selection.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/RcppParallel/include' -I/usr/local/include   -I/data/gannet/ripley/R/test-dev/RcppParallel/include -DGLMBAYES_RCPP_FH_SIM=3 -include glmbayes_getRegisteredNamespace.h -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c opencltools_ccallables.cpp -o opencltools_ccallables.o
g++ -std=gnu++20 -shared -L/usr/local/lib64 -o opencltools.so OpenCL_helper.o RcppExports.o configure_OpenCL.o cuda_probe.o export_wrappers.o glmbayes_getRegisteredNamespace.o kernel_loader.o opencl_detect.o opencl_device_selection.o opencltools_ccallables.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath -L/data/gannet/ripley/R/test-dev/RcppParallel/lib -ltbb -ltbbmalloc -Wl,-rpath,/data/gannet/ripley/R/test-dev/RcppParallel/lib
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/opencltools/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/opencltools/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/opencltools/src'
installing to /data/gannet/ripley/R/packages/tests-devel/opencltools.Rcheck/00LOCK-opencltools/00new/opencltools/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (opencltools)