Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an opt-in
CBRAIN_LOCAL_PROFILE=slurmfor Apple container. BrainPortal starts Bourreau over SSH as in #1665. Bourreau submits throughScirSlurmto a separate one-node Slurm container, with/clustermounted on both sides for job work and the data-provider cache.The Slurm image installs ARM64 Apptainer 1.5.5 during the build. Bourreau builds and stages a SIF from the Tool Config's OCI image, and the Slurm node runs the task inside it. The default profile continues to use
ScirUnix.Database isolation
cbrain-slurm-db) and persistent volume (cbrain-slurm-db-data). It uses a separate container network and its own generated credentials in.local/apple-container/slurm/env.cbrainapplication schema through the existing SSH-forwarded connection. Slurm accounting usesslurm_acct_dband a dedicatedslurmdatabase user scoped to that schema.Validation on Apple silicon
CANCELLEDin Slurm accounting. Plain Diagnostics also passed after a profile stop and restart.docker://docker.io/arm64v8/debian:bullseye-slimand staged it in the shared work directory. The compute node's SIF inspection confirmed an ARM64 filesystem.cbrain-slurm-node(aarch64). Slurm job 6 reachedCOMPLETEDwith exit code0:0. The task read all 3,973 bytes of the input using its relative path in the shared task directory.Diagnostics-LocalBourreau-5-1.txtto LocalStorage as userfile 8. The SHA-256 of the report retrieved through CBRAIN matched the file on the provider.Simplified launcher retest
With
CBRAIN_LOCAL_PROFILE=slurm,upbuilds a missing image andrebuildreplaces BrainPortal, Bourreau, and the compute node in one command. The rebuild retains the MariaDB volume and shared cluster directory. An earlier report was still present afterward.cbrain-slurm-nodewith exit code0:0. The staged SIF contained an ARM64 filesystem. The task read all 3,973 bytes of its input via the relative path in the shared task directory.Diagnostics-LocalBourreau-9-1.txtas userfile 15. The SHA-256 of the report retrieved through CBRAIN matched the LocalStorage file.Review order
This PR targets
aces:devand builds on #1665. Until #1665 lands, GitHub's Files changed tab also includes the base Apple container deployment. Review #1665 first, then use the Slurm and Apptainer delta for the changes specific to this PR.