Compilation error (ExaBayes 1.5) on Ubuntu 20.04

145 views
Skip to first unread message

Guarino Colli

unread,
Jun 2, 2020, 6:00:12 PM6/2/20
to ExaBayes
Hi Alexis,
I am struggling to compile ExaBayes version 1.5 on Ubuntu 20.04 (below). I have the following installed:

gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
clang version 10.0.0-4ubuntu1
Open MPI: 4.0.3

Any hints will be greatly appreciated! Thanks a lot, Guarino.





(base) grcolli@Titanosaurus:~/Downloads/exabayes-1.5$ ./configure --enable-mpi && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for long long int... yes
checking whether g++ supports C++11 features by default... yes
checking whether g++ supports C++14 features by default... yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for gcc option to accept ISO C99... (cached) none needed
checking for ranlib... ranlib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86 cpuid  output... unknown
checking for x86-AVX xgetbv  output... unknown
checking for x86 cpuid 0x00000000 output... 14:756e6547:6c65746e:49656e69
checking for x86 cpuid 0x80000000 output... 80000008:0:0:0
checking for x86 cpuid 0x00000001 output... 406f1:28400800:7ffefbff:bfebfbff
checking for x86 cpuid 0x00000007 output... 0:21cbfbb:0:9c000400
checking for x86 cpuid 0x80000001 output... 0:0:121:2c100800
checking for x86-AVX xgetbv 0x00000000 output... 7:0
checking whether RDRND is supported by the processor... yes
checking whether RDRND is supported by the processor and OS... yes
checking whether C compiler accepts -mrdrnd... yes
checking whether BMI1 is supported by the processor... yes
checking whether BMI1 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi... yes
checking whether BMI2 is supported by the processor... yes
checking whether BMI2 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi2... yes
checking whether ADX is supported by the processor... yes
checking whether ADX is supported by the processor and OS... yes
checking whether C compiler accepts -madx... yes
checking whether MPX is supported by the processor... no
checking whether PREFETCHWT1 is supported by the processor... no
checking whether ABM is supported by the processor... yes
checking whether ABM is supported by the processor and OS... yes
checking whether C compiler accepts -mabm... yes
checking whether MMX is supported by the processor... yes
checking whether MMX is supported by the processor and OS... yes
checking whether C compiler accepts -mmmx... yes
checking whether SSE is supported by the processor... yes
checking whether SSE is supported by the processor and OS... yes
checking whether C compiler accepts -msse... yes
checking whether SSE2 is supported by the processor... yes
checking whether SSE2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse2... yes
checking whether SSE3 is supported by the processor... yes
checking whether SSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -msse3... yes
checking whether SSSE3 is supported by the processor... yes
checking whether SSSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -mssse3... yes
checking whether SSE4.1 is supported by the processor... yes
checking whether SSE4.1 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.1... yes
checking whether SSE4.2 is supported by the processor... yes
checking whether SSE4.2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.2... yes
checking whether SSE4a is supported by the processor... no
checking whether SHA is supported by the processor... no
checking whether AES is supported by the processor... yes
checking whether AES is supported by the processor and OS... yes
checking whether C compiler accepts -maes... yes
checking whether AVX is supported by the processor... yes
checking whether AVX is supported by the processor and OS... yes
checking whether C compiler accepts -mavx... yes
checking whether FMA3 is supported by the processor... yes
checking whether FMA3 is supported by the processor and OS... yes
checking whether C compiler accepts -mfma... yes
checking whether FMA4 is supported by the processor... no
checking whether XOP is supported by the processor... no
checking whether AVX2 is supported by the processor... yes
checking whether AVX2 is supported by the processor and OS... yes
checking whether C compiler accepts -mavx2... yes
checking whether AVX512-F is supported by the processor... no
checking whether AVX512-CD is supported by the processor... no
checking whether AVX512-PF is supported by the processor... no
checking whether AVX512-ER is supported by the processor... no
checking whether AVX512-VL is supported by the processor... no
checking whether AVX512-BW is supported by the processor... no
checking whether AVX512-DQ is supported by the processor... no
checking whether AVX512-IFMA is supported by the processor... no
checking whether AVX512-VBMI is supported by the processor... no
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes(base) grcolli@Titanosaurus:~/Downloads/exabayes-1.5$ ./configure --enable-mpi && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for long long int... yes
checking whether g++ supports C++11 features by default... yes
checking whether g++ supports C++14 features by default... yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for gcc option to accept ISO C99... (cached) none needed
checking for ranlib... ranlib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86 cpuid  output... unknown
checking for x86-AVX xgetbv  output... unknown
checking for x86 cpuid 0x00000000 output... 14:756e6547:6c65746e:49656e69
checking for x86 cpuid 0x80000000 output... 80000008:0:0:0
checking for x86 cpuid 0x00000001 output... 406f1:28400800:7ffefbff:bfebfbff
checking for x86 cpuid 0x00000007 output... 0:21cbfbb:0:9c000400
checking for x86 cpuid 0x80000001 output... 0:0:121:2c100800
checking for x86-AVX xgetbv 0x00000000 output... 7:0
checking whether RDRND is supported by the processor... yes
checking whether RDRND is supported by the processor and OS... yes
checking whether C compiler accepts -mrdrnd... yes
checking whether BMI1 is supported by the processor... yes
checking whether BMI1 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi... yes
checking whether BMI2 is supported by the processor... yes
checking whether BMI2 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi2... yes
checking whether ADX is supported by the processor... yes
checking whether ADX is supported by the processor and OS... yes
checking whether C compiler accepts -madx... yes
checking whether MPX is supported by the processor... no
checking whether PREFETCHWT1 is supported by the processor... no
checking whether ABM is supported by the processor... yes
checking whether ABM is supported by the processor and OS... yes
checking whether C compiler accepts -mabm... yes
checking whether MMX is supported by the processor... yes
checking whether MMX is supported by the processor and OS... yes
checking whether C compiler accepts -mmmx... yes
checking whether SSE is supported by the processor... yes
checking whether SSE is supported by the processor and OS... yes
checking whether C compiler accepts -msse... yes
checking whether SSE2 is supported by the processor... yes
checking whether SSE2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse2... yes
checking whether SSE3 is supported by the processor... yes
checking whether SSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -msse3... yes
checking whether SSSE3 is supported by the processor... yes
checking whether SSSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -mssse3... yes
checking whether SSE4.1 is supported by the processor... yes
checking whether SSE4.1 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.1... yes
checking whether SSE4.2 is supported by the processor... yes
checking whether SSE4.2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.2... yes
checking whether SSE4a is supported by the processor... no
checking whether SHA is supported by the processor... no
checking whether AES is supported by the processor... yes
checking whether AES is supported by the processor and OS... yes
checking whether C compiler accepts -maes... yes
checking whether AVX is supported by the processor... yes
checking whether AVX is supported by the processor and OS... yes
checking whether C compiler accepts -mavx... yes
checking whether FMA3 is supported by the processor... yes
checking whether FMA3 is supported by the processor and OS... yes
checking whether C compiler accepts -mfma... yes
checking whether FMA4 is supported by the processor... no
checking whether XOP is supported by the processor... no
checking whether AVX2 is supported by the processor... yes
checking whether AVX2 is supported by the processor and OS... yes
checking whether C compiler accepts -mavx2... yes
checking whether AVX512-F is supported by the processor... no
checking whether AVX512-CD is supported by the processor... no
checking whether AVX512-PF is supported by the processor... no
checking whether AVX512-ER is supported by the processor... no
checking whether AVX512-VL is supported by the processor... no
checking whether AVX512-BW is supported by the processor... no
checking whether AVX512-DQ is supported by the processor... no
checking whether AVX512-IFMA is supported by the processor... no
checking whether AVX512-VBMI is supported by the processor... no
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for getcwd... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for memset... yes
checking for pow... no
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for mpicxx... /usr/bin/mpicxx
Checking whether /usr/bin/mpicxx responds to '-showme:compile'... yes

RESULT:
MPI_CXXFLAGS=-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
MPI_CXXLDFLAGS=-pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi

found CXXFLAGS: -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
found CXXLDFLAGS: -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
  CXX      src/libbayes_a-TreePrinter.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
  CXX      src/libbayes_a-TreeRandomizer.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableKnownLength(std::vector<T>, std::vector<int>&, std::vector<int>&, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:2:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
    1 | #include <cassert>
  +++ |+#include <functional>
    2 |
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:56:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
   56 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,(base) grcolli@Titanosaurus:~/Downloads/exabayes-1.5$ ./configure --enable-mpi && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for long long int... yes
checking whether g++ supports C++11 features by default... yes
checking whether g++ supports C++14 features by default... yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for gcc option to accept ISO C99... (cached) none needed
checking for ranlib... ranlib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86 cpuid  output... unknown
checking for x86-AVX xgetbv  output... unknown
checking for x86 cpuid 0x00000000 output... 14:756e6547:6c65746e:49656e69
checking for x86 cpuid 0x80000000 output... 80000008:0:0:0
checking for x86 cpuid 0x00000001 output... 406f1:28400800:7ffefbff:bfebfbff
checking for x86 cpuid 0x00000007 output... 0:21cbfbb:0:9c000400
checking for x86 cpuid 0x80000001 output... 0:0:121:2c100800
checking for x86-AVX xgetbv 0x00000000 output... 7:0
checking whether RDRND is supported by the processor... yes
checking whether RDRND is supported by the processor and OS... yes
checking whether C compiler accepts -mrdrnd... yes
checking whether BMI1 is supported by the processor... yes
checking whether BMI1 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi... yes
checking whether BMI2 is supported by the processor... yes
checking whether BMI2 is supported by the processor and OS... yes
checking whether C compiler accepts -mbmi2... yes
checking whether ADX is supported by the processor... yes
checking whether ADX is supported by the processor and OS... yes
checking whether C compiler accepts -madx... yes
checking whether MPX is supported by the processor... no
checking whether PREFETCHWT1 is supported by the processor... no
checking whether ABM is supported by the processor... yes
checking whether ABM is supported by the processor and OS... yes
checking whether C compiler accepts -mabm... yes
checking whether MMX is supported by the processor... yes
checking whether MMX is supported by the processor and OS... yes
checking whether C compiler accepts -mmmx... yes
checking whether SSE is supported by the processor... yes
checking whether SSE is supported by the processor and OS... yes
checking whether C compiler accepts -msse... yes
checking whether SSE2 is supported by the processor... yes
checking whether SSE2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse2... yes
checking whether SSE3 is supported by the processor... yes
checking whether SSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -msse3... yes
checking whether SSSE3 is supported by the processor... yes
checking whether SSSE3 is supported by the processor and OS... yes
checking whether C compiler accepts -mssse3... yes
checking whether SSE4.1 is supported by the processor... yes
checking whether SSE4.1 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.1... yes
checking whether SSE4.2 is supported by the processor... yes
checking whether SSE4.2 is supported by the processor and OS... yes
checking whether C compiler accepts -msse4.2... yes
checking whether SSE4a is supported by the processor... no
checking whether SHA is supported by the processor... no
checking whether AES is supported by the processor... yes
checking whether AES is supported by the processor and OS... yes
checking whether C compiler accepts -maes... yes
checking whether AVX is supported by the processor... yes
checking whether AVX is supported by the processor and OS... yes
checking whether C compiler accepts -mavx... yes
checking whether FMA3 is supported by the processor... yes
checking whether FMA3 is supported by the processor and OS... yes
checking whether C compiler accepts -mfma... yes
checking whether FMA4 is supported by the processor... no
checking whether XOP is supported by the processor... no
checking whether AVX2 is supported by the processor... yes
checking whether AVX2 is supported by the processor and OS... yes
checking whether C compiler accepts -mavx2... yes
checking whether AVX512-F is supported by the processor... no
checking whether AVX512-CD is supported by the processor... no
checking whether AVX512-PF is supported by the processor... no
checking whether AVX512-ER is supported by the processor... no
checking whether AVX512-VL is supported by the processor... no
checking whether AVX512-BW is supported by the processor... no
checking whether AVX512-DQ is supported by the processor... no
checking whether AVX512-IFMA is supported by the processor... no
checking whether AVX512-VBMI is supported by the processor... no
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for getcwd... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for memset... yes
checking for pow... no
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for mpicxx... /usr/bin/mpicxx
Checking whether /usr/bin/mpicxx responds to '-showme:compile'... yes

RESULT:
MPI_CXXFLAGS=-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
MPI_CXXLDFLAGS=-pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi

found CXXFLAGS: -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
found CXXLDFLAGS: -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
  CXX      src/libbayes_a-TreePrinter.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
  CXX      src/libbayes_a-TreeRandomizer.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableKnownLength(std::vector<T>, std::vector<int>&, std::vector<int>&, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:2:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
    1 | #include <cassert>
  +++ |+#include <functional>
    2 |
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:56:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
   56 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::reduce(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:93:41: error: ‘reducer’ was not declared in this scope; did you mean ‘reduce’?
   93 |       return commTreeUpAsync(data,root, reducer);
      |                                         ^~~~~~~
      |                                         reduce
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableLength(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:107:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
  107 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: At global scope:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
make: *** [Makefile:2663: src/libbayes_a-TreeRandomizer.o] Error 1

                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::reduce(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:93:41: error: ‘reducer’ was not declared in this scope; did you mean ‘reduce’?
   93 |       return commTreeUpAsync(data,root, reducer);
      |                                         ^~~~~~~
      |                                         reduce
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableLength(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:107:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
  107 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: At global scope:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
make: *** [Makefile:2663: src/libbayes_a-TreeRandomizer.o] Error 1

checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for getcwd... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for memset... yes
checking for pow... no
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for mpicxx... /usr/bin/mpicxx
Checking whether /usr/bin/mpicxx responds to '-showme:compile'... yes

RESULT:
MPI_CXXFLAGS=-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
MPI_CXXLDFLAGS=-pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi

found CXXFLAGS: -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
found CXXLDFLAGS: -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
  CXX      src/libbayes_a-TreePrinter.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/parameters/AbstractParameter.hpp:4,
                 from ./src/TreePrinter.cpp:3:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
  CXX      src/libbayes_a-TreeRandomizer.o
In file included from ./src/system/GlobalVariables.hpp:18,
                 from ./src/system/log_double.hpp:10,
                 from ./src/system/extensions.hpp:10,
                 from ./src/model/TreeAln.hpp:9,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   20 | #if USE_AVX
      |     ^~~~~~~
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/common.h:20:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/model/ProtModel.hpp:9,
                 from ./src/model/TreeAln.hpp:13,
                 from ./src/TreeRandomizer.hpp:8,
                 from ./src/TreeRandomizer.cpp:1:
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   23 | #if USE_SSE
      |     ^~~~~~~
./src/pll.h:23:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
   27 | #if USE_AVX
      |     ^~~~~~~
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./src/pll.h:27:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:64:60: note: in expansion of macro ‘DATA_COMBINE_FUN’
   64 |   std::vector<T> commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                            ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.hpp:69:65: note: in expansion of macro ‘DATA_COMBINE_FUN’
   69 |   std::vector<T> commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun);
      |                                                                 ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableKnownLength(std::vector<T>, std::vector<int>&, std::vector<int>&, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:2:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
    1 | #include <cassert>
  +++ |+#include <functional>
    2 |
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:51:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
   51 |   DATA_COMBINE_FUN gatherer = [](std::vector<T>& acc, typename std::vector<T>::const_iterator  beginDon, typename std::vector<T>::const_iterator endDon)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:56:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
   56 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::reduce(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:84:7: note: in expansion of macro ‘DATA_COMBINE_FUN’
   84 |       DATA_COMBINE_FUN reducer = [](  std::vector<T> &acc,  typename std::vector<T>::const_iterator beginDonator, typename std::vector<T>::const_iterator endDonator)
      |       ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:93:41: error: ‘reducer’ was not declared in this scope; did you mean ‘reduce’?
   93 |       return commTreeUpAsync(data,root, reducer);
      |                                         ^~~~~~~
      |                                         reduce
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: In member function ‘std::vector<T> LocalComm::gatherVariableLength(std::vector<T>, int)’:
./src/comm/LocalComm.hpp:12:31: error: ‘function’ is not a member of ‘std’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:40: error: expected primary-expression before ‘void’
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                        ^~~~
./src/comm/LocalComm.tpp:102:3: note: in expansion of macro ‘DATA_COMBINE_FUN’
  102 |   DATA_COMBINE_FUN gatherer = []( std::vector<T> &acc, typename std::vector<T>::const_iterator beginDonator,  typename std::vector<T>::const_iterator endDonator)
      |   ^~~~~~~~~~~~~~~~
In file included from ./src/comm/LocalComm.hpp:90,
                 from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp:107:34: error: ‘gatherer’ was not declared in this scope; did you mean ‘gather’?
  107 |   return commTreeUp(myData,root, gatherer) ;
      |                                  ^~~~~~~~
      |                                  gather
In file included from ./src/comm/Communicator.hpp:5,
                 from ./src/comm/ParallelSetup.hpp:8,
                 from ./src/TreeRandomizer.cpp:5:
./src/comm/LocalComm.tpp: At global scope:
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:204:74: note: in expansion of macro ‘DATA_COMBINE_FUN’
  204 | std::vector<T> LocalComm::commTreeUpAsync(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                          ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:31: error: ‘std::function’ has not been declared
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                               ^~~~~~~~
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
./src/comm/LocalComm.hpp:12:39: error: expected ‘,’ or ‘...’ before ‘<’ token
   12 | #define DATA_COMBINE_FUN std::function<void(std::vector<T>& acc,  typename std::vector<T>::const_iterator,  typename std::vector<T>::const_iterator)>
      |                                       ^
./src/comm/LocalComm.tpp:277:69: note: in expansion of macro ‘DATA_COMBINE_FUN’
  277 | std::vector<T> LocalComm::commTreeUp(std::vector<T> data, int root, DATA_COMBINE_FUN fun)
      |                                                                     ^~~~~~~~~~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning’
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
make: *** [Makefile:2663: src/libbayes_a-TreeRandomizer.o] Error 1









(base) grcolli@Titanosaurus:~/Downloads/exabayes-1.5$ make clean
test -z "yggdrasil parser-exabayes sdsf postProcParam credibleSet extractBips consense exabayes " || rm -f yggdrasil parser-exabayes sdsf postProcParam credibleSet extractBips consense exabayes
test -z "libbayes.a libncl.a libcommdummy.a libpll.a libpll_model.a libcommmpi.a" || rm -f libbayes.a libncl.a libcommdummy.a libpll.a libpll_model.a libcommmpi.a
rm -f *.o
rm -f ./lib/ncl-2.1.18/ncl/*.o
rm -f ./lib/pll/*.o
rm -f ./src/*.o
rm -f ./src/apps/*.o
rm -f ./src/branches/*.o
rm -f ./src/comm/*.o
rm -f ./src/comm/dummy/*.o
rm -f ./src/comm/mpi/*.o
rm -f ./src/comm/threads/*.o
rm -f ./src/config/*.o
rm -f ./src/contrib/*.o
rm -f ./src/data-struct/*.o
rm -f ./src/eval/*.o
rm -f ./src/file/*.o
rm -f ./src/math/*.o
rm -f ./src/mcmc/*.o
rm -f ./src/model/*.o
rm -f ./src/parameters/*.o
rm -f ./src/priors/*.o
rm -f ./src/proposals/*.o
rm -f ./src/proposals/param-proposers/*.o
rm -f ./src/proposals/topo-proposers/*.o
rm -f ./src/system/*.o
rm -f ./src/tree-parse/*.o
rm -f ./tests/*.o

Andre Aberer

unread,
Jun 7, 2020, 3:30:19 PM6/7/20
to exab...@googlegroups.com
Hi Guarino,

these new compilers are not support yet.

The fix is trivial, but it may take a few more days until a new version
is available on the exabayes webpage.

You can try to add the required modification yourself:

(1) Open the file 'src/comm/LocalComm.hpp'
(2) Below the line '#include <numeric>' add the following line:
#include <functional>

The code will compile afterwards.

--
Best regards,
Andre

Guarino Colli

unread,
Jun 8, 2020, 6:23:23 PM6/8/20
to ExaBayes
Thanks a lot, Andre! This allowed me to compile Exabayes.
>...
Reply all
Reply to author
Forward
0 new messages