Skip to content

Make sure that netcdf easyblock picks up the EB-provided libxml2 and bzip2#4086

Merged
ocaisa merged 2 commits intoeasybuilders:developfrom
bedroge:netcdf_libxml2
Mar 3, 2026
Merged

Make sure that netcdf easyblock picks up the EB-provided libxml2 and bzip2#4086
ocaisa merged 2 commits intoeasybuilders:developfrom
bedroge:netcdf_libxml2

Conversation

@bedroge
Copy link
Copy Markdown
Contributor

@bedroge bedroge commented Mar 3, 2026

bzip2 and libxml2 were added as dependencies in easyconfigs for netCDF 4.9.0 and later, but in EESSI we noticed that it picked up the ones from the compat/OS layer. The easyblock already passes the paths to other dependencies with CMake variables, let's do the same for bzip2 and libxml2. Hat tip @julianmorillo.

See EESSI/dev.eessi.io-riscv#72 and EESSI/software-layer#1432.

@bedroge bedroge added bug fix EESSI Related to EESSI project labels Mar 3, 2026
@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 3, 2026

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr4086 netCDF-4.9.3-gompi-2025b.eb"

@boegelbot
Copy link
Copy Markdown

@bedroge: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=4086 EB_ARGS="--installpath /tmp/$USER/pr4086 netCDF-4.9.3-gompi-2025b.eb" EB_CONTAINER= EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_4086 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9927

Test results coming soon (I hope)...

Details

- notification for comment with ID 3990632051 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS netCDF-4.9.3-gompi-2025b.eb

Build succeeded for 1 out of 1 (total: 33 mins 23 secs) (1 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.25
See https://gist.github.com/boegelbot/15097786935497e450e1e910a23ad626 for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 3, 2026

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr4086 netCDF-4.9.0-gompi-2022b.eb netCDF-4.9.2-gompi-2024a.eb netCDF-4.8.1-gompi-2021b.eb"

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 3, 2026

Successful EESSI build with the change from this PR:
EESSI/software-layer#1432 (comment)

@boegelbot
Copy link
Copy Markdown

@bedroge: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=4086 EB_ARGS="--installpath /tmp/$USER/pr4086 netCDF-4.9.0-gompi-2022b.eb netCDF-4.9.2-gompi-2024a.eb netCDF-4.8.1-gompi-2021b.eb" EB_CONTAINER= EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_4086 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9930

Test results coming soon (I hope)...

Details

- notification for comment with ID 3991148437 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS netCDF-4.9.0-gompi-2022b.eb

  • SUCCESS netCDF-4.9.2-gompi-2024a.eb

  • SUCCESS netCDF-4.8.1-gompi-2021b.eb

Build succeeded for 3 out of 3 (total: 29 mins 44 secs) (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.25
See https://gist.github.com/boegelbot/424230163b2046854484220378d4014d for a full test report.

Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ocaisa ocaisa merged commit df3ca30 into easybuilders:develop Mar 3, 2026
43 checks passed
@bedroge bedroge deleted the netcdf_libxml2 branch March 3, 2026 22:53
@boegel boegel added this to the next release (5.2.2?) milestone Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix EESSI Related to EESSI project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants