summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bertini/package.py
blob: 3b9f9efd344ac8361f34c5f66d0e3c1db7af6149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Bertini(AutotoolsPackage):
    """Bertini is a general-purpose solver, written in C, that was created
    for research about polynomial continuation. It solves for the numerical
    solution of systems of polynomial equations using homotopy continuation."""

    homepage = "https://bertini.nd.edu/"
    url      = "https://bertini.nd.edu/BertiniSource_v1.5.tar.gz"

    version('1.5', 'e3f6cc6e7f9a0cf1d73185e8671af707')

    variant('mpi', default=True, description='Compile in parallel')

    depends_on('flex', type='build')
    depends_on('bison', type='build')
    depends_on('gmp')
    depends_on('mpfr')
    depends_on('mpi', when='+mpi')