Skip to content

use NETCDF_ENABLE_DAP_REMOTE_TESTS instead of ENABLE_DAP_REMOTE_TESTS and prevent use of srun in netCDF 4.9.3 easyconfigs#25490

Merged
boegel merged 2 commits intoeasybuilders:developfrom
bedroge:netcdf493_dap_remote_tests
Mar 12, 2026
Merged

use NETCDF_ENABLE_DAP_REMOTE_TESTS instead of ENABLE_DAP_REMOTE_TESTS and prevent use of srun in netCDF 4.9.3 easyconfigs#25490
boegel merged 2 commits intoeasybuilders:developfrom
bedroge:netcdf493_dap_remote_tests

Conversation

@bedroge
Copy link
Copy Markdown
Contributor

@bedroge bedroge commented Mar 3, 2026

While debugging some weird netCDF test failures, I found that ENABLE_DAP_REMOTE_TESTS was renamed to NETCDF_ENABLE_DAP_REMOTE_TESTS in 4.9.3. See https://github.com/Unidata/netcdf-c/blob/v4.9.2/CMakeLists.txt#L1098 and
https://github.com/Unidata/netcdf-c/blob/v4.9.3/CMakeLists.txt#L603.

@bedroge bedroge added the bug fix label Mar 3, 2026
@github-actions github-actions Bot added 2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains change 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/pr25490"

@Thyre Thyre added this to the next release (5.2.2?) milestone Mar 3, 2026
@Thyre Thyre removed the change label Mar 3, 2026
@boegelbot
Copy link
Copy Markdown
Collaborator

@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=25490 EB_ARGS="--installpath /tmp/$USER/pr25490" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_25490 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3991109520 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).

@Thyre
Copy link
Copy Markdown
Collaborator

Thyre commented Mar 4, 2026

Posting the comment seems to have failed, but the build succeeded.
See: https://gist.github.com/boegelbot/6fd36f26ab967b360f549083226c8c8c

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 4, 2026

Test report by @bedroge
FAILED
Build succeeded for 0 out of 2 (total: 52 mins 1 secs) (2 easyconfigs in total)
node1 - Linux Rocky Linux 8.10 (Green Obsidian), x86_64, AMD EPYC 7763 64-Core Processor (zen3), Python 3.12.12
See https://gist.github.com/bedroge/b50ba721c81501cde41a591de7e3ab8e for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 4, 2026

Okay, that's an interesting test failure:

        Start 150: nc_test4_run_par_warn_test
150/221 Test #150: nc_test4_run_par_warn_test ................***Failed    2.20 sec

Testing MPI parallel I/O with various other mode flags...
sh: srun: command not found

*** Testing for HDF5 extra output
*** Testing create of parallel I/O file...ok.
*** Tests successful!
1d0
< sh: srun: command not found

This was running as a Slurm job in a container. The test calls mpiexec, and it assumes it has Slurm support, so it tries to use srun, which is not available in the container. It should not be a big deal, the test still works, and other tests using MPI print the same error. However, for this particular (and new) test, they redirect stderr and stdout to a file, and do a diff with a reference file. That causes the real failure here, because that srun error ends up in the output file... (see https://github.com/Unidata/netcdf-c/blob/v4.9.3/nc_test4/run_par_warn_test.sh.in#L17)

So I guess we should either:

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 10, 2026

@bedroge I would go with unset the SLURM env vars...

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 10, 2026

@bedroge I would go with unset the SLURM env vars...

Thanks, done in 7be18a1.

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 10, 2026

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr25490"

@bedroge bedroge changed the title use NETCDF_ENABLE_DAP_REMOTE_TESTS instead of ENABLE_DAP_REMOTE_TESTS in netCDF 4.9.3 easyconfigs use NETCDF_ENABLE_DAP_REMOTE_TESTS instead of ENABLE_DAP_REMOTE_TESTS and prevent use of srun in netCDF 4.9.3 easyconfigs Mar 10, 2026
@boegelbot
Copy link
Copy Markdown
Collaborator

@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=25490 EB_ARGS="--installpath /tmp/$USER/pr25490" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_25490 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 4034801926 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).

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Mar 10, 2026

Test report by @bedroge
SUCCESS
Build succeeded for 2 out of 2 (total: 1 hour 38 mins 37 secs) (2 easyconfigs in total)
omni33 - Linux Rocky Linux 8.10 (Green Obsidian), x86_64, AMD EPYC 7763 64-Core Processor (zen3), Python 3.12.12
See https://gist.github.com/bedroge/b604ac0f4d3009f02ae5551c3b791745 for a full test report.

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 5 out of 5 (total: 2 hours 34 mins 43 secs) (5 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/a9ec6b0c7e4bb93527eec57505d04372 for a full test report.

Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 12, 2026

Test report by @boegel
SUCCESS
Build succeeded for 5 out of 5 (total: 5 hours 2 mins 13 secs) (5 easyconfigs in total)
node4213.shinx.os - Linux RHEL 9.6, x86_64, AMD EPYC 9654 96-Core Processor (zen4), Python 3.9.21
See https://gist.github.com/boegel/166c7792ada4bee97ffa78f9ed7084a0 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 12, 2026

Going in, thanks @bedroge!

@boegel boegel merged commit 5af71d7 into easybuilders:develop Mar 12, 2026
6 checks passed
@bedroge bedroge deleted the netcdf493_dap_remote_tests branch March 12, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants