building

Build Smith on HPC compute nodes using host-config selection and build workflows.

236|35|Updated Feb 24, 2020
One-click install
npx skills add https://github.com/llnl/smith --skill building-llnl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: building
Source: https://github.com/llnl/smith/tree/main/skills/building
Command: npx skills add https://github.com/llnl/smith --skill building-llnl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Building Smith on a HPC cluster can be error-prone without clear rules for compute-node usage, host-config selection, and build workflows. This Skill provides a structured, repeatable path for configuring and compiling Smith in HPC environments.

Core Features & Use Cases

  • Smith-only build: Configures against externally provided TPLs and builds Smith.
  • Codevelop build: Optionally builds submodules like mfem, axom, and tribol for a full dev environment.
  • Use Case: On an HPC cluster, use the provided host-configs and scripts to reliably produce a working Smith installation.

Quick Start

Run the determine_host_config script to select the appropriate host-config, then follow the standard configure/build sequence to compile Smith on a compute node.

Frequently Asked Questions about building

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Smith on an HPC compute node?▼

Building Smith on a compute node involves running the determine_host_config script to select the proper host-config file, then executing the standard configure and build sequence to compile the project reliably.

What is the difference between a Smith-only build and a codevelop build?▼

A Smith-only build configures against externally provided TPLs, while a codevelop build optionally includes submodules like mfem, axom, and tribol to provide a full development environment.

How does host-config selection work for HPC builds?▼

Host-config selection for HPC builds is automated by a script that checks the compute node environment and identifies the appropriate host-config file to configure the build workflow.

Can I build submodules like mfem and axom alongside Smith?▼

Yes, you can build submodules like mfem, axom, and tribol alongside Smith by using the codevelop build workflow, which includes these submodules for a full development environment.

Why do I need to use a compute node for building Smith?▼

Using a compute node is required because the build process enforces compute-node checks to ensure the HPC environment is correctly configured, preventing common build errors related to architecture mismatches.