Skip to content

use --COPTFLAGS/--CXXOPTFLAGS/--FOPTFLAGS instead of (undocumented) --CFLAGS/--CXXFLAGS/--FFLAGS as configure option for PETSc#3863

Merged
Micket merged 1 commit intoeasybuilders:developfrom
boegel:20250731175454_new_pr_petsc
Aug 1, 2025
Merged

use --COPTFLAGS/--CXXOPTFLAGS/--FOPTFLAGS instead of (undocumented) --CFLAGS/--CXXFLAGS/--FFLAGS as configure option for PETSc#3863
Micket merged 1 commit intoeasybuilders:developfrom
boegel:20250731175454_new_pr_petsc

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Jul 31, 2025

(created using eb --new-pr)

This fixes problems with compiling the Fortran modules, see also https://gitlab.com/petsc/petsc/-/issues/1737

--COPTFLAGS & co have been around since forever (at least since July 2010, see https://gitlab.com/petsc/petsc/-/commit/fc30128dce682aed3890a616dd5582cddce0daa6), so we can just switch to using those in the PETSc easyblock, it shouldn't cause trouble

…-CFLAGS/--CXXFLAGS/--FFLAGS as configure option for PETSc
@boegel boegel changed the title use --COPTFLAGS/--CXXOPTFLAGS/--FOPTFLAGS instead of (undocumented) --CFLAGS/--CXXFLAGS/--FFLAGS as configure option for PETSc use --COPTFLAGS/--CXXOPTFLAGS/--FOPTFLAGS instead of (undocumented) --CFLAGS/--CXXFLAGS/--FFLAGS as configure option for PETSc Jul 31, 2025
@boegel boegel added the bug fix label Jul 31, 2025
@boegel boegel added this to the release after 5.1.1 milestone Jul 31, 2025
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 31, 2025

@boegelbot please test @ jsc-zen3
EB_ARGS="PETSc-3.17.4-foss-2022a.eb PETSc-3.19.2-foss-2022b.eb --installpath /tmp/$USER/pr3863"
CORE_CNT=16

@boegelbot
Copy link
Copy Markdown

@boegel: 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=3863 EB_ARGS="PETSc-3.17.4-foss-2022a.eb PETSc-3.19.2-foss-2022b.eb --installpath /tmp/$USER/pr3863" EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_3863 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

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

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 31, 2025

@boegelbot please test @ jsc-zen3
EB_ARGS="PETSc-3.20.3-foss-2023a.eb PETSc-3.22.5-foss-2023b.eb --installpath /tmp/$USER/pr3863"
CORE_CNT=16

@boegelbot
Copy link
Copy Markdown

@boegel: 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=3863 EB_ARGS="PETSc-3.20.3-foss-2023a.eb PETSc-3.22.5-foss-2023b.eb --installpath /tmp/$USER/pr3863" EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_3863 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3140689516 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 PETSc-3.17.4-foss-2022a.eb
  • SUCCESS PETSc-3.19.2-foss-2022b.eb

Build succeeded for 2 out of 2 (2 easyconfigs in total)
jsczen3c3.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/5a5a1effa42c5cb38b38f2a5b5a7b87b for a full test report.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Jul 31, 2025

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS PETSc-3.22.5-foss-2023b.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3544.doduo.os - Linux RHEL 9.4, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.9.18
See https://gist.github.com/boegel/f375367c615e7126639329f42efaf16e for a full test report.

@boegelbot
Copy link
Copy Markdown

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS PETSc-3.20.3-foss-2023a.eb
  • SUCCESS PETSc-3.22.5-foss-2023b.eb

Build succeeded for 2 out of 2 (2 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/cdbe0b28075f3605ce25cf2d8e908dec for a full test report.

@Micket Micket merged commit 459a731 into easybuilders:develop Aug 1, 2025
17 checks passed
@boegel boegel deleted the 20250731175454_new_pr_petsc branch August 2, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants