-
Notifications
You must be signed in to change notification settings - Fork 793
enable support for PIO in ESMF v8.9.0 #26663
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
Open
lexming
wants to merge
4
commits into
easybuilders:develop
Choose a base branch
from
lexming:20260814153152_new_pr_ParallelIO270
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
284e813
enable support for PIO in ESMF v8.9.0
lexming c5cdd03
adding easyconfigs: ESMF-8.9.0-intel-2025a.eb, ESMF-8.9.0-foss-2025b.…
lexming 28758b0
remove unnecessary buildopts on ESMF-8.9.0-intel-2025b.eb
lexming c2681d2
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
lexming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/p/ParallelIO/ParallelIO-2.7.0-gompi-2025a.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| easyblock = 'CMakeMake' | ||
|
|
||
| name = 'ParallelIO' | ||
| version = '2.7.0' | ||
|
|
||
| homepage = 'https://github.com/NCAR/ParallelIO' | ||
| description = """A high-level Parallel I/O Library for structured grid applications""" | ||
|
|
||
| toolchain = {'name': 'gompi', 'version': '2025a'} | ||
| toolchainopts = {'usempi': True} | ||
|
|
||
| source_urls = ['https://github.com/NCAR/ParallelIO/archive/'] | ||
| sources = ['pio%s.tar.gz' % '_'.join(version.split('.'))] | ||
| patches = ['ParallelIO-2.7.0_fix-pnetcdf-linking.patch'] | ||
| checksums = [ | ||
| {'pio2_7_0.tar.gz': 'cce83743156ae723e7890931c2b48dcfe7ea8a276962dc4429f839d8f58d4a5a'}, | ||
| {'ParallelIO-2.7.0_fix-pnetcdf-linking.patch': '6091baf7ac2b6831468200c7f60fa696a110a34de6062965fa4973baf7a0c8a2'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.31.3'), | ||
| ('pkgconf', '2.3.0'), | ||
| ('Doxygen', '1.14.0'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('netCDF', '4.9.3'), | ||
| ('netCDF-Fortran', '4.6.2'), | ||
| ('PnetCDF', '1.14.0'), | ||
| ] | ||
|
|
||
| configopts = "-DPIO_ENABLE_TIMING=OFF " | ||
| configopts += "-DNETCDF_DIR=$EBROOTNETCDF -DPNETCDF_DIR=$EBROOTPNETCDF " | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/libpiof.a', 'include/pio.mod'], | ||
| 'dirs': [], | ||
| } | ||
|
|
||
| modextravars = { | ||
| 'PIO': '%(installdir)s' | ||
| } | ||
|
|
||
| moduleclass = 'data' |
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/p/ParallelIO/ParallelIO-2.7.0-gompi-2025b.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| easyblock = 'CMakeMake' | ||
|
|
||
| name = 'ParallelIO' | ||
| version = '2.7.0' | ||
|
|
||
| homepage = 'https://github.com/NCAR/ParallelIO' | ||
| description = """A high-level Parallel I/O Library for structured grid applications""" | ||
|
|
||
| toolchain = {'name': 'gompi', 'version': '2025b'} | ||
| toolchainopts = {'usempi': True} | ||
|
|
||
| source_urls = ['https://github.com/NCAR/ParallelIO/archive/'] | ||
| sources = ['pio%s.tar.gz' % '_'.join(version.split('.'))] | ||
| patches = ['ParallelIO-2.7.0_fix-pnetcdf-linking.patch'] | ||
| checksums = [ | ||
| {'pio2_7_0.tar.gz': 'cce83743156ae723e7890931c2b48dcfe7ea8a276962dc4429f839d8f58d4a5a'}, | ||
| {'ParallelIO-2.7.0_fix-pnetcdf-linking.patch': '6091baf7ac2b6831468200c7f60fa696a110a34de6062965fa4973baf7a0c8a2'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '4.0.3'), | ||
| ('pkgconf', '2.4.3'), | ||
| ('Doxygen', '1.14.0'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('netCDF', '4.9.3'), | ||
| ('netCDF-Fortran', '4.6.2'), | ||
| ('PnetCDF', '1.14.1'), | ||
| ] | ||
|
|
||
| configopts = "-DPIO_ENABLE_TIMING=OFF " | ||
| configopts += "-DNETCDF_DIR=$EBROOTNETCDF -DPNETCDF_DIR=$EBROOTPNETCDF " | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/libpiof.a', 'include/pio.mod'], | ||
| 'dirs': [], | ||
| } | ||
|
|
||
| modextravars = { | ||
| 'PIO': '%(installdir)s' | ||
| } | ||
|
|
||
| moduleclass = 'data' |
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/p/ParallelIO/ParallelIO-2.7.0-iimpi-2025a.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| easyblock = 'CMakeMake' | ||
|
|
||
| name = 'ParallelIO' | ||
| version = '2.7.0' | ||
|
|
||
| homepage = 'https://github.com/NCAR/ParallelIO' | ||
| description = """A high-level Parallel I/O Library for structured grid applications""" | ||
|
|
||
| toolchain = {'name': 'iimpi', 'version': '2025a'} | ||
| toolchainopts = {'usempi': True} | ||
|
|
||
| source_urls = ['https://github.com/NCAR/ParallelIO/archive/'] | ||
| sources = ['pio%s.tar.gz' % '_'.join(version.split('.'))] | ||
| patches = ['ParallelIO-2.7.0_fix-pnetcdf-linking.patch'] | ||
| checksums = [ | ||
| {'pio2_7_0.tar.gz': 'cce83743156ae723e7890931c2b48dcfe7ea8a276962dc4429f839d8f58d4a5a'}, | ||
| {'ParallelIO-2.7.0_fix-pnetcdf-linking.patch': '6091baf7ac2b6831468200c7f60fa696a110a34de6062965fa4973baf7a0c8a2'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.31.3'), | ||
| ('pkgconf', '2.3.0'), | ||
| ('Doxygen', '1.14.0'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('netCDF', '4.9.3'), | ||
| ('netCDF-Fortran', '4.6.2'), | ||
| ('PnetCDF', '1.14.0'), | ||
| ] | ||
|
|
||
| configopts = "-DPIO_ENABLE_TIMING=OFF " | ||
| configopts += "-DNETCDF_DIR=$EBROOTNETCDF -DPNETCDF_DIR=$EBROOTPNETCDF " | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/libpiof.a', 'include/pio.mod'], | ||
| 'dirs': [], | ||
| } | ||
|
|
||
| modextravars = { | ||
| 'PIO': '%(installdir)s' | ||
| } | ||
|
|
||
| moduleclass = 'data' |
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/p/ParallelIO/ParallelIO-2.7.0-iimpi-2025b.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| easyblock = 'CMakeMake' | ||
|
|
||
| name = 'ParallelIO' | ||
| version = '2.7.0' | ||
|
|
||
| homepage = 'https://github.com/NCAR/ParallelIO' | ||
| description = """A high-level Parallel I/O Library for structured grid applications""" | ||
|
|
||
| toolchain = {'name': 'iimpi', 'version': '2025b'} | ||
| toolchainopts = {'usempi': True} | ||
|
|
||
| source_urls = ['https://github.com/NCAR/ParallelIO/archive/'] | ||
| sources = ['pio%s.tar.gz' % '_'.join(version.split('.'))] | ||
| patches = ['ParallelIO-2.7.0_fix-pnetcdf-linking.patch'] | ||
| checksums = [ | ||
| {'pio2_7_0.tar.gz': 'cce83743156ae723e7890931c2b48dcfe7ea8a276962dc4429f839d8f58d4a5a'}, | ||
| {'ParallelIO-2.7.0_fix-pnetcdf-linking.patch': '6091baf7ac2b6831468200c7f60fa696a110a34de6062965fa4973baf7a0c8a2'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '4.0.3'), | ||
| ('pkgconf', '2.4.3'), | ||
| ('Doxygen', '1.14.0'), | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| ('netCDF', '4.9.3'), | ||
| ('netCDF-Fortran', '4.6.2'), | ||
| ('PnetCDF', '1.14.1'), | ||
| ] | ||
|
|
||
| configopts = "-DPIO_ENABLE_TIMING=OFF " | ||
| configopts += "-DNETCDF_DIR=$EBROOTNETCDF -DPNETCDF_DIR=$EBROOTPNETCDF " | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['lib/libpiof.a', 'include/pio.mod'], | ||
| 'dirs': [], | ||
| } | ||
|
|
||
| modextravars = { | ||
| 'PIO': '%(installdir)s' | ||
| } | ||
|
|
||
| moduleclass = 'data' |
42 changes: 42 additions & 0 deletions
42
easybuild/easyconfigs/p/ParallelIO/ParallelIO-2.7.0_fix-pnetcdf-linking.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| Fix linking of examples to PnetCDF | ||
| author: Alex Domingo (Vrije Universiteit Brussel) | ||
| --- examples/f03/CMakeLists.txt.orig 2026-08-13 15:42:38.535863097 +0200 | ||
| +++ examples/f03/CMakeLists.txt 2026-08-13 15:43:35.059792858 +0200 | ||
| @@ -29,8 +29,8 @@ | ||
| # Ensure NetCDF Fortran and C libraries are linked | ||
| set(SRC examplePio.F90) | ||
| add_executable(examplePio_f90 ${SRC}) | ||
| -target_link_libraries(examplePio_f90 piof pioc ${TIMING_LINK_LIB}) | ||
| +target_link_libraries(examplePio_f90 piof pioc pnetcdf ${TIMING_LINK_LIB}) | ||
|
|
||
| set(SRC exampleAsyncPio.F90) | ||
| add_executable(exampleAsyncPio_f90 ${SRC}) | ||
| -target_link_libraries(exampleAsyncPio_f90 piof pioc ${TIMING_LINK_LIB}) | ||
| \ No newline at end of file | ||
| +target_link_libraries(exampleAsyncPio_f90 piof pioc pnetcdf ${TIMING_LINK_LIB}) | ||
| --- examples/c/CMakeLists.txt.orig 2026-08-13 15:51:14.135383992 +0200 | ||
| +++ examples/c/CMakeLists.txt 2026-08-13 15:50:44.758686579 +0200 | ||
| @@ -29,19 +29,19 @@ | ||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") | ||
|
|
||
| add_executable(examplePio EXCLUDE_FROM_ALL examplePio.c) | ||
| -target_link_libraries(examplePio pioc) | ||
| +target_link_libraries(examplePio pioc pnetcdf) | ||
| add_dependencies(tests examplePio) | ||
|
|
||
| add_executable(piorcw piorcw.c) | ||
| -target_link_libraries(piorcw pioc) | ||
| +target_link_libraries(piorcw pioc pnetcdf) | ||
| add_dependencies(tests piorcw) | ||
|
|
||
| add_executable(example1 example1.c) | ||
| -target_link_libraries(example1 pioc) | ||
| +target_link_libraries(example1 pioc pnetcdf) | ||
| add_dependencies(tests example1) | ||
|
|
||
| add_executable(darray_no_async darray_no_async.c) | ||
| -target_link_libraries(darray_no_async pioc) | ||
| +target_link_libraries(darray_no_async pioc pnetcdf) | ||
| add_dependencies(tests darray_no_async) | ||
|
|
||
| # add_executable(darray_async darray_async.c) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only updates
ESMF-8.9.0-foss-2025a.eb.We should also update the other ESMF 8.9.0 (
ESMF-8.9.0-foss-2025b.eb,ESMF-8.9.0-intel-2025a.eb, andESMF-8.9.0-intel-2025b.eb) easyconfigs?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR updated with extra easyconfigs