* installing *source* package ‘gpboost’ ... ** package ‘gpboost’ successfully unpacked and MD5 sums checked ** using staged installation checking location of R... /Library/Frameworks/R.framework/Resources checking whether MM_PREFETCH works... yes checking whether MM_MALLOC works... yes checking whether OpenMP will work in a package... no *********************************************************************************************** OpenMP is unavailable on this macOS system. GPBoost code will run single-threaded as a result. To use all CPU cores for training jobs, you should install OpenMP by running brew install libomp *********************************************************************************************** configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c boosting/boosting.cpp -o boosting/boosting.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c boosting/gbdt.cpp -o boosting/gbdt.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c boosting/gbdt_model_text.cpp -o boosting/gbdt_model_text.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c boosting/gbdt_prediction.cpp -o boosting/gbdt_prediction.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c boosting/prediction_early_stop.cpp -o boosting/prediction_early_stop.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/bin.cpp -o io/bin.o io/bin.cpp:164:9: warning: variable 'left_cnt_data' set but not used [-Wunused-but-set-variable] int left_cnt_data = 0; ^ io/bin.cpp:165:9: warning: variable 'cnt_zero' set but not used [-Wunused-but-set-variable] int cnt_zero = 0; ^ io/bin.cpp:166:9: warning: variable 'right_cnt_data' set but not used [-Wunused-but-set-variable] int right_cnt_data = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/config.cpp -o io/config.o In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/config_auto.cpp -o io/config_auto.o 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/dataset.cpp -o io/dataset.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/dataset_loader.cpp -o io/dataset_loader.o 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/file_io.cpp -o io/file_io.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/json11.cpp -o io/json11.o 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/metadata.cpp -o io/metadata.o 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/parser.cpp -o io/parser.o 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/train_share_states.cpp -o io/train_share_states.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c io/tree.cpp -o io/tree.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c metric/dcg_calculator.cpp -o metric/dcg_calculator.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c metric/metric.cpp -o metric/metric.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c objective/objective_function.cpp -o objective/objective_function.o In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c network/ifaddrs_patch.cpp -o network/ifaddrs_patch.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c network/linker_topo.cpp -o network/linker_topo.o In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c network/linkers_mpi.cpp -o network/linkers_mpi.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c network/linkers_socket.cpp -o network/linkers_socket.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c network/network.cpp -o network/network.o network/linkers_socket.cpp:174:7: warning: variable 'need_connect_cnt' set but not used [-Wunused-but-set-variable] int need_connect_cnt = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/data_parallel_tree_learner.cpp -o treelearner/data_parallel_tree_learner.o 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/feature_parallel_tree_learner.cpp -o treelearner/feature_parallel_tree_learner.o In file included from objective/objective_function.cpp:8: objective/binary_objective.hpp:215:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] const bool deterministic_; ^ In file included from objective/objective_function.cpp:12: objective/xentropy_objective.hpp:153:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] const bool deterministic_; ^ objective/xentropy_objective.hpp:291:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] const bool deterministic_; ^ 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/gpu_tree_learner.cpp -o treelearner/gpu_tree_learner.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/linear_tree_learner.cpp -o treelearner/linear_tree_learner.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/serial_tree_learner.cpp -o treelearner/serial_tree_learner.o In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/tree_learner.cpp -o treelearner/tree_learner.o 7 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c treelearner/voting_parallel_tree_learner.cpp -o treelearner/voting_parallel_tree_learner.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c c_api.cpp -o c_api.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c gpboost_R.cpp -o gpboost_R.o In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c re_model.cpp -o re_model.o In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c sparse_matrix_utils.cpp -o sparse_matrix_utils.o In file included from sparse_matrix_utils.cpp:9: In file included from ./include/GPBoost/sparse_matrix_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from sparse_matrix_utils.cpp:9: In file included from ./include/GPBoost/sparse_matrix_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c GP_utils.cpp -o GP_utils.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c DF_utils.cpp -o DF_utils.o In file included from GP_utils.cpp:9: In file included from ./include/GPBoost/GP_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from GP_utils.cpp:9: In file included from ./include/GPBoost/GP_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c Vecchia_utils.cpp -o Vecchia_utils.o In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ Vecchia_utils.cpp:477:17: warning: variable 'ctr_grad' set but not used [-Wunused-but-set-variable] int ctr = 0, ctr_grad = 0; ^ ./include/GPBoost/cov_fcts.h:1185:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::InitializeGetDistanceForCovFct' requested here InitializeGetDistanceForCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5444:51: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1, 0>>::RECompGP' requested here std::shared_ptr<RECompGP<den_mat_t>> gp_ip(new RECompGP<den_mat_t>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:76:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1191:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1433:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::InitializeGetDistanceForGradientCovFct' requested here InitializeGetDistanceForGradientCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5444:51: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1, 0>>::RECompGP' requested here std::shared_ptr<RECompGP<den_mat_t>> gp_ip(new RECompGP<den_mat_t>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:76:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1439:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1446:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1185:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::InitializeGetDistanceForCovFct' requested here InitializeGetDistanceForCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ Vecchia_utils.cpp:369:81: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1, 0>>::RECompGP' requested here re_comps_vecchia_cluster_i.push_back(std::shared_ptr<RECompGP<den_mat_t>>(new RECompGP<den_mat_t>( ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1191:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1433:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::InitializeGetDistanceForGradientCovFct' requested here InitializeGetDistanceForGradientCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ Vecchia_utils.cpp:369:81: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1, 0>>::RECompGP' requested here re_comps_vecchia_cluster_i.push_back(std::shared_ptr<RECompGP<den_mat_t>>(new RECompGP<den_mat_t>( ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1439:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1446:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, ^ 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c CG_utils.cpp -o CG_utils.o ./include/GPBoost/cov_fcts.h:1185:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 0>>::InitializeGetDistanceForCovFct' requested here InitializeGetDistanceForCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5456:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 0>>::RECompGP' requested here re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:76:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1191:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1433:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 0>>::InitializeGetDistanceForGradientCovFct' requested here InitializeGetDistanceForGradientCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 0>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5456:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 0>>::RECompGP' requested here re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:76:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1439:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1446:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1829:11: warning: unused variable 'dist_ij' [-Wunused-variable] double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); ^ ./include/GPBoost/cov_fcts.h:1185:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::InitializeGetDistanceForCovFct' requested here InitializeGetDistanceForCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5456:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 1>>::RECompGP' requested here re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:108:90: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_rm_ = std::unique_ptr<REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>>(new REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1191:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1433:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::InitializeGetDistanceForGradientCovFct' requested here InitializeGetDistanceForGradientCovFct(); ^ ./include/GPBoost/re_comp.h:780:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::CovFunction' requested here cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); ^ ./include/GPBoost/re_model_template.h:5456:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 1>>::RECompGP' requested here re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( ^ ./include/GPBoost/re_model_template.h:296:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, ^ re_model.cpp:108:90: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here re_model_sp_rm_ = std::unique_ptr<REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>>(new REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>( ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1439:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, ^ ./include/GPBoost/cov_fcts.h:1446:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, ^ 4 warnings generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cs_spsolve.c -o cs_spsolve.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cs_reach.c -o cs_reach.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cs_dfs.c -o cs_dfs.o In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8343:42: warning: expression result unused [-Wunused-value] re_comp_cross_cov_cluster_i_pred_ip->coords_; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3089:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::CalcPredFITC_FSA' requested here CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, ^ re_model.cpp:962:18: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 0>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>::Predict' requested here re_model_sp_->Predict(cov_pars_pred_trans.data(), ^ 4 warnings generated. In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8343:42: warning: expression result unused [-Wunused-value] re_comp_cross_cov_cluster_i_pred_ip->coords_; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3089:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CalcPredFITC_FSA' requested here CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, ^ re_model.cpp:982:21: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::Predict' requested here re_model_sp_rm_->Predict(cov_pars_pred_trans.data(), ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8343:42: warning: expression result unused [-Wunused-value] re_comp_cross_cov_cluster_i_pred_ip->coords_; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3089:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::Matrix<double, -1, -1, 0>, Eigen::LLT<Eigen::Matrix<double, -1, -1, 0>, 1>>::CalcPredFITC_FSA' requested here CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, ^ re_model.cpp:1002:19: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::Matrix<double, -1, -1, 0>, Eigen::LLT<Eigen::Matrix<double, -1, -1, 0>, 1>>::Predict' requested here re_model_den_->Predict(cov_pars_pred_trans.data(), ^ 10 warnings generated. 4 warnings generated. 22 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o gpboost.so boosting/boosting.o boosting/gbdt.o boosting/gbdt_model_text.o boosting/gbdt_prediction.o boosting/prediction_early_stop.o io/bin.o io/config.o io/config_auto.o io/dataset.o io/dataset_loader.o io/file_io.o io/json11.o io/metadata.o io/parser.o io/train_share_states.o io/tree.o metric/dcg_calculator.o metric/metric.o objective/objective_function.o network/ifaddrs_patch.o network/linker_topo.o network/linkers_mpi.o network/linkers_socket.o network/network.o treelearner/data_parallel_tree_learner.o treelearner/feature_parallel_tree_learner.o treelearner/gpu_tree_learner.o treelearner/linear_tree_learner.o treelearner/serial_tree_learner.o treelearner/tree_learner.o treelearner/voting_parallel_tree_learner.o c_api.o gpboost_R.o re_model.o sparse_matrix_utils.o GP_utils.o DF_utils.o Vecchia_utils.o CG_utils.o cs_spsolve.o cs_reach.o cs_dfs.o -pthread -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation /Volumes/Builds/packages/big-sur-x86_64/results/4.4/gpboost.Rcheck/00_pkg_src/gpboost/src/network/ifaddrs_patch.o: no symbols /Volumes/Builds/packages/big-sur-x86_64/results/4.4/gpboost.Rcheck/00_pkg_src/gpboost/src/network/linkers_mpi.o: no symbols /Volumes/Builds/packages/big-sur-x86_64/results/4.4/gpboost.Rcheck/00_pkg_src/gpboost/src/treelearner/gpu_tree_learner.o: no symbols installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/gpboost.Rcheck/00LOCK-gpboost/00new/gpboost/libs ** generating debug symbols (dSYM) ** R ** data ** demo ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 (gpboost)