Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{geo}[foss/2022b] WRF v4.4.1, netCDF-Fortran 4.6.0, tcsh v6.24.05, time v1.9 #16835

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = 'netCDF-Fortran'
version = '4.6.0'

homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
description = """NetCDF (network Common Data Form) is a set of software libraries
and machine-independent data formats that support the creation, access, and sharing of array-oriented
scientific data."""

toolchain = {'name': 'gompi', 'version': '2022b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://github.com/Unidata/netcdf-fortran/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['8194aa70e400c0adfc456127c1d97af2c6489207171d13b10cd754a16da8b0ca']

builddependencies = [
('M4', '1.4.19'),
]

dependencies = [
('netCDF', '4.9.0'),
('bzip2', '1.0.8'),
]

# (too) parallel build fails, but single-core build is fairly quick anyway (~1min)
parallel = 1

moduleclass = 'data'
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/t/tcsh/tcsh-6.24.07-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2013 University of Luxembourg/Computer Science and Communications Research Unit
# Authors:: Valentin Plugaru <valentin.plugaru@gmail.com>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_05-06.html
##
easyblock = 'ConfigureMake'

name = 'tcsh'
version = '6.24.07'

homepage = 'https://www.tcsh.org'
description = """Tcsh is an enhanced, but completely compatible version of the Berkeley UNIX C shell (csh).
It is a command language interpreter usable both as an interactive login shell and a shell script command
processor. It includes a command-line editor, programmable word completion, spelling correction, a history
mechanism, job control and a C-like syntax."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

source_urls = [
'https://astron.com/pub/%(namelower)s',
'https://astron.com/pub/%(namelower)s/old',
'ftp://ftp.astron.com/pub/%(namelower)s',
'ftp://ftp.astron.com/pub/%(namelower)s/old',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['74e4e9805cbd9413ed34b4ffa1d72fc8d0ef81a5b79476854091416ce9336995']

builddependencies = [('binutils', '2.39')]

dependencies = [('ncurses', '6.3')]

postinstallcmds = ["ln -s tcsh %(installdir)s/bin/csh"]

sanity_check_paths = {
'files': ["bin/tcsh", "bin/csh"],
'dirs': []
}

moduleclass = 'tools'
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/t/time/time-1.9-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'

name = 'time'
version = '1.9'

homepage = 'https://www.gnu.org/software/time/'
description = """The `time' command runs another program, then displays information about the resources used by that
program, collected by the system while the program was running."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e']

builddependencies = [('binutils', '2.39')]

postinstallcmds = ["ln -s %(installdir)s/bin/%(name)s %(installdir)s/bin/gtime"]

sanity_check_paths = {
'files': ['bin/gtime', 'bin/%(name)s'],
'dirs': [],
}

sanity_check_commands = ["time echo test"]

moduleclass = 'tools'
51 changes: 51 additions & 0 deletions easybuild/easyconfigs/w/WRF/WRF-4.4.1-foss-2022b-dmpar.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name = 'WRF'
version = '4.4.1'
buildtype = 'dmpar'
versionsuffix = '-%s' % buildtype

homepage = 'https://www.wrf-model.org'
description = """The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale
numerical weather prediction system designed to serve both operational forecasting and atmospheric
research needs."""

toolchain = {'name': 'foss', 'version': '2022b'}
toolchainopts = {'opt': False} # don't use agressive optimization, stick to -O2

source_urls = ['https://github.com/wrf-model/WRF/archive/']
# sources = ['v%(version)s.tar.gz']
sources = [{
'filename': 'v%(version)s.tar.gz',
'git_config': {
'url': 'https://github.com/wrf-model',
'repo_name': 'WRF',
'tag': 'v%(version)s',
'clone_into': 'WRF-%(version)s',
'recursive': True,
},
}]
patches = [
'WRF-4.4_netCDF-Fortran_separate_path.patch',
]
checksums = [
None, # v4.4.1.tar.gz
'0e37c8a7bb4d25947083bdb6d0f2a9f4fdb825c88f6cb10c59b7580fe3d129ff', # WRF-4.4_netCDF-Fortran_separate_path.patch
]

# csh is used by WRF install scripts
builddependencies = [
('Autotools', '20220317'),
('tcsh', '6.24.07'),
('time', '1.9'),
('Perl', '5.36.0'),
]

dependencies = [
('JasPer', '4.0.0'),
('netCDF', '4.9.0'),
('netCDF-Fortran', '4.6.0'),
]

# limit parallel build to 20
maxparallel = 20

moduleclass = 'geo'