Currently, we are working on a project that deals with the phylogeny of five different proteins within the same family. We tried using RAxML-ng for creating the maximum likelihood trees, however with the smallest datasets (about 500 – 2000 protein seq); RAxML-ng completed the runs within 2-3 weeks [using the number of cores suggested by the -parse command]. However, with the large datasets (between 5000 and 20000 protein seq) it was very slow. We attempted to get the RAxML-ng-MPI version running on our cluster, but we are facing some technical issues on installation.
Q1: Would RAxML-ng-MPI version speed up the runs?
Q2: I have not compiled MPI supported algorithms before. Any advice on how to solve the installation problem would be appreciated.
The following log may provide you with some background:
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ cmake --version
cmake version 3.21.0-rc3
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ which mpicxx
/opt/intel/impi/2019.3.199/intel64/bin/mpicxx
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ mkdir build && cd build
(base) [maglau@ln01 build]$ less ../INSTALL.txt
(base) [maglau@ln01 build]$ cmake ..
CMake Error at /usr/bin/cmake-3.21.0-rc3-linux-x86_64/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:181 (file):
 file attempted to write a file:
 /home/maglau/tools/raxml-ng-MPI_v1.0.2/CMakeFiles/CMakeOutput.log into a
 source directory.
 Call Stack (most recent call first):
 CMakeLists.txt:47 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
another try
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ CXX=/opt/intel/impi/2019.3.199/intel64/bin/mpicxx cmake .
CMake Error at /usr/bin/cmake-3.21.0-rc3-linux-x86_64/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:181 (file):
 file attempted to write a file:
 /home/maglau/tools/raxml-ng-MPI_v1.0.2/CMakeFiles/CMakeOutput.log into a
 source directory.
 Call Stack (most recent call first):
 CMakeLists.txt:47 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
another try
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ module load GCC-7.3.0Â
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ which gcc
/opt/software/gcc-7.3.0/bin/gcc
(base) [maglau@ln01 raxml-ng-MPI_v1.0.2]$ mkdir build && cd build
(base) [maglau@ln01 build]$ cmake -DUSE_MPI=ON ..
CMake Error at /usr/bin/cmake-3.21.0-rc3-linux-x86_64/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:181 (file):
 file attempted to write a file:
 /home/maglau/tools/raxml-ng-MPI_v1.0.2/CMakeFiles/CMakeOutput.log into a
 source directory.
 Call Stack (most recent call first):
 CMakeLists.txt:47 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
$ curl -O https://github.com/amkozlov/raxml-ng/releases/download/1.0.3/raxml-ng_v1.0.3_linux_x86_64_MPI.zip
 % Total  % Received % Xferd Average Speed  Time  Time   Time Current
                 Dload Upload  Total  Spent  Left Speed
100 Â 642Â 100 Â 642Â Â 0 Â Â 0 Â 1158Â Â Â 0 --:--:-- --:--:-- --:--:--Â 1156
$ unzip raxml-ng_v1.0.3_linux_x86_64_MPI.zipÂ
Archive:Â raxml-ng_v1.0.3_linux_x86_64_MPI.zip
 End-of-central-directory signature not found. Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive. In the
 latter case the central directory and zipfile comment will be found on
 the last disk(s) of this archive.
unzip:Â cannot find zipfile directory in one of raxml-ng_v1.0.3_linux_x86_64_MPI.zip or
    raxml-ng_v1.0.3_linux_x86_64_MPI.zip.zip, and cannot find raxml-ng_v1.0.3_linux_x86_64_MPI.zip.ZIP, period.
[maglau@ln01 build]$ cmake -DUSE_MPI=ON ..
-- Compiler: GNU 4.8.5 => /usr/bin/c++
CMake Error at CMakeLists.txt:69 (message):
 GNU compiler too old! Minimum required: 5.4
-- Configuring incomplete, errors occurred!
See also "/home/maglau/tools/raxml-ng-MPI_v1.0.2/build/CMakeFiles/CMakeOutput.log".
[maglau@ln01 build]$ which cmake
/usr/bin/cmake
[maglau@ln01 build]$ which gcc
/opt/software/gcc-7.3.0/bin/gcc
[maglau@ln01 raxml-ng-v1.0.3]$ cmake --version
cmake version 3.21.0-rc3
Should I use Intel MPI?
CXX=/opt/software/gcc-7.3.0/bin/gcc /home/maglau/tools/cmake-3.20.6-linux-x86_64/bin/cmake3.20.6 ..
OR
CXX=/opt/software/gcc-7.3.0/bin/gcc cmake .. (cmake version 3.21.0)
OR
OR
CXX=/opt/intel/impi/2019.3.199/intel64/bin/mpicxx /home/maglau/tools/cmake-3.20.6-linux-x86_64/bin/cmake3.20.6 ..
The above gave the following error:
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /opt/software/gcc-7.3.0/bin/gcc
-- Check for working CXX compiler: /opt/software/gcc-7.3.0/bin/gcc - broken
CMake Error at /usr/bin/cmake-3.21.0-rc3-linux-x86_64/share/cmake-3.21/Modules/CMakeTestCXXCompiler.cmake:59 (message):
 The C++ compiler
  "/opt/software/gcc-7.3.0/bin/gcc"
 is not able to compile a simple test program.
 It fails with the following output:
  Change Dir: /home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeTmp
  Â
  Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_12548/fast && /usr/bin/gmake -f CMakeFiles/cmTC_12548.dir/build.make CMakeFiles/cmTC_12548.dir/build
  gmake[1]: Entering directory '/home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeTmp'
  Building CXX object CMakeFiles/cmTC_12548.dir/testCXXCompiler.cxx.o
  /opt/software/gcc-7.3.0/bin/gcc  -o CMakeFiles/cmTC_12548.dir/testCXXCompiler.cxx.o -c /home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
  /opt/software/gcc-7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
  gmake[1]: *** [CMakeFiles/cmTC_12548.dir/build.make:78: CMakeFiles/cmTC_12548.dir/testCXXCompiler.cxx.o] Error 1
  gmake[1]: Leaving directory '/home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeTmp'
  gmake: *** [Makefile:127: cmTC_12548/fast] Error 2
  Â
  Â
 Â
 CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
 CMakeLists.txt:47 (project)
-- Configuring incomplete, errors occurred!
See also "/home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeOutput.log".
See also "/home/maglau/tools/raxml-ng-v1.0.3_MPI/build/CMakeFiles/CMakeError.log".
p.s. I approached the HPC engineer, but they were not able to offer help.

mpirun -np 4 raxml-ng-mpi --all --msa ../proline_parse.raxml.rba --prefix proline_4N4n128c --model LG+I+G -seed 44128 --bs-trees autoMRE --thread 128 --force perf_threads
parallelization: coarse-grained (auto), hybrid MPI+PTHREADS (4 ranks x 128 threads), thread pinning: ON
Parallelization scheme autoconfig: 64 worker(s) x 8 thread(s)
Starting ML tree search with 20 distinct starting trees
[05:26:55] [worker #2] ML tree search #19, logLikelihood: -332859.189348
[05:47:46] [worker #7] ML tree search #8, logLikelihood: -332863.865625
[07:02:22] [worker #14] ML tree search #15, logLikelihood: -332814.853938
[07:03:58] [worker #5] ML tree search #6, logLikelihood: -332778.467893
[07:10:45] [worker #8] ML tree search #9, logLikelihood: -332821.908123
[07:22:29] [worker #3] ML tree search #20, logLikelihood: -332847.515380
[07:30:49] [worker #6] ML tree search #7, logLikelihood: -332855.810962
[08:07:21] [worker #13] ML tree search #14, logLikelihood: -332786.696103
[08:10:00] [worker #9] ML tree search #10, logLikelihood: -332828.563535
[08:15:14] [worker #12] ML tree search #13, logLikelihood: -332829.157385
[08:40:41] [worker #10] ML tree search #11, logLikelihood: -332799.770461
[09:41:32] [worker #0] ML tree search #17, logLikelihood: -332797.135762
[09:52:28] [worker #15] ML tree search #16, logLikelihood: -332834.367563
[09:53:59] [worker #4] ML tree search #5, logLikelihood: -332790.057741
[10:06:41] [worker #1] ML tree search #18, logLikelihood: -332747.893445
[10:14:16] [worker #11] ML tree search #12, logLikelihood: -332810.441574
[10:14:29] [worker #2] ML tree search #3, logLikelihood: -332824.392888
[11:44:27] [worker #3] ML tree search #4, logLikelihood: -332797.503232
[15:56:10] [worker #1] ML tree search #2, logLikelihood: -332840.569166
[18:43:34] [worker #0] ML tree search #1, logLikelihood: -332823.646906
Part of the standard out file (B)Â
[04:10:32] [worker #18] ML tree search #19, logLikelihood: -332859.189348
[04:10:52] [worker #34] ML tree search #19, logLikelihood: -332859.189348
[04:16:24] [worker #50] ML tree search #19, logLikelihood: -332859.189348
[05:26:55] [worker #2] ML tree search #19, logLikelihood: -332859.189348
[05:45:08] [worker #35] ML tree search #20, logLikelihood: -332847.515380
[05:46:20] [worker #19] ML tree search #20, logLikelihood: -332847.515380
[05:47:46] [worker #7] ML tree search #8, logLikelihood: -332863.865625
[05:51:07] [worker #51] ML tree search #20, logLikelihood: -332847.515380
[07:02:22] [worker #14] ML tree search #15, logLikelihood: -332814.853938
[07:03:58] [worker #5] ML tree search #6, logLikelihood: -332778.467893
[07:10:45] [worker #8] ML tree search #9, logLikelihood: -332821.908123
[07:13:45] [worker #16] ML tree search #17, logLikelihood: -332797.135762
[07:16:28] [worker #32] ML tree search #17, logLikelihood: -332797.135762
[07:22:29] [worker #3] ML tree search #20, logLikelihood: -332847.515380
[07:23:15] [worker #48] ML tree search #17, logLikelihood: -332797.135762
[07:30:49] [worker #6] ML tree search #7, logLikelihood: -332855.810962
[08:07:12] [worker #17] ML tree search #18, logLikelihood: -332747.893445
[08:07:21] [worker #13] ML tree search #14, logLikelihood: -332786.696103
[08:09:02] [worker #33] ML tree search #18, logLikelihood: -332747.893445
[08:10:00] [worker #9] ML tree search #10, logLikelihood: -332828.563535
[08:15:14] [worker #12] ML tree search #13, logLikelihood: -332829.157385
[08:19:08] [worker #49] ML tree search #18, logLikelihood: -332747.893445
[08:40:41] [worker #10] ML tree search #11, logLikelihood: -332799.770461
[09:41:32] [worker #0] ML tree search #17, logLikelihood: -332797.135762
[09:52:28] [worker #15] ML tree search #16, logLikelihood: -332834.367563
[09:53:59] [worker #4] ML tree search #5, logLikelihood: -332790.057741
[10:06:41] [worker #1] ML tree search #18, logLikelihood: -332747.893445
[10:14:16] [worker #11] ML tree search #12, logLikelihood: -332810.441574
[10:14:29] [worker #2] ML tree search #3, logLikelihood: -332824.392888
[11:44:27] [worker #3] ML tree search #4, logLikelihood: -332797.503232
[15:56:10] [worker #1] ML tree search #2, logLikelihood: -332840.569166
[18:43:34] [worker #0] ML tree search #1, logLikelihood: -332823.646906
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 189880 on node j1107 exited on signal 6 (Aborted).
--------------------------------------------------------------------------
To unsubscribe from this group and stop receiving emails from it, send an email to raxml+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/raxml/92cff033-5881-4aa9-8dfc-cfd1c9e60d61n%40googlegroups.com.