gchp: add v13.0.0 (#22387)
This commit is contained in:
parent
b8815e577b
commit
ab6c543948
@ -11,21 +11,24 @@ class Gchp(CMakePackage):
|
|||||||
"""GEOS-Chem High Performance model of atmospheric chemistry"""
|
"""GEOS-Chem High Performance model of atmospheric chemistry"""
|
||||||
|
|
||||||
homepage = "https://gchp.readthedocs.io/"
|
homepage = "https://gchp.readthedocs.io/"
|
||||||
url = "https://github.com/geoschem/GCHP/archive/13.0.0-rc.0.tar.gz"
|
url = "https://github.com/geoschem/GCHP/archive/13.0.0.tar.gz"
|
||||||
|
|
||||||
maintainers = ['williamdowns']
|
maintainers = ['williamdowns']
|
||||||
|
|
||||||
|
version('13.0.0', git='https://github.com/geoschem/GCHP.git', preferred=True,
|
||||||
|
commit='1f5a5c5630c5d066ff8306cbb8b83e267ca7c265', submodules=True)
|
||||||
version('13.0.0-rc.0', git='https://github.com/geoschem/GCHP.git',
|
version('13.0.0-rc.0', git='https://github.com/geoschem/GCHP.git',
|
||||||
commit='4bd15316faf4e5f06517d3a6b1df1986b1126d90', submodules=True)
|
commit='4bd15316faf4e5f06517d3a6b1df1986b1126d90', submodules=True)
|
||||||
|
|
||||||
patch('for_aarch64.patch', when='target=aarch64:')
|
patch('for_aarch64.patch', when='target=aarch64:')
|
||||||
|
|
||||||
# NOTE: Post-13.0.0-rc.0 versions will have fix that
|
depends_on('esmf@8.0.1', when='@13.0.0:')
|
||||||
# allows these ESMF variants to be enabled
|
depends_on('esmf@8.0.1: -lapack -pio -pnetcdf -xerces', when='@13.0.0-rc.0')
|
||||||
depends_on('esmf@8.0.1: -lapack -pio -pnetcdf -xerces')
|
|
||||||
depends_on('mpi@3')
|
depends_on('mpi@3')
|
||||||
depends_on('netcdf-fortran')
|
depends_on('netcdf-fortran')
|
||||||
depends_on('cmake@3.13:')
|
depends_on('cmake@3.13:')
|
||||||
|
depends_on('libfabric', when='+ofi')
|
||||||
|
depends_on('m4')
|
||||||
|
|
||||||
variant('omp', default=False, description="OpenMP parallelization")
|
variant('omp', default=False, description="OpenMP parallelization")
|
||||||
variant('real8', default=True, description="REAL*8 precision")
|
variant('real8', default=True, description="REAL*8 precision")
|
||||||
@ -33,6 +36,7 @@ class Gchp(CMakePackage):
|
|||||||
variant('rrtmg', default=False, description="RRTMG radiative transfer model")
|
variant('rrtmg', default=False, description="RRTMG radiative transfer model")
|
||||||
variant('luo', default=False, description="Luo et al 2019 wet deposition scheme")
|
variant('luo', default=False, description="Luo et al 2019 wet deposition scheme")
|
||||||
variant('tomas', default=False, description="TOMAS Microphysics (Experimental)")
|
variant('tomas', default=False, description="TOMAS Microphysics (Experimental)")
|
||||||
|
variant('ofi', default=False, description="Build with Libfabric support")
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = [self.define("RUNDIR", self.prefix),
|
args = [self.define("RUNDIR", self.prefix),
|
||||||
|
Loading…
Reference in New Issue
Block a user