* installing *source* package ‘BRISC’ ... ** package ‘BRISC’ successfully unpacked and MD5 sums checked ** using staged installation checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /usr/local/clang13/bin/clang++ -std=gnu++14 accepts -g... yes checking how to run the C++ preprocessor... /usr/local/clang13/bin/clang++ -std=gnu++14 -E checking for /usr/local/clang13/bin/clang++ -std=gnu++14 option to support OpenMP... -fopenmp configure: creating ./config.status config.status: creating src/Makevars ** libs make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang13/BRISC/src' /usr/local/clang13/bin/clang++ -std=gnu++14 -I"/data/gannet/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang13/include -fopenmp -fpic -g -O3 -Wall -pedantic -frtti -c BRISC.cpp -o BRISC.o In file included from BRISC.cpp:14: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:483:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(host)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ In file included from BRISC.cpp:14: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:486:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(nohost)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ BRISC.cpp:466:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int i_0, ret = 0; ^ BRISC.cpp:651:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int i_0, ret = 0; ^ BRISC.cpp:896:16: warning: unused variable 'logDet' [-Wunused-variable] double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget); ^ BRISC.cpp:1058:16: warning: unused variable 'logDet' [-Wunused-variable] double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget); ^ 4 warnings and 2 errors generated. make[1]: *** [/data/gannet/ripley/R/R-clang-trunk/etc/Makeconf:175: BRISC.o] Error 1 make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang13/BRISC/src' ERROR: compilation failed for package ‘BRISC’ * removing ‘/data/gannet/ripley/R/packages/tests-clang13/Libs/BRISC-lib/BRISC’ Command exited with non-zero status 1 Time 0:16.63, 2.78 + 0.88