Skip to content

Commit

Permalink
New package (spack#16519)
Browse files Browse the repository at this point in the history
Large Scale Assembly, Structural Correspondence,
       Multi Dynamics Simulator.In this program,
       a part of functions of ADVENTURE_Solid ver.1.1 module
  • Loading branch information
h-denpo authored May 8, 2020
1 parent 652e179 commit fae5555
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions var/spack/repos/builtin/packages/revocap-coupler/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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)

import os
from spack import *


class RevocapCoupler(AutotoolsPackage):
"""Large Scale Assembly, Structural Correspondence,
Multi Dynamics Simulator.In this program,
a part of functions of ADVENTURE_Solid ver.1.1 module"""

homepage = "http://www.ciss.iis.u-tokyo.ac.jp/dl/index.php"
url = "file://{0}/REVOCAP_Coupler-2.1.tar.gz".format(os.getcwd())
version('2.1', sha256='9e7612d5c508ccdce23bff9ccbf62aeb635877bc2276cdc05c109de40f609f49')

depends_on('mpi')

def configure_args(self):
spec = self.spec
args = ['--with-mpicc=%s' % spec['mpi'].mpicc,
'--with-fortran=%s' % spec['mpi'].mpif77,
'--with-mpif90=%s' % spec['mpi'].mpifc]
return args

0 comments on commit fae5555

Please sign in to comment.