hpc-trilinos
Build, review, debug, and tune Trilinos-based solver workflows. Use when working with Trilinos packages such as `Tpetra`, `Epetra`, `Belos`, `Ifpack2`, `Amesos2`, `MueLu`, `Teuchos`, or `Stratimikos`, or when diagnosing Trilinos CMake, template-instantiation, MPI, and runtime integration failures.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- hpc-trilinos
- risk
- low
- domain
- high-performance-computing
- source
- { "commit": "4ea8069188", "license": "MIT", "repository": "SciMate-AI/HPC-Skills", "imported_at": "2026-09-20" }
- license
- MIT
- version
- 1.0.0
- category
- high-performance-computing
- platforms
- [ "claude-code", "cursor", "codex", "gemini", "antigravity", "copilot" ]
- subdomain
- general
- description
- Build, review, debug, and tune Trilinos-based solver workflows. Use when working with Trilinos packages such as `Tpetra`, `Epetra`, `Belos`, `Ifpack2`, `Amesos2`, `MueLu`, `Teuchos`, or `Stratimikos`, or when diagnosing Trilinos CMake, template-instantiation, MPI, and runtime integration failures.
02 资源文件 14
- 资产文件assets/templates/stratimikos_solver_params.xml879 B
- 资产文件assets/templates/tpetra_belos_ifpack2_CMakeLists.txt569 B
- 资产文件assets/templates/tpetra_belos_ifpack2_minimal.cpp2.1 KB
- 脚本assets/templates/trilinos_belos_slurm.sh410 B
- 脚本assets/templates/trilinos_cmake_configure.sh416 B
- 参考文档references/belos-ifpack2-muelu-matrix.md1.1 KB
- 参考文档references/build-and-explicit-instantiation.md1.4 KB
- 参考文档references/error-pattern-dictionary.md1.1 KB
- 参考文档references/error-recovery.md1.5 KB
- 参考文档references/linear-solver-and-preconditioner-playbook.md1.3 KB
- 参考文档references/package-enable-matrix.md863 B
- 参考文档references/package-selection.md1.4 KB
- 参考文档references/stratimikos-and-parameterlists.md773 B
- 参考文档references/tpetra-map-and-operator-playbook.md878 B
03 SKILL.md 正文
HPC Trilinos
Treat Trilinos as a package ecosystem. Choose the smallest coherent package set that matches the application's scalar types, maps, and solver needs.
Start
- Read
references/package-selection.mdbefore creating or repairing a Trilinos-based solve path. - Read
references/tpetra-map-and-operator-playbook.mdwhen distributed maps, import or export, or operator consistency is in doubt. - Read
references/linear-solver-and-preconditioner-playbook.mdwhen choosingBelos,Ifpack2,MueLu, orAmesos2. - Read
references/package-enable-matrix.mdwhen choosing the minimum coherent CMake package set for a build. - Read
references/belos-ifpack2-muelu-matrix.mdwhen mapping operator class to iterative, direct, local-preconditioner, or AMG paths. - Read
references/stratimikos-and-parameterlists.mdwhen a host code wraps Trilinos through strategy objects or nestedTeuchos::ParameterListtrees. - Read
references/build-and-explicit-instantiation.mdwhen configuring Trilinos with CMake, choosing package enables, or diagnosing template-instantiation failures. - Read
references/error-recovery.mdwhen build, link, map-consistency, or runtime solver behavior fails.
Work sequence
- Decide the linear algebra family first:
- modern distributed stack ->
Tpetra - legacy code constrained to older interfaces ->
Epetra
- modern distributed stack ->
- Keep maps, scalar types, local ordinals, and global ordinals consistent before tuning solver packages.
- Choose a baseline solve path:
- iterative ->
Belos - local relaxation or overlap preconditioning ->
Ifpack2 - multigrid ->
MueLu - direct solve backend ->
Amesos2
- iterative ->
- Start from the minimal package enable set that can express the workflow.
Guardrails
- Do not mix
TpetraandEpetracasually in one path without an explicit compatibility reason. - Do not blame
BelosorMueLufor failures caused by inconsistent maps or scalar-type mismatches. - Do not enable large swaths of Trilinos packages when only a few are needed.
- Do not ignore explicit-instantiation and template-parameter consistency when diagnosing link errors.
Additional References
Load these on demand:
references/tpetra-map-and-operator-playbook.mdfor map layout, import or export, and operator correctnessreferences/package-enable-matrix.mdfor trimmed package-enable planningreferences/belos-ifpack2-muelu-matrix.mdfor solver and preconditioner family selectionreferences/stratimikos-and-parameterlists.mdfor parameter-tree routing and wrapped solver stacksreferences/build-and-explicit-instantiation.mdfor CMake enables, package trimming, and template consistencyreferences/error-recovery.mdfor map, package, and solver integration failuresreferences/error-pattern-dictionary.mdfor quick matching of common Trilinos failure classes
Reusable Templates
Use assets/templates/ when a concrete starting point is faster than rebuilding the solve path from scratch, especially:
tpetra_belos_ifpack2_minimal.cpptpetra_belos_ifpack2_CMakeLists.txtstratimikos_solver_params.xmltrilinos_cmake_configure.shtrilinos_belos_slurm.sh
Outputs
Summarize:
- chosen linear algebra stack
- package set in use
- solver and preconditioner baseline
- build and template-instantiation decisions that matter
- the exact failure stage if the workflow is being repaired
04 同仓库更多 Skills
dei-assessment
Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.
dei-action-plan
Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.
culture-fit-assessment
Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.
cowork-to-code-bridge
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
counter-offer-response
Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.
continuous-feedback-system
Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.