Skip to content

add patch with workaround for Arm SVE512 test failure to GROMACS 2024+2025 easyconfigs#24548

Merged
boegel merged 3 commits intoeasybuilders:developfrom
bedroge:gromacs_a64fx_fix
Nov 16, 2025
Merged

add patch with workaround for Arm SVE512 test failure to GROMACS 2024+2025 easyconfigs#24548
boegel merged 3 commits intoeasybuilders:developfrom
bedroge:gromacs_a64fx_fix

Conversation

@bedroge
Copy link
Copy Markdown
Contributor

@bedroge bedroge commented Nov 13, 2025

@bedroge bedroge added bug fix EESSI Related to EESSI project aarch64 Related to Arm 64-bit (aarch64) labels Nov 13, 2025
@github-actions github-actions Bot added 2023b 2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains change labels Nov 13, 2025
@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Nov 13, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/pr24548"

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

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3528108653 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 bedroge changed the title add patch with workaround for Arm SVE512 issue to GROMACS 2024+2025 easyconfigs add patch with workaround for Arm SVE512 test failure to GROMACS 2024+2025 easyconfigs Nov 13, 2025
@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
FAILED
Build succeeded for 0 out of 9 (total: 1 hour 6 mins 15 secs) (9 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/f037412397f8b1e6dddd1b50ef79d628 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Nov 13, 2025

@bedroge That didn't exactly go well...

/tmp/boegelbot/GROMACS/2024.1/foss-2023b/gromacs-2024.1/src/gromacs/trajectoryanalysis/tests/surfacearea.cpp:61:42: error: operator '&&' has no right operand
   61 |         && GMX_SIMD_ARM_SVE_LENGTH_VALUE == 512
      |                                          ^~

@ocaisa
Copy link
Copy Markdown
Member

ocaisa commented Nov 14, 2025

ChatGPT says it should be

#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 13 && \
    defined(GMX_SIMD_ARM_SVE) && defined(GMX_SIMD_ARM_SVE_LENGTH_VALUE) && \
    GMX_SIMD_ARM_SVE && (GMX_SIMD_ARM_SVE_LENGTH_VALUE == 512)
#define WORKAROUND_GCC13_ARM_SVE512 1
#endif

as GMX_SIMD_ARM_SVE and GMX_SIMD_ARM_SVE_LENGTH_VALUE are not defined at all on x86

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Nov 14, 2025

ChatGPT says it should be

#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 13 && \
    defined(GMX_SIMD_ARM_SVE) && defined(GMX_SIMD_ARM_SVE_LENGTH_VALUE) && \
    GMX_SIMD_ARM_SVE && (GMX_SIMD_ARM_SVE_LENGTH_VALUE == 512)
#define WORKAROUND_GCC13_ARM_SVE512 1
#endif

as GMX_SIMD_ARM_SVE and GMX_SIMD_ARM_SVE_LENGTH_VALUE are not defined at all on x86

I took the latest version from https://gitlab.com/gromacs/gromacs/-/merge_requests/5593, which should solve the issue (by having a nested if statement). GMX_SIMD_ARM_SVE was actually defined (set to 0), it just didn't seem to do lazy evaluation, so I think your AI friend may be hallucinating 😄

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Nov 14, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/pr24548"

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

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3531440932 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
Collaborator

Test report by @boegelbot
FAILED
Build succeeded for 8 out of 9 (total: 4 hours 54 mins 43 secs) (9 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/cd7303892b9433f9bed9c0adb3004219 for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Nov 14, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/pr24548 GROMACS-2024.3-foss-2023b-PLUMED-2.9.2.eb"

@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=24548 EB_ARGS="--installpath /tmp/pr24548 GROMACS-2024.3-foss-2023b-PLUMED-2.9.2.eb" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24548 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3533197102 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
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (total: 37 mins 33 secs) (1 easyconfigs in total)
jsczen3c2.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/b6e4a414e9170873623d91bb7bf68bb1 for a full test report.

@boegel boegel added this to the next release (5.2.0?) milestone Nov 16, 2025
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 Nov 16, 2025

Going in, thanks @bedroge!

@boegel boegel merged commit 091da70 into easybuilders:develop Nov 16, 2025
8 checks passed
@bedroge bedroge deleted the gromacs_a64fx_fix branch November 16, 2025 09:16
@boegel boegel removed the change label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2023b 2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains aarch64 Related to Arm 64-bit (aarch64) bug fix EESSI Related to EESSI project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants