Skip to content
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
57 changes: 57 additions & 0 deletions easybuild/easyconfigs/c/CDO/CDO-2.4.4-gompi-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# updated to version 2.0.6, based on the previous 2.0.5 version
# J. Sassmannshausen (Imperial College London, UK)
# Alex Domingo (Vrije Universiteit Brussel, BE)
# Maxim Masterov (SURF, NL)

easyblock = 'ConfigureMake'

name = 'CDO'
version = '2.4.4'


homepage = 'https://code.zmaw.de/projects/cdo'
description = """CDO is a collection of command line Operators to manipulate and analyse Climate and NWP model Data."""

toolchain = {'name': 'gompi', 'version': '2024a'}
toolchainopts = {'cstd': 'c++20', 'usempi': True}

source_urls = ['https://code.mpimet.mpg.de/attachments/download/29649/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['49f50bd18dacd585e9518cfd4f55548f692426edfb3b27ddcd1c653eab53d063']

builddependencies = [
('pkgconf', '2.2.0'),
]

dependencies = [
('cURL', '8.7.1'),
('ecCodes', '2.38.3'),
('FFTW', '3.3.10'),
('HDF5', '1.14.5'),
('libxml2', '2.12.7'),
('netCDF', '4.9.2'),
('PROJ', '9.4.1'),
('Szip', '2.1.1'),
('UDUNITS', '2.2.28'),
('util-linux', '2.40'),
]

# Build libcdi
configopts = "--enable-cdi-lib "

# Use dependencies from EasyBuild
configopts += "--with-curl=$EBROOTCURL --with-eccodes=$EBROOTECCODES --with-fftw3 --with-hdf5=$EBROOTHDF5 "
configopts += "--with-netcdf=$EBROOTNETCDF --with-proj=$EBROOTPROJ --with-szlib=$EBROOTSZIP "
configopts += "--with-udunits2=$EBROOTUDUNITS --with-util-linux-uuid=$EBROOTUTILMINLINUX "

# Make sure that right Fortran compiler is used, also on non-x86_64 architectures
configopts += 'CPPFLAGS="$CPPFLAGS -DgFortran" '

sanity_check_paths = {
'files': ['bin/cdo', 'lib/libcdi.a', 'lib/libcdi.%s' % SHLIB_EXT],
'dirs': ['include'],
}

sanity_check_commands = ["cdo --version 2>&1 | grep 'Climate Data Operators version %(version)s'"]

moduleclass = 'data'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/u/UDUNITS/UDUNITS-2.2.28-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2013 University of Luxembourg, Ghent University
# Authors:: Fotis Georgatos <fotis@cern.ch>, Kenneth Hoste (Ghent University)
# 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_2012-97.html
##

easyblock = 'ConfigureMake'

name = 'UDUNITS'
version = '2.2.28'

homepage = 'https://www.unidata.ucar.edu/software/udunits/'
description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = [
'https://artifacts.unidata.ucar.edu/repository/downloads-udunits/%(version)s/',
'https://sources.easybuild.io/u/UDUNITS/',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e']

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

dependencies = [('expat', '2.6.2')]

sanity_check_paths = {
'files': ['bin/udunits2', 'include/converter.h', 'include/udunits2.h', 'include/udunits.h',
'lib/libudunits2.a', 'lib/libudunits2.%s' % SHLIB_EXT],
'dirs': ['share'],
}

parallel = 1

moduleclass = 'phys'