mpiCASA.md - #315
Open
Graviton28 wants to merge 1 commit into
Open
Conversation
Previous content was raw, unfinished draft notes: a fake placeholder path (/users/sbruzew/xena-scratch/casa-blah-blah/bin/casa), the dead PBS variable $PBS_NODEFILE, a nonexistent "singleGPU" partition, and unresolved rhetorical questions to self. Investigated live on Easley: `module avail casa` / `module spider casa` both claim casa/6.5.2 is loadable, but `module load casa/6.5.2` actually fails - Lmod's cached spider index is stale and falsely advertises a module whose modulefile no longer exists (confirmed with `module --ignore_cache avail casa`, which finds nothing). This is a real CARC module-system gap, not something fixable from the doc side; flagged for help@carc.unm.edu in the doc itself. The underlying CASA 6.5.2 software is still installed and world-executable at a fixed path, so the tutorial documents using that direct path with an alias instead. Tested end-to-end on Easley via srun: both plain `casa --nogui --log2term -c script.py` (1 task) and the MPI-parallel `mpicasa -n 2 casa ...` wrapper (2 tasks, landed on 2 separate nodes) ran a real Python script inside CASA and printed correct output. Replaced the fake singleGPU partition with Easley's real partitions (general/bigmem/h100/l40s/interactive/debug/scavenger, verified via sinfo) and PBS_NODEFILE with plain Slurm --ntasks. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Graviton28
marked this pull request as draft
August 4, 2026 02:43
Graviton28
marked this pull request as ready for review
August 4, 2026 04:53
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.
Rewrote mpiCASA.md from scratch. It was previously raw, unfinished draft notes: a fake placeholder path (
/users/sbruzew/xena-scratch/casa-blah-blah/bin/casa), dead PBS ($PBS_NODEFILE), a nonexistentsingleGPUpartition, and unresolved rhetorical questions to self.Investigated live on Easley. CASA 6.5.2 is genuinely installed and works, but hit a real infrastructure bug along the way:
module avail casa/module spider casaboth reportcasa/6.5.2as loadable ("This module can be loaded directly: module load casa/6.5.2"). Actually runningmodule load casa/6.5.2fails:Re-checked with the cache disabled (
module --ignore_cache avail casa) and there is currently no live modulefile for CASA at all — Lmod's cached spider index is stale and advertises a module that doesn't actually exist anymore. This is a known limitation, not a doc bug — flagged in the doc itself with a pointer to help@carc.unm.edu, same as how the unresolved simcov/hwloc issue was handled in #284.The underlying CASA 6.5.2 software is still present and world-executable at a fixed path (
/opt/local/casa/6.5.2/casa-6.5.2-26-py3.8/bin/), so the rewritten doc uses that direct path + alias instead ofmodule load. Tested end-to-end on Easley viasrun:casa --nogui --log2term -c hello.py(1 task, debug partition) — ran a real Python script inside CASA, correct output.mpicasa -n 2 casa --nogui --log2term -c hello.py(2 tasks, Slurm placed them on 2 separate nodes) — both ranks correctly executed the script. (There's a benignmpirun has exited ... exiting improperlymessage at the end even on success — CASA's script mode doesn't callMPI_Finalize()cleanly; documented this as expected, not a failure.)Also replaced the fake
singleGPUpartition with Easley's real partitions (general,bigmem,h100,l40s,interactive,debug,scavenger— verified viasinfo), and PBS_NODEFILE with plain Slurm--ntasks.Test plan
module load casa/6.5.2fails and diagnosed root cause (stale Lmod cache) on Easleycasabinary runs (--version, and a real script via-c) on Easley via srunmpicasa -n 2runs the script correctly across 2 nodes on Easley via srunsinfo