* installing *source* package ‘GRAB’ ...
** this is package ‘GRAB’ version ‘0.2.4’
** package ‘GRAB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.8’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/GRAB/src'
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c BGEN.cpp -o BGEN.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c DenseGRM.cpp -o DenseGRM.o
BGEN.cpp:75:12: warning: unused variable 'CompressedSNPBlocks' [-Wunused-variable]
   75 |   uint32_t CompressedSNPBlocks = flags&3; //Rcpp::Rcout << "    CompressedSNPBlocks: " << CompressedSNPBlocks << std::endl;
      |            ^~~~~~~~~~~~~~~~~~~
BGEN.cpp:77:12: warning: unused variable 'Layout' [-Wunused-variable]
   77 |   uint32_t Layout = (flags>>2)&0xf; //Rcpp::Rcout << "    Layout: " << Layout << std::endl;
      |            ^~~~~~
2 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c Main.cpp -o Main.o
In file included from DenseGRM.cpp:6:
In file included from /data/gannet/ripley/R/test-clang/RcppParallel/include/RcppParallel.h:24:
In file included from /data/gannet/ripley/R/test-clang/RcppParallel/include/RcppParallel/TBB.h:11:
In file included from /data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/concurrent_unordered_set.h:23:
In file included from /data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/_concurrent_unordered_impl.h:37:
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long long' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<long long>::converter<const volatile long long>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long long]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:434:1: note: in instantiation of member function 'tbb::internal::atomic_impl<long long>::operator long long' requested here
  434 | __TBB_DECL_ATOMIC(__TBB_LONG_LONG)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<unsigned long long>::converter<const volatile unsigned long long>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long long]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:435:1: note: in instantiation of member function 'tbb::internal::atomic_impl<unsigned long long>::operator unsigned long long' requested here
  435 | __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile long' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<long>::converter<const volatile long>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile long]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:439:1: note: in instantiation of member function 'tbb::internal::atomic_impl<long>::operator long' requested here
  439 | __TBB_DECL_ATOMIC(long)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<unsigned long>::converter<const volatile unsigned long>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned long]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:440:1: note: in instantiation of member function 'tbb::internal::atomic_impl<unsigned long>::operator unsigned long' requested here
  440 | __TBB_DECL_ATOMIC(unsigned long)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned int' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<unsigned int>::converter<const volatile unsigned int>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned int]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:466:1: note: in instantiation of member function 'tbb::internal::atomic_impl<unsigned int>::operator unsigned int' requested here
  466 | __TBB_DECL_ATOMIC(unsigned)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile int' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<int>::converter<const volatile int>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile int]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:467:1: note: in instantiation of member function 'tbb::internal::atomic_impl<int>::operator int' requested here
  467 | __TBB_DECL_ATOMIC(int)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned short' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<unsigned short>::converter<const volatile unsigned short>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned short]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:470:1: note: in instantiation of member function 'tbb::internal::atomic_impl<unsigned short>::operator unsigned short' requested here
  470 | __TBB_DECL_ATOMIC(unsigned short)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile short' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<short>::converter<const volatile short>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile short]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:471:1: note: in instantiation of member function 'tbb::internal::atomic_impl<short>::operator short' requested here
  471 | __TBB_DECL_ATOMIC(short)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile char' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<char>::converter<const volatile char>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile char]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:472:1: note: in instantiation of member function 'tbb::internal::atomic_impl<char>::operator char' requested here
  472 | __TBB_DECL_ATOMIC(char)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile signed char' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<signed char>::converter<const volatile signed char>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile signed char]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:473:1: note: in instantiation of member function 'tbb::internal::atomic_impl<signed char>::operator signed char' requested here
  473 | __TBB_DECL_ATOMIC(signed char)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile unsigned char' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<unsigned char>::converter<const volatile unsigned char>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile unsigned char]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:474:1: note: in instantiation of member function 'tbb::internal::atomic_impl<unsigned char>::operator unsigned char' requested here
  474 | __TBB_DECL_ATOMIC(unsigned char)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile wchar_t' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<wchar_t>::converter<const volatile wchar_t>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile wchar_t]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:477:1: note: in instantiation of member function 'tbb::internal::atomic_impl<wchar_t>::operator wchar_t' requested here
  477 | __TBB_DECL_ATOMIC(wchar_t)
      | ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:422:78: note: expanded from macro '__TBB_DECL_ATOMIC'
  422 |             atomic<T>& operator=( const atomic<T>& rhs ) {store_with_release(rhs); return *this;}   \
      |                                                                              ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'void *const volatile' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<void *>::converter<void *const volatile>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = void *const volatile]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:509:34: note: in instantiation of member function 'tbb::internal::atomic_impl<void *>::operator void *' requested here
  509 |         this->store_with_release(rhs); return *this;
      |                                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:226:18: warning: volatile-qualified parameter type 'const volatile bool' is deprecated [-Wdeprecated-volatile]
  226 |         converter(value_type a_value) : value(a_value) {}
      |                  ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:255:21: note: in instantiation of template class 'tbb::internal::atomic_impl<bool>::converter<const volatile bool>' requested here
  255 |     static typename converter<value_t>::bits_type & to_bits_ref(value_t& value){
      |                     ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/internal/../atomic.h:297:42: note: while substituting deduced template arguments into function template 'to_bits_ref' [with value_t = const volatile bool]
  297 |                 __TBB_load_with_acquire( to_bits_ref(my_storage.my_value) )
      |                                          ^
/data/gannet/ripley/R/test-clang/RcppParallel/include/tbb/partitioner.h:140:16: note: in instantiation of member function 'tbb::internal::atomic_impl<bool>::operator bool' requested here
  140 |         return static_cast<flag_task*>(t.parent())->my_child_stolen;
      |                ^
14 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c PLINK.cpp -o PLINK.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c POLMM.cpp -o POLMM.o
Main.cpp:582:18: warning: variable 'Beta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  582 |       } else if (t_method == "SPAGRM") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:591:23: note: uninitialized use occurs here
  591 |       BetaVec.at(i) = Beta * (1 - 2 * flip); // Beta if flip = false, -1*Beta is flip = true
      |                       ^~~~
Main.cpp:582:14: note: remove the 'if' if its condition is always false
  582 |       } else if (t_method == "SPAGRM") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  583 |         pval = ptr_gSPAGRMobj->getMarkerPval(GVec, altFreq, zScore, hwepval);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  584 | 
  585 |       }  else {
      |       ~~~~~~~
Main.cpp:579:18: warning: variable 'Beta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:591:23: note: uninitialized use occurs here
  591 |       BetaVec.at(i) = Beta * (1 - 2 * flip); // Beta if flip = false, -1*Beta is flip = true
      |                       ^~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:545:16: note: initialize the variable 'Beta' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                ^
      |                 = 0.0
Main.cpp:582:18: warning: variable 'seBeta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  582 |       } else if (t_method == "SPAGRM") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:592:25: note: uninitialized use occurs here
  592 |       seBetaVec.at(i) = seBeta;
      |                         ^~~~~~
Main.cpp:582:14: note: remove the 'if' if its condition is always false
  582 |       } else if (t_method == "SPAGRM") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  583 |         pval = ptr_gSPAGRMobj->getMarkerPval(GVec, altFreq, zScore, hwepval);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  584 | 
  585 |       }  else {
      |       ~~~~~~~
Main.cpp:579:18: warning: variable 'seBeta' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:592:25: note: uninitialized use occurs here
  592 |       seBetaVec.at(i) = seBeta;
      |                         ^~~~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:545:24: note: initialize the variable 'seBeta' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                        ^
      |                         = 0.0
Main.cpp:579:18: warning: variable 'hwepval' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  579 |       } else if (t_method == "SPACox") {
      |                  ^~~~~~~~~~~~~~~~~~~~
Main.cpp:593:26: note: uninitialized use occurs here
  593 |       hwepvalVec.at(i) = hwepval;
      |                          ^~~~~~~
Main.cpp:579:14: note: remove the 'if' if its condition is always false
  579 |       } else if (t_method == "SPACox") {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  580 |         pval = ptr_gSPACoxobj->getMarkerPval(GVec, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581 | 
  582 |       } else if (t_method == "SPAGRM") {
      |       ~~~~~~
Main.cpp:576:11: warning: variable 'hwepval' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  576 |       if (t_method == "POLMM") {
      |           ^~~~~~~~~~~~~~~~~~~
Main.cpp:593:26: note: uninitialized use occurs here
  593 |       hwepvalVec.at(i) = hwepval;
      |                          ^~~~~~~
Main.cpp:576:7: note: remove the 'if' if its condition is always false
  576 |       if (t_method == "POLMM") {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
  577 |         ptr_gPOLMMobj->getMarkerPval(GVec, Beta, seBeta, pval, altFreq, zScore);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  578 | 
  579 |       } else if (t_method == "SPACox") {
      |       ~~~~~~
Main.cpp:545:47: note: initialize the variable 'hwepval' to silence this warning
  545 |     double Beta, seBeta, pval, zScore, hwepval;
      |                                               ^
      |                                                = 0.0
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c SAGELD.cpp -o SAGELD.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c SPACox.cpp -o SPACox.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c SPAGRM.cpp -o SPAGRM.o
6 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c SPAmix.cpp -o SPAmix.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c UTIL.cpp -o UTIL.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c WtCoxG.cpp -o WtCoxG.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o GRAB.so BGEN.o DenseGRM.o Main.o PLINK.o POLMM.o RcppExports.o SAGELD.o SPACox.o SPAGRM.o SPAmix.o UTIL.o WtCoxG.o -lz -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/GRAB/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/GRAB/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/GRAB/src'
installing to /data/gannet/ripley/R/packages/tests-clang/GRAB.Rcheck/00LOCK-GRAB/00new/GRAB/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (GRAB)