Skip to content

enhance custom easyblocks for SCOTCH & MUMPS to add lfoss toolchain support#4069

Merged
boegel merged 2 commits intoeasybuilders:developfrom
hattom:scotch_llvm
Apr 8, 2026
Merged

enhance custom easyblocks for SCOTCH & MUMPS to add lfoss toolchain support#4069
boegel merged 2 commits intoeasybuilders:developfrom
hattom:scotch_llvm

Conversation

@hattom
Copy link
Copy Markdown
Contributor

@hattom hattom commented Feb 18, 2026

SCOTCH's Easyblock had two sections which explicitly depended on the toolchain:
The first was for the name of the Makefile:

if intel:
 ...
elif GCC:
 ...
else:
 raise ...

The other was for the restrict keyword:

if GCC:
  ...
else
  ...

For both cases, add LLVM to the GCC behaviour, and modify the syntax to match in both cases (compiler order, raise if else, define a comp_fam variable)

@hattom
Copy link
Copy Markdown
Contributor Author

hattom commented Feb 18, 2026

A generalization to support also NVHPC is left as a future exercise, but would presumably follow exactly the same pattern.

@hattom hattom changed the title SCOTCH: update easyblock for LLVM toolchain Update to easyblocks to add lfoss toolchain support [SCOTCH/MUMPS] Feb 18, 2026
@hattom
Copy link
Copy Markdown
Contributor Author

hattom commented Feb 18, 2026

btw -- I'm working my way through to get PETSc building. These are the problems that I've found so far, but I'm not finished yet (building python etc is taking a very long time).

@Micket
Copy link
Copy Markdown
Contributor

Micket commented Mar 21, 2026

ci stuck

@Micket Micket closed this Mar 21, 2026
@Micket Micket reopened this Mar 21, 2026
@boegel boegel changed the title Update to easyblocks to add lfoss toolchain support [SCOTCH/MUMPS] enhance custom easyblocks for SCOTCH & MUMPS to add lfoss toolchain support Mar 25, 2026
@boegel boegel added this to the next release (5.2.2?) milestone Mar 25, 2026
@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 8, 2026

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS MUMPS-5.8.1-foss-2025b-metis.eb

  • SUCCESS SCOTCH-7.0.4-iimpi-2023b.eb

  • SUCCESS SCOTCH-7.0.8-gompi-2025a.eb

Build succeeded for 3 out of 3 (total: 7 mins 18 secs) (3 easyconfigs in total)
node4401.skiddo.os - Linux RHEL 9.6, x86_64, AMD EPYC 9755 128-Core Processor (zen5), Python 3.9.21
See https://gist.github.com/boegel/ac770b21d202e4c0da59b2e28bb91764 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 boegel merged commit 9a640a3 into easybuilders:develop Apr 8, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants