dependency versions

23 views
Skip to first unread message

gyk...@gmail.com

unread,
Jan 18, 2024, 7:58:07 AMJan 18
to raxml
Dear Developers,

I am trying to install RAxML-NG v1.2.1 and did succeed using pre-compiled binaries. However, I have the obsessive compulsive feeling that it would work better had I built it from the source specifically on the cluster I am using. (Am I right?) But I can not, see the error message below.
I suspect there is some version incompatibility. What versions of GNU, Flex, GMP, GCC do you recommend? I have installed Flex v2.6.4, and added its bin folder to the PATH. That should be enough regarding Flex, right?

Best regards,
Gyozo


[mier2lv@vn01 build]$ cmake ..
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Cray Programming Environment 2.7.23 C
-- NOTE: LOADEDMODULES changed since initial config!
-- NOTE: this may cause unexpected build errors.
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /opt/cray/pe/craype/2.7.23/bin/cc
-- Check for working C compiler: /opt/cray/pe/craype/2.7.23/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/opt/cray/pe/craype/2.7.23/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_75dc7/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_75dc7.dir/build.make CMakeFiles/cmTC_75dc7.dir/build
    gmake[1]: Entering directory '/project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_75dc7.dir/testCCompiler.c.o
    /opt/cray/pe/craype/2.7.23/bin/cc   -I/opt/software/packages/gmp/6.2.1/include  -o CMakeFiles/cmTC_75dc7.dir/testCCompiler.c.o -c /project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_75dc7
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75dc7.dir/link.txt --verbose=1
    /opt/cray/pe/craype/2.7.23/bin/cc -I/opt/software/packages/gmp/6.2.1/include  -lgmp:-L/opt/software/packages/gmp/6.2.1/lib  -dynamic CMakeFiles/cmTC_75dc7.dir/testCCompiler.c.o -o cmTC_75dc7
    /opt/rh/gcc-toolset-11/root/usr/bin/ld: cannot find -lgmp:-L/opt/software/packages/gmp/6.2.1/lib
    collect2: error: ld returned 1 exit status
    gmake[1]: *** [CMakeFiles/cmTC_75dc7.dir/build.make:99: cmTC_75dc7] Error 1
    gmake[1]: Leaving directory '/project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_75dc7/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 "/project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeOutput.log".
See also "/project/pulykage/bin/raxml-ng/build/CMakeFiles/CMakeError.log".
[mier2lv@vn01 build]$

Oleksiy Kozlov

unread,
Jan 18, 2024, 8:45:33 AMJan 18
to ra...@googlegroups.com
Dear Gyozo,

> I am trying to install RAxML-NG v1.2.1 and did succeed using pre-compiled binaries. However, I have
> the obsessive compulsive feeling that it would work better had I built it from the source
> specifically on the cluster I am using. (Am I right?)

Not necessarily. If you are not using MPI, the pre-compiled raxml-ng binary should work reasonably
well / fast,

But I can not, see the error message below.
> I suspect there is some version incompatibility. What versions of GNU, Flex, GMP, GCC do you
> recommend? I have installed Flex v2.6.4, and added its bin folder to the PATH. That should be enough
> regarding Flex, right?

Seems like CMake detected the "wrong" C compiler, please see:

https://github.com/amkozlov/raxml-ng/wiki/Installation#troubleshooting


Hope this helps,
Oleksiy
> --
> You received this message because you are subscribed to the Google Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> raxml+un...@googlegroups.com <mailto:raxml+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/raxml/b25d57ff-fe0c-4a3c-8171-20a676d806b7n%40googlegroups.com
> <https://groups.google.com/d/msgid/raxml/b25d57ff-fe0c-4a3c-8171-20a676d806b7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages