llnl/axom/building
Claude Code and agent skill by llnl/axom
- community
Checking that the SKILL.md file is still in the repository.
Instructions for building Axom
Install
npx vskill@latest install llnl/axom/buildingSKILL.md
Compute-node requirement (Codex)
Only run compilation and test commands on a compute node. Determine this by running:
If it prints login, do not run ./config-build.py, cmake --build ..., or ctest .... Stop and ask the user to switch to/allocate a compute node, then continue once is_compute_node prints compute.
Axom build
This repository builds Axom against externally provided TPLs (e.g., via Spack/uberenv + a host-config).
1) Configure (recommended wrapper around CMake):
2) Build and test:
Common build options
Common CMake options (and their defaults) live in src/cmake/AxomOptions.cmake and src/cmake/CMakeBasics.cmake. Pass them at configure time as -D<OPTION>=ON|OFF, for example:
Build types (when requested)
Only set a build type when the user explicitly asks for one. Use config-build.py's -bt option, which takes a CMake build type (e.g., Debug, Release, RelWithDebInfo, MinSizeRel):
AddressSanitizer (AXOM_ENABLE_ASAN)
AddressSanitizer is available via the AXOM_ENABLE_ASAN CMake option (default: OFF). It is supported with GCC or Clang. Use it with the Debug CMake build type unless the user requests a different build type.
Host-config selection (-hc)
If the user does not specify a host-config file, determine the best match by running:
Use its output as the -hc argument (as shown in the examples above). If the user explicitly provides a host-config file/path, use that instead.
Symlinked directories in the sandbox
If configure/build commands report that an existing path is missing, inaccessible, or outside the sandbox, check whether the source, build, install, host-config, or TPL paths include symlinks. Compare logical and physical paths with:
Prefer physical paths resolved by readlink -f when invoking config-build.py (for -bp, -ip, -hc, and any explicit source/TPL paths), or restart the sandbox from the resolved workspace path. A symlinked path may appear outside the sandbox policy even when its resolved target is visible.
MPI and Slurm in the sandbox
To run MPI-enabled commands from the sandbox, launch Codex with the --mpi command-line argument. This starts a Flux instance when needed. MPI through the sandbox is single-node only. If MPI or Slurm commands fail because no Flux allocation is available, stop and ask the user to restart the sandbox with --mpi.
On Slurm-based systems, run Slurm commands through the Flux wrapper instead of the system executable, for example:
Loading the flux wrappers before launching the agent allows you to run the srun wrapper, e.g.
When configuring builds whose MPI tests use srun, override CMake's MPI launcher:
Shroud in the sandbox
If CMake configuration has trouble with Shroud in the sandbox, unset the cached Shroud executable at configure time:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/building/SKILL.md
Popularity
- Repository stars
- 197
- Repository forks
- 37
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Oct 2026, 6 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/llnl/axom/building)