Skip to content

Slurm#420

Open
jtravs wants to merge 9 commits into
LupoLab:masterfrom
jtravs:slurm
Open

Slurm#420
jtravs wants to merge 9 commits into
LupoLab:masterfrom
jtravs:slurm

Conversation

@jtravs
Copy link
Copy Markdown
Contributor

@jtravs jtravs commented Apr 5, 2026

Improve Slurm handling of memory, paths, and julia environments

Copilot AI review requested due to automatic review settings April 5, 2026 10:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the SlurmExec execution mode to generate more robust Slurm array-job scripts, adding per-task memory handling, Julia environment selection, thread configuration, and safer path handling, along with expanded user documentation.

Changes:

  • Extend SlurmExec with memory, project, and nthreads options and generate SBATCH scripts accordingly.
  • Add memory parsing to derive Julia --heap-size-hint from Slurm --mem.
  • Add extensive Slurm usage documentation to the scans guide.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
src/Scans.jl Extends SlurmExec, adds heap-hint parsing, and updates Slurm job script generation (mem, threads, quoting, ulimit, Julia binary path).
docs/src/scans.md Documents SlurmExec behavior and provides usage examples and explanation of memory/threads/project handling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl
Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl
Comment thread src/Scans.jl Outdated
@jtravs
Copy link
Copy Markdown
Contributor Author

jtravs commented Apr 5, 2026

@copilot check my fixes and resolve addressed threads

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl
Comment thread src/Scans.jl
Comment thread src/Scans.jl Outdated
Comment thread src/Scans.jl Outdated
Comment thread docs/src/scans.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants