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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 2013-2020 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 Frontistr(CMakePackage):
"""Open-Source Large-Scale Parallel FEM Program for
Nonlinear Structural Analysis"""
homepage = "https://www.frontistr.com/"
git = "https://gitlab.com/FrontISTR-Commons/FrontISTR.git"
maintainers = ['hiroshi.okuda', 'kgoto', 'morita', 'inagaki', 'michioga']
version('5.1', tag='v5.1')
version('5.0', tag='v5.0')
version('master', tag='master')
variant('build_type', default='RELEASE',
description='CMake build type',
values=('DEBUG', 'RELEASE'))
depends_on('mpi')
depends_on('blas')
depends_on('lapack')
depends_on('scalapack')
depends_on('revocap-refiner')
# depends_on('revocap-coupler')
depends_on('metis')
depends_on('mumps')
depends_on('trilinos')
def cmake_args(self):
define = CMakePackage.define
cmake_args = [
define('WITH_ML', True),
]
return cmake_args
|