File RAxML-NG-MPI.spec of Package RAxML-NG-MPI
#
# spec file for package RAxML-NG-MPI
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: RAxML-NG-MPI
Version: 1.2.2
Release: 0
Summary: Phylogenetic tree inference tool which uses ML optimality criterion, with MPI
License: AGPL-3.0-or-later
Group: Productivity/Scientific/Other
URL: https://github.com/amkozlov/raxml-ng/wiki
Source: https://github.com/amkozlov/raxml-ng/releases/download/%{version}/raxml-ng_v%{version}_linux_x86_64_MPI.zip#/raxml-ng_v%{version}_linux_x86_64_MPI.zip
BuildRequires: chrpath
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: openmpi-macros-devel
BuildRequires: unzip
%description
RAxML-NG is a phylogenetic tree inference tool which uses maximum-likelihood (ML) optimality criterion. This package contains version with MPI support. Package RAxML-NG contains version without MPI support. Its search heuristic is based on iteratively performing a series of Subtree Pruning and Regrafting (SPR) moves, which allows to quickly navigate to the best-known ML tree. RAxML-NG is a successor of RAxML (Stamatakis 2014) and leverages the highly optimized likelihood computation implemented in libpll (Flouri et al. 2014).
RAxML-NG offers improvements in speed, flexibility and user-friendliness over the previous RAxML versions. It also implements some of the features previously available in ExaML (Kozlov et al. 2015), including checkpointing and efficient load balancing for partitioned alignments (Kobert et al. 2014).
%prep
%setup -q -c
%build
%{setup_openmpi}
%cmake -DUSE_MPI=ON
%cmake_build
%install
install -d -p %{buildroot}%{_bindir}
install -D -m 0755 bin/* %{buildroot}%{_bindir}
# Remove RPATH from binaries
chrpath --delete %{buildroot}%{_bindir}/raxml-ng-mpi
%check
%{setup_openmpi}
%ctest
%files
%license LICENSE.txt
%doc data/*
%{_bindir}/*
%changelog