Skip to content

Conversation

@bedroge
Copy link
Contributor

@bedroge bedroge commented Jun 10, 2025

A Zoltan build for EESSI on a Neoverse v1 node resulted in:

configure: error: cannot guess build type; you must specify one

(see EESSI/software-layer#1113 (comment))

Zoltan includes a very old config.guess (https://github.com/sandialabs/Zoltan/blob/v3.901/config/config.guess). Although EasyBuild should obtain a new version of this file, that's not being done here due to building in a subdirectory and using configure_cmd = ../configure:

preconfigopts = 'mkdir build && cd build &&'
configure_cmd = '../configure'

The ../configure leads to os.path.exists(configure_command) being False for this check, as that's being run in the root of the source dir: https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/generic/configuremake.py#L314.

By using an absolute path to the configure script, the script is found and self.determine_build_and_host_type() will be called, which solves the issue.

@bedroge
Copy link
Contributor Author

bedroge commented Jun 10, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
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=23068 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_23068 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

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

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

@bedroge
Copy link
Contributor Author

bedroge commented Jun 10, 2025

Test report by @bedroge
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
aarch64-neoverse-v1-node1.int.aws-rocky88-202310.eessi.io - Linux Rocky Linux 8.10 (Green Obsidian), AArch64, ARM UNKNOWN, Python 3.11.4
See https://gist.github.com/bedroge/fdbd79e44485e80b1fbc9bcb79637d8e for a full test report.

@boegel boegel added EESSI Related to EESSI project and removed change labels Jun 10, 2025
@boegel boegel added this to the next release (5.1.1?) milestone Jun 10, 2025
@boegel
Copy link
Member

boegel commented Jun 10, 2025

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3502.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/e87ff9a6b926e5a1cda824c8757a1187 for a full test report.

Copy link
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
Member

boegel commented Jun 10, 2025

Going in, thanks @bedroge!

@boegel boegel merged commit cce48fe into easybuilders:develop Jun 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix change EESSI Related to EESSI project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants