Skip to content
Snippets Groups Projects
Commit 74b541e8 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

Merge branch 'netCDF-2023-parallel' into '2023'

Net cdf 2023 parallel

See merge request software-team/easybuild!1682
parents 4850bf47 fbe6780c
Branches
No related tags found
No related merge requests found
name = 'netCDF' name = 'netCDF'
version = '4.9.0' version = '4.9.0'
homepage = 'https://www.unidata.ucar.edu/software/netcdf/' homepage = 'http://www.unidata.ucar.edu/software/netcdf/'
description = """NetCDF (network Common Data Form) is a set of software libraries 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 and machine-independent data formats that support the creation, access, and sharing of array-oriented
scientific data.""" scientific data.
"""
toolchain = {'name': 'gompi', 'version': '2022a'} toolchain = {'name': 'gompi', 'version': '2022a'}
toolchainopts = {'pic': True, 'usempi': True} toolchainopts = {'pic': True, 'usempi': True}
source_urls = ['https://github.com/Unidata/netcdf-c/archive/'] source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
sources = ['v%(version)s.tar.gz'] sources = ['v%s.tar.gz' % (version)]
patches = [ patches = [
'netCDF-%(version)s_fix-lib-name.patch', 'netCDF-%(version)s_fix-lib-name.patch',
'netCDF-%(version)s_fix-linking-errors.patch', 'netCDF-%(version)s_fix-linking-errors.patch',
...@@ -18,9 +19,12 @@ patches = [ ...@@ -18,9 +19,12 @@ patches = [
] ]
checksums = [ checksums = [
'9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch # netCDF-4.9.0_fix-lib-name.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a',
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch # netCDF-4.9.0_fix-linking-errors.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15',
# netCDF-4.9.0_skip-nasa-test.patch
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a',
] ]
builddependencies = [ builddependencies = [
...@@ -36,18 +40,23 @@ dependencies = [ ...@@ -36,18 +40,23 @@ dependencies = [
('zstd', '1.5.2'), ('zstd', '1.5.2'),
('bzip2', '1.0.8'), ('bzip2', '1.0.8'),
('libxml2', '2.9.13'), ('libxml2', '2.9.13'),
('PnetCDF', '1.12.3'),
] ]
# make sure both static and shared libs are built # make sure both static and shared libs are built
# enable PnetCDF
# and disable "remote" tests that access a unreliable external test server over internet # and disable "remote" tests that access a unreliable external test server over internet
configopts = [ configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF", "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DMPIEXEC='/usr/bin/srun'",
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON", "-DENABLE_PNETCDF=ON -DBUILD_SHARED_LIBS=ON -DMPIEXEC='/usr/bin/srun'",
] ]
# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests # some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 " # pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "
runtest = 'test' # switch off tests to build with PnetCDF, as cmake configuration for pnetcdf-based tests contains bugs
# will be fixed in 4.9.1
# https://github.com/Unidata/netcdf-c/pull/2437
# runtest = 'test'
moduleclass = 'data' moduleclass = 'data'
...@@ -18,9 +18,12 @@ patches = [ ...@@ -18,9 +18,12 @@ patches = [
] ]
checksums = [ checksums = [
'9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch # netCDF-4.9.0_fix-lib-name.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a',
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch # netCDF-4.9.0_fix-linking-errors.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15',
# netCDF-4.9.0_skip-nasa-test.patch
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a',
] ]
builddependencies = [ builddependencies = [
...@@ -36,18 +39,23 @@ dependencies = [ ...@@ -36,18 +39,23 @@ dependencies = [
('zstd', '1.5.2'), ('zstd', '1.5.2'),
('bzip2', '1.0.8'), ('bzip2', '1.0.8'),
('libxml2', '2.9.13'), ('libxml2', '2.9.13'),
('PnetCDF', '1.12.3'),
] ]
# make sure both static and shared libs are built # make sure both static and shared libs are built
# enable PnetCDF
# and disable "remote" tests that access a unreliable external test server over internet # and disable "remote" tests that access a unreliable external test server over internet
configopts = [ configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF", "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DMPIEXEC='/usr/bin/srun'",
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON", "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON -DMPIEXEC='/usr/bin/srun'",
] ]
# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests # some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 " # pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "
runtest = 'test' # switch off tests to build with PnetCDF, as cmake configuration for pnetcdf-based tests contains bugs
# will be fixed in 4.9.1
# https://github.com/Unidata/netcdf-c/pull/2437
# runtest = 'test'
moduleclass = 'data' moduleclass = 'data'
...@@ -18,9 +18,12 @@ patches = [ ...@@ -18,9 +18,12 @@ patches = [
] ]
checksums = [ checksums = [
'9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6', # v4.9.0.tar.gz
'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a', # netCDF-4.9.0_fix-lib-name.patch # netCDF-4.9.0_fix-lib-name.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15', # netCDF-4.9.0_fix-linking-errors.patch 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a',
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a', # netCDF-4.9.0_skip-nasa-test.patch # netCDF-4.9.0_fix-linking-errors.patch
'2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15',
# netCDF-4.9.0_skip-nasa-test.patch
'19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a',
] ]
builddependencies = [ builddependencies = [
...@@ -36,18 +39,23 @@ dependencies = [ ...@@ -36,18 +39,23 @@ dependencies = [
('zstd', '1.5.2'), ('zstd', '1.5.2'),
('bzip2', '1.0.8'), ('bzip2', '1.0.8'),
('libxml2', '2.9.13'), ('libxml2', '2.9.13'),
('PnetCDF', '1.12.3'),
] ]
# make sure both static and shared libs are built # make sure both static and shared libs are built
# enable PnetCDF
# and disable "remote" tests that access a unreliable external test server over internet # and disable "remote" tests that access a unreliable external test server over internet
configopts = [ configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF", "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DMPIEXEC='/usr/bin/srun'",
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON", "-DENABLE_PNETCDF=ON -DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON -DMPIEXEC='/usr/bin/srun'",
] ]
# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests # some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 " # pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "
runtest = 'test' # switch off tests to build with PnetCDF, as cmake configuration for pnetcdf-based tests contains bugs
# will be fixed in 4.9.1
# https://github.com/Unidata/netcdf-c/pull/2437
# runtest = 'test'
moduleclass = 'data' moduleclass = 'data'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment