From a97ce63218dcebb3d257cb18d0dc9801528db449 Mon Sep 17 00:00:00 2001 From: h-denpo <57649496+h-denpo@users.noreply.github.com> Date: Sun, 17 May 2020 06:06:25 +0900 Subject: New package frontistr (#16660) """Open-Source Large-Scale Parallel FEM Program for Nonlinear Structural Analysis""" --- .../repos/builtin/packages/frontistr/package.py | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 var/spack/repos/builtin/packages/frontistr/package.py diff --git a/var/spack/repos/builtin/packages/frontistr/package.py b/var/spack/repos/builtin/packages/frontistr/package.py new file mode 100644 index 0000000000..0a0cf7d628 --- /dev/null +++ b/var/spack/repos/builtin/packages/frontistr/package.py @@ -0,0 +1,33 @@ +# 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://github.com/FrontISTR/FrontISTR" + git = "https://github.com/FrontISTR/FrontISTR.git" + + version('5.0', tag='v5.0') + + depends_on('mpi') + depends_on('revocap-refiner') + depends_on('revocap-coupler') + depends_on('blas') + depends_on('metis') + depends_on('scalapack') + depends_on('mumps +mpi') + depends_on('trilinos') + + def cmake_args(self): + define = CMakePackage.define + cmake_args = [ + define('WITH_ML', True), + ] + return cmake_args -- cgit v1.2.3-70-g09d2