gtonkinhill / fastbaps

A fast approximation to a Dirichlet Process Mixture model (DPM) for clustering genetic data
MIT License
58 stars 8 forks source link

Compilation failed #1

Closed idolawoye closed 6 years ago

idolawoye commented 6 years ago

Hi Gerry, I am trying to install the developmental version but I keep getting this error. Any idea on how to solve this?

Downloading GitHub repo gtonkinhill/fastbaps@master
from URL https://api.github.com/repos/gtonkinhill/fastbaps/zipball/master
Installing fastbaps
"C:/PROGRA~1/R/R-35~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Idowu/AppData/Local/Temp/Rtmpi2x6gS/devtools18887708483a/gtonkinhill-fastbaps-9b6e829f2e5d63a88daf6f09236fd3b0ec671453"  \
  --library="C:/Users/Idowu/Documents/R/win-library/3.5" --install-tests 

* installing *source* package 'fastbaps' ...
** libs
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c RcppExports.cpp -o RcppExports.o
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c bhier.cpp -o bhier.o
bhier.cpp: In function 'Rcpp::List bhier(Rcpp::List, Rcpp::List, Rcpp::NumericVector)':
bhier.cpp:38:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<(n_isolates+2); i++){
             ^
bhier.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<lg_size; j++){
               ^
bhier.cpp:46:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<n_snps; j++){
               ^
bhier.cpp:55:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (j=0; j < n_snps; j++){
                 ^
bhier.cpp:66:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(p=0; p<n_partitions; p++){
             ^
bhier.cpp:84:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(p=0; p<n_partitions; p++){
             ^
bhier.cpp:93:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i<n_snps; i++){
               ^
bhier.cpp:100:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(p1=0; p1<n_partitions; p1++){
               ^
bhier.cpp:101:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(p2=(p1+1); p2<n_partitions; p2++){
                      ^
bhier.cpp:113:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i=0; i<n_snps; i++){
                 ^
bhier.cpp:135:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(j=0; j<(n_partitions-1); j++) {
             ^
bhier.cpp:180:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(p=0; p<n_partitions; p++){
               ^
bhier.cpp:182:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(p==min_i) continue;
           ^
bhier.cpp:195:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i=0; i<n_snps; i++){
                 ^
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c bhier_parallel.cpp -o bhier_parallel.o
bhier_parallel.cpp: In function 'Rcpp::List bhier_parallel(Rcpp::List, Rcpp::List, Rcpp::NumericVector, int)':
bhier_parallel.cpp:45:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<lg_size; j++){
               ^
bhier_parallel.cpp:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<n_snps; j++){
               ^
bhier_parallel.cpp:61:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (j=0; j < n_snps; j++){
                 ^
bhier_parallel.cpp:105:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(k=0; k<n_snps; k++){
                 ^
bhier_parallel.cpp:131:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(k=0; k<n_snps; k++){
                 ^
bhier_parallel.cpp:209:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if((used[pp]!=1) && (pp!=min_i)){
                              ^
bhier_parallel.cpp:222:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(k=0; k<n_snps; k++){
                   ^
bhier_parallel.cpp:167:5: warning: 'col_index' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(row_index > col_index){
     ^
bhier_parallel.cpp:167:5: warning: 'row_index' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c calc_ddk.cpp -o calc_ddk.o
calc_ddk.cpp: In function 'Rcpp::List calc_ddk(Rcpp::List, arma::imat)':
calc_ddk.cpp:30:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<n_isolates; i++){
             ^
calc_ddk.cpp:35:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(m=0; m<n_merges; m++){
             ^
calc_ddk.cpp:19:7: warning: unused variable 'n_snps' [-Wunused-variable]
   int n_snps = snp_matrix.n_rows;
       ^
calc_ddk.cpp:22:18: warning: unused variable 'j' [-Wunused-variable]
   unsigned int i,j,m,partition_length,left,right;
                  ^
calc_ddk.cpp:22:22: warning: unused variable 'partition_length' [-Wunused-variable]
   unsigned int i,j,m,partition_length,left,right;
                      ^
calc_ddk.cpp:23:7: warning: unused variable 'count' [-Wunused-variable]
   int count = 0;
       ^
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c import_fasta_to_vector_each_nt.cpp -o import_fasta_to_vector_each_nt.o
In file included from import_fasta_to_vector_each_nt.cpp:2:0:
kseq.hpp:80:13: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   ~kseq() = default;;
             ^
kseq.hpp: In instantiation of 'kstream<ret_t, ReadFunction>::kstream(ret_t, ReadFunction) [with ret_t = int; ReadFunction = FunctorRead]':
import_fasta_to_vector_each_nt.cpp:21:37:   required from here
kseq.hpp:235:22: warning: 'kstream<int, FunctorRead>::bufferSize' will be initialized after [-Wreorder]
   const unsigned int bufferSize;
                      ^
kseq.hpp:233:9: warning:   'int kstream<int, FunctorRead>::f' [-Wreorder]
   ret_t f;
         ^
kseq.hpp:93:3: warning:   when initialized here [-Wreorder]
   kstream(ret_t f, ReadFunction rf) : bufferSize(4096), f(f), is_eof(0), begin(0), end(0), readfunc(rf) {
   ^
kseq.hpp:233:9: warning: 'kstream<int, FunctorRead>::f' will be initialized after [-Wreorder]
   ret_t f;
         ^
kseq.hpp:232:7: warning:   'int kstream<int, FunctorRead>::is_eof' [-Wreorder]
   int is_eof;
       ^
kseq.hpp:93:3: warning:   when initialized here [-Wreorder]
   kstream(ret_t f, ReadFunction rf) : bufferSize(4096), f(f), is_eof(0), begin(0), end(0), readfunc(rf) {
   ^
kseq.hpp:232:7: warning: 'kstream<int, FunctorRead>::is_eof' will be initialized after [-Wreorder]
   int is_eof;
       ^
kseq.hpp:230:7: warning:   'int kstream<int, FunctorRead>::begin' [-Wreorder]
   int begin;
       ^
kseq.hpp:93:3: warning:   when initialized here [-Wreorder]
   kstream(ret_t f, ReadFunction rf) : bufferSize(4096), f(f), is_eof(0), begin(0), end(0), readfunc(rf) {
   ^
kseq.hpp: In instantiation of 'int kstream<ret_t, ReadFunction>::getc() [with ret_t = int; ReadFunction = FunctorRead]':
kseq.hpp:107:17:   required from 'int kstream<ret_t, ReadFunction>::read(kseq&) [with ret_t = int; ReadFunction = FunctorRead]'
import_fasta_to_vector_each_nt.cpp:23:18:   required from here
kseq.hpp:157:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (this->end < bufferSize)
                     ^
kseq.hpp: In instantiation of 'int kstream<ret_t, ReadFunction>::getuntil(int, std::string&, int*) [with ret_t = int; ReadFunction = FunctorRead; std::string = std::basic_string<char>]':
kseq.hpp:116:41:   required from 'int kstream<ret_t, ReadFunction>::read(kseq&) [with ret_t = int; ReadFunction = FunctorRead]'
import_fasta_to_vector_each_nt.cpp:23:18:   required from here
kseq.hpp:184:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           if (this->end < bufferSize)
                         ^
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c log_add_sub.cpp -o log_add_sub.o
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c part_llks.cpp -o part_llks.o
part_llks.cpp: In function 'Rcpp::List part_llks(Rcpp::List, Rcpp::List)':
part_llks.cpp:20:13: warning: unused variable 'a' [-Wunused-variable]
   int i,j,p,a,partition_length,allele_count,temp_total;
             ^
part_llks.cpp:20:32: warning: unused variable 'allele_count' [-Wunused-variable]
   int i,j,p,a,partition_length,allele_count,temp_total;
                                ^
part_llks.cpp:20:45: warning: unused variable 'temp_total' [-Wunused-variable]
   int i,j,p,a,partition_length,allele_count,temp_total;
                                             ^
C:/RBuildTools/3.5/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -fopenmp -I"C:/Users/Idowu/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Idowu/Documents/R/win-library/3.5/RcppArmadillo/include"        -O2 -Wall  -mtune=generic -c tree_llk.cpp -o tree_llk.o
tree_llk.cpp: In function 'Rcpp::List tree_llk(Rcpp::List, arma::imat)':
tree_llk.cpp:33:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<(n_isolates+2); i++){
             ^
tree_llk.cpp:34:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<lg_size; j++){
               ^
tree_llk.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<n_snps; j++){
               ^
tree_llk.cpp:49:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (partition_length=1; partition_length<n_isolates+2; partition_length++){
                                            ^
tree_llk.cpp:50:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (j=0; j < n_snps; j++){
                 ^
tree_llk.cpp:60:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<n_isolates; i++){
             ^
tree_llk.cpp:81:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<n_isolates; i++){
             ^
tree_llk.cpp:92:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<n_snps; j++){
               ^
tree_llk.cpp:100:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(m=0; m<n_merges; m++){
             ^
tree_llk.cpp:129:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0; j<n_snps; j++){
               ^
tree_llk.cpp:78:10: warning: unused variable 'pik' [-Wunused-variable]
   double pik;
          ^
C:/RBuildTools/3.5/mingw_64/bin/g++ -shared -s -static-libgcc -o fastbaps.dll tmp.def RcppExports.o bhier.o bhier_parallel.o calc_ddk.o import_fasta_to_vector_each_nt.o log_add_sub.o part_llks.o tree_llk.o -LC:/PROGRA~1/R/R-35~1.1/bin/x64 -lR
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdE4initERKS1_[_ZN4arma5SpMatIdE4initERKS1_]+0x236): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdE4initERKS1_[_ZN4arma5SpMatIdE4initERKS1_]+0x243): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdE4initERKS1_[_ZN4arma5SpMatIdE4initERKS1_]+0x268): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdE9steal_memERS1_[_ZN4arma5SpMatIdE9steal_memERS1_]+0x181): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdE9steal_memERS1_[_ZN4arma5SpMatIdE9steal_memERS1_]+0x18e): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNK4arma5SpMatIdE8sync_cscEv[_ZNK4arma5SpMatIdE8sync_cscEv]+0x24): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZNK4arma5SpMatIdE8sync_cscEv[_ZNK4arma5SpMatIdE8sync_cscEv]+0x31): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjE4initERKS1_[_ZN4arma5SpMatIjE4initERKS1_]+0x221): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjE4initERKS1_[_ZN4arma5SpMatIjE4initERKS1_]+0x22e): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjE4initERKS1_[_ZN4arma5SpMatIjE4initERKS1_]+0x347): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjEC1ERKS1_[_ZN4arma5SpMatIjEC1ERKS1_]+0x241): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjEC1ERKS1_[_ZN4arma5SpMatIjEC1ERKS1_]+0x24e): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjEC1ERKS1_[_ZN4arma5SpMatIjEC1ERKS1_]+0x278): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNK4arma5SpMatIjE8sync_cscEv[_ZNK4arma5SpMatIjE8sync_cscEv]+0x34): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZNK4arma5SpMatIjE8sync_cscEv[_ZNK4arma5SpMatIjE8sync_cscEv]+0x41): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjEC1IS1_S1_NS_11spglue_plusEEERKNS_6SpGlueIT_T0_T1_EE[_ZN4arma5SpMatIjEC1IS1_S1_NS_11spglue_plusEEERKNS_6SpGlueIT_T0_T1_EE]+0x45b): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIjEC1IS1_S1_NS_11spglue_plusEEERKNS_6SpGlueIT_T0_T1_EE[_ZN4arma5SpMatIjEC1IS1_S1_NS_11spglue_plusEEERKNS_6SpGlueIT_T0_T1_EE]+0x467): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_[_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_]+0x2e4): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_[_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_]+0x2f1): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_[_ZNSt20__uninitialized_copyILb0EE13__uninit_copyIPN4arma5SpMatIjEES5_EET0_T_S7_S6_]+0x32d): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_[_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_]+0x416): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_[_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_]+0x423): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_[_ZNSt6vectorIN4arma5SpMatIjEESaIS2_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS2_S4_EERKS2_]+0x46e): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdEaSIS1_NS_11spop_symmatEEERS1_RKNS_4SpOpIT_T0_EE[_ZN4arma5SpMatIdEaSIS1_NS_11spop_symmatEEERS1_RKNS_4SpOpIT_T0_EE]+0x71): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma5SpMatIdEaSIS1_NS_11spop_symmatEEERS1_RKNS_4SpOpIT_T0_EE[_ZN4arma5SpMatIdEaSIS1_NS_11spop_symmatEEERS1_RKNS_4SpOpIT_T0_EE]+0x7e): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4arma10spdiagviewIdE4fillEd[_ZN4arma10spdiagviewIdE4fillEd]+0x1dc): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4arma10spdiagviewIdE4fillEd[_ZN4arma10spdiagviewIdE4fillEd]+0x1ee): undefined reference to `GOMP_critical_end'
bhier.o:bhier.cpp:(.text$_ZN4Rcpp6traits8ExporterIN4arma5SpMatIdEEE3getEv[_ZN4Rcpp6traits8ExporterIN4arma5SpMatIdEEE3getEv]+0xf30): undefined reference to `GOMP_critical_start'
bhier.o:bhier.cpp:(.text$_ZN4Rcpp6traits8ExporterIN4arma5SpMatIdEEE3getEv[_ZN4Rcpp6traits8ExporterIN4arma5SpMatIdEEE3getEv]+0xf46): undefined reference to `GOMP_critical_end'
bhier_parallel.o:bhier_parallel.cpp:(.text+0xe36): undefined reference to `omp_get_num_threads'
bhier_parallel.o:bhier_parallel.cpp:(.text+0xe3d): undefined reference to `omp_get_thread_num'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x1025): undefined reference to `GOMP_barrier'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x1252): undefined reference to `omp_get_num_threads'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x125a): undefined reference to `omp_get_thread_num'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x15b9): undefined reference to `GOMP_barrier'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x1975): undefined reference to `omp_get_num_threads'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x197c): undefined reference to `omp_get_thread_num'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x1d4d): undefined reference to `GOMP_barrier'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x1f38): undefined reference to `omp_set_num_threads'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x2fdc): undefined reference to `GOMP_parallel'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x305b): undefined reference to `GOMP_parallel'
bhier_parallel.o:bhier_parallel.cpp:(.text+0x399d): undefined reference to `GOMP_parallel'
part_llks.o:part_llks.cpp:(.text+0x1e88): undefined reference to `GOMP_critical_start'
part_llks.o:part_llks.cpp:(.text+0x1e9d): undefined reference to `GOMP_critical_end'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'fastbaps'
* removing 'C:/Users/Idowu/Documents/R/win-library/3.5/fastbaps'
In R CMD INSTALL