Closed tardigradus closed 5 years ago
Thanks for the hint, just added it in the dev branch: https://github.com/amkozlov/raxml-ng/tree/dev
Please test if it works for you.
Are there any good workshop materials for RAXML-NG, I want to write a Chinese tutorial for it.
Using https://github.com/amkozlov/raxml-ng/archive/dev.zip
as the source target, I get the following error on the configure step:
-- Using flags: -std=c++11 -Wall -Wextra -D_RAXML_PTHREADS -pthread -D_RAXML_TERRAPHAST
-- Building dependencies in: /trinity/shared/easybuild/build/RAxMLNG/dev/foss-2018b-OpenMPI-3.1.3/easybuild_obj/localdeps
CMake Error at libs/CMakeLists.txt:7 (add_subdirectory):
The source directory
/trinity/shared/easybuild/build/RAxMLNG/dev/foss-2018b-OpenMPI-3.1.3/raxml-ng-dev/libs/pll-modules
does not contain a CMakeLists.txt file.
CMake Error at libs/CMakeLists.txt:12 (file):
file COPY cannot find
"/trinity/shared/easybuild/build/RAxMLNG/dev/foss-2018b-OpenMPI-3.1.3/raxml-ng-dev/libs/pll-modules/src/pllmod_common.h".
CMake Error at libs/CMakeLists.txt:49 (add_subdirectory):
The source directory
/trinity/shared/easybuild/build/RAxMLNG/dev/foss-2018b-OpenMPI-3.1.3/raxml-ng-dev/libs/terraphast
does not contain a CMakeLists.txt file.
This causes the configure step to fail.
@tardigradus : please use git clone --recursive
to get raxml-ng with all dependencies, as explained here:
https://github.com/amkozlov/raxml-ng/wiki/Installation#building-development-branch
There is something weird about the times of the comments. I see the the comment with the link to the dev branch and the one about the Chinese tutorial as being in the future:
amkozlov commented 5 hours from now
lixingguang commented 6 hours from now
and my comment (as well as this one, I suppose) appear before them :-/
could you please send me a English workshop of it, and can make it into Chinese.
@lixingguang : your're welcome, please have a look at these tutorials:
It works with a zip file of the recursively cloned git repo. Thanks.
@tardigradus thanks for the confirmation! Closing this issue then.
The file
src/CMakeLists.txt
doesn't contain an install target. While it would be generally useful if it did and this woudl, to my mind, good practice. More specifically, however, it would help those using automated build systems, such as EasyBuild. As it is, either the build recipe for RAxML-NG needs to add a patch forsrc/CMakeLists.txt
which just addsor a new generic build template has to be added which can deal with CMake setups whose install step is missing.
Thus, adding the build step to RAxML-NG seems to me the best option, in addition to being the one which requires the least effort.