Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lmod-friendly wrapper for eessi_archdetect.sh #653

Merged

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Jul 29, 2024

This allows you to run

/cvmfs/software.eessi.io/versions/2023.06/compat/linux/x86_64/usr/share/Lmod/libexec/sh_to_modulefile ./lmod_eessi_archdetect_wrapper.sh

and set an environment variable that can be leveraged in a module file using the source_sh() approach (Lmod 8.6+)

Copy link

eessi-bot bot commented Jul 29, 2024

Instance eessi-bot-mc-aws is configured to build for:

  • architectures: x86_64/generic, x86_64/intel/haswell, x86_64/intel/skylake_avx512, x86_64/amd/zen2, x86_64/amd/zen3, aarch64/generic, aarch64/neoverse_n1, aarch64/neoverse_v1
  • repositories: eessi.io-2023.06-compat, eessi-hpc.org-2023.06-software, eessi-hpc.org-2023.06-compat, eessi.io-2023.06-software

Copy link

eessi-bot bot commented Jul 29, 2024

Instance eessi-bot-mc-azure is configured to build for:

  • architectures: x86_64/amd/zen4
  • repositories: eessi-hpc.org-2023.06-compat, eessi-hpc.org-2023.06-software, eessi.io-2023.06-software, eessi.io-2023.06-compat

@ocaisa
Copy link
Member Author

ocaisa commented Jul 29, 2024

bot: build repo:eessi.io-2023.06-software arch:x86_64/generic

Copy link

eessi-bot bot commented Jul 29, 2024

Updates by the bot instance eessi-bot-mc-aws (click for details)
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/generic from ocaisa

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/generic
  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/generic resulted in:

Copy link

eessi-bot bot commented Jul 29, 2024

Updates by the bot instance eessi-bot-mc-azure (click for details)
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/generic from ocaisa

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/generic
  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/generic resulted in:

    • no jobs were submitted

Copy link

eessi-bot bot commented Jul 29, 2024

New job on instance eessi-bot-mc-aws for architecture x86_64-generic for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.07/pr_653/15317

date job status comment
Jul 29 12:32:24 UTC 2024 submitted job id 15317 awaits release by job manager
Jul 29 12:33:07 UTC 2024 released job awaits launch by Slurm scheduler
Jul 29 12:34:09 UTC 2024 running job 15317 is running
Jul 29 12:48:33 UTC 2024 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-15317.out
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.gz created!
Artefacts
No artefacts were created or found.
Jul 29 12:48:33 UTC 2024 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 16/16 test case(s) from 16 check(s) (0 failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-15317.out
✅ no message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@ocaisa ocaisa marked this pull request as draft August 8, 2024 08:19
@ocaisa
Copy link
Member Author

ocaisa commented Aug 8, 2024

bot: build repo:eessi.io-2023.06-software arch:x86_64/generic

Copy link

eessi-bot bot commented Aug 8, 2024

Updates by the bot instance eessi-bot-mc-aws (click for details)
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/generic from ocaisa

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/generic
  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/generic resulted in:

Copy link

eessi-bot bot commented Aug 8, 2024

Updates by the bot instance eessi-bot-mc-azure (click for details)
  • received bot command build repo:eessi.io-2023.06-software arch:x86_64/generic from ocaisa

    • expanded format: build repository:eessi.io-2023.06-software architecture:x86_64/generic
  • handling command build repository:eessi.io-2023.06-software architecture:x86_64/generic resulted in:

    • no jobs were submitted

Copy link

eessi-bot bot commented Aug 8, 2024

New job on instance eessi-bot-mc-aws for architecture x86_64-generic for repository eessi.io-2023.06-software in job dir /project/def-users/SHARED/jobs/2024.08/pr_653/15894

date job status comment
Aug 08 08:35:30 UTC 2024 submitted job id 15894 awaits release by job manager
Aug 08 08:36:17 UTC 2024 released job awaits launch by Slurm scheduler
Aug 08 08:41:56 UTC 2024 running job 15894 is running
Aug 08 08:57:51 UTC 2024 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-15894.out
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.gz created!
Artefacts
eessi-2023.06-software-linux-x86_64-generic-1723106490.tar.gzsize: 0 MiB (289 bytes)
entries: 1
modules under 2023.06/software/linux/x86_64/generic/modules/all
no module files in tarball
software under 2023.06/software/linux/x86_64/generic/software
no software packages in tarball
other under 2023.06/software/linux/x86_64/generic
2023.06/init/lmod_eessi_archdetect_wrapper.sh
Aug 08 08:57:51 UTC 2024 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 17/17 test case(s) from 17 check(s) (0 failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-15894.out
✅ no message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case
Aug 08 12:17:33 UTC 2024 uploaded transfer of eessi-2023.06-software-linux-x86_64-generic-1723106490.tar.gz to S3 bucket succeeded

@ocaisa
Copy link
Member Author

ocaisa commented Aug 8, 2024

This PR is to help support the initialisation of EESSI via a module file (see https://gitlab.com/eessi/support/-/issues/83).

@ocaisa ocaisa changed the title Add Lmod wrapper for eessi_archdetect.sh Add Lmod-friendly wrapper for eessi_archdetect.sh Aug 8, 2024
@ocaisa ocaisa marked this pull request as ready for review August 8, 2024 12:06
@ocaisa
Copy link
Member Author

ocaisa commented Aug 8, 2024

This is a harmless PR that provides a stepping stone to https://gitlab.com/eessi/support/-/issues/83

@ocaisa ocaisa added the ready-to-deploy Mark a PR as ready to deploy label Aug 8, 2024
Copy link
Collaborator

@trz42 trz42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa wrote it's harmless 👍

@trz42 trz42 added bot:deploy Ask bot to deploy missing software installations to EESSI and removed ready-to-deploy Mark a PR as ready to deploy labels Aug 8, 2024
@trz42 trz42 merged commit a567219 into EESSI:2023.06-software.eessi.io Aug 8, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:deploy Ask bot to deploy missing software installations to EESSI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants