Skip to content

submitting_jobs.md - #293

Open
Graviton28 wants to merge 1 commit into
UNM-CARC:masterfrom
Graviton28:pr/submitting-jobs
Open

submitting_jobs.md#293
Graviton28 wants to merge 1 commit into
UNM-CARC:masterfrom
Graviton28:pr/submitting-jobs

Conversation

@Graviton28

Copy link
Copy Markdown
Contributor

found a real bug testing this one. the interactive section claims running bash helloworld_parallel.sbatch under an 8-task salloc allocation prints "Hello World" 8 times - it doesn't, plain bash only ever runs a script once no matter how many tasks you asked for. confirmed by actually testing it (only got 1 line), then fixed it to use mpirun -np 8 instead and got the real 8-line output.

also fixed the dead link to pbs_scripts2.md (doesn't exist, never has as far as I can tell) - pointed it at submitting_sbatch_jobs.md instead which actually covers writing a slurm script. added the actual helloworld_parallel.sbatch script content too since the doc referenced it without ever showing it. split the combined command+output code blocks into separate ones to match the rest of the repo's formatting, and used real job IDs/hostnames from testing instead of the placeholder ones.

heads up: this file isn't linked from README at all, and its content pretty heavily overlaps with submitting_sbatch_jobs.md (which already covers hello world + sbatch/salloc more thoroughly). didn't touch that structural question, just fixed what was actually broken in the file as it exists.

@Graviton28
Graviton28 marked this pull request as ready for review August 4, 2026 04:53
@Graviton28
Graviton28 requested a review from gmfricke as a code owner August 4, 2026 04:53
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.

1 participant