Skip to content

Add support for detecting external MAGMA library for ELSI#3536

Merged
boegel merged 2 commits intoeasybuilders:developfrom
ahkole:elsi-magma
Jan 28, 2026
Merged

Add support for detecting external MAGMA library for ELSI#3536
boegel merged 2 commits intoeasybuilders:developfrom
ahkole:elsi-magma

Conversation

@ahkole
Copy link
Copy Markdown
Contributor

@ahkole ahkole commented Dec 18, 2024

Adds an if branch to the ELSI easyblock to automatically detect the external MAGMA solver if it is installed on the system, similarly as is done for the other solvers that ELSI can link to.

For the flags that have to be set for MAGMA see https://gitlab.com/elsi_project/elsi_interface/-/blob/master/INSTALL.md?ref_type=heads .

A similar thing can probably be added for other solvers that are still missing from the easyblock like eigenexa, but I haven't tried/tested yet if that would work.

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 Jan 28, 2026

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/pr3536 ELSI-2.11.0-foss-2023a-PEXSI.eb"

@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=3536 EB_ARGS="--installpath /tmp/$USER/pr3536 ELSI-2.11.0-foss-2023a-PEXSI.eb" EB_CONTAINER= EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_3536 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3809644168 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 ELSI-2.11.0-foss-2023a-PEXSI.eb

Build succeeded for 1 out of 1 (total: 4 mins 20 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.23
See https://gist.github.com/boegelbot/43279f40299fbd3bdece6de0b1319c0b for a full test report.

@boegel boegel merged commit 7efa808 into easybuilders:develop Jan 28, 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.

4 participants