miniapps-and-benchmarks

Validate JustRelax.jl solver changes by executing predefined miniapps and benchmarks.

40|12|Updated Sep 1, 2021
One-click install
npx skills add https://github.com/PTsolvers/JustRelax.jl --skill miniapps-and-benchmarks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: miniapps-and-benchmarks
Source: https://github.com/PTsolvers/JustRelax.jl/tree/main/.claude/skills/miniapps-and-benchmarks
Command: npx skills add https://github.com/PTsolvers/JustRelax.jl --skill miniapps-and-benchmarks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps validate solver and physics changes in the JustRelax.jl package by running predefined miniapps and benchmarks.

Core Features & Use Cases

  • Miniapps: Full model setups for benchmarks and convection/subduction models.
  • Validation: Ensure solver/physics changes work as expected in end-to-end tests.
  • Use Case: Use this Skill to test a physics change after unit tests to validate its impact on complex simulations.

Quick Start

Use the miniapps-and-benchmarks skill to run the benchmark 'stokes2D/solkz.jl'.

Frequently Asked Questions about miniapps-and-benchmarks

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

FAQPage Schema
How do I validate solver and physics changes in multi-physics simulations?

You can validate solver and physics changes by executing predefined miniapps and benchmarks using the JustRelax.jl package. This process runs end-to-end tests on complex setups like convection models to ensure simulation changes work as expected.

What is the best way to test iterative pseudo-transient solvers beyond unit tests?

Running predefined miniapps and benchmarks offers end-to-end testing for iterative pseudo-transient solvers. This approach validates the impact of physics changes on complex multi-physics simulations beyond basic unit tests.

Can I run multi-physics benchmarks with JustRelax.jl on CPU and GPU backends?

Yes, JustRelax.jl supports validating multi-physics simulation changes using miniapps across MPI, CPU, and GPU backends. This allows comprehensive end-to-end testing of iterative solvers in different hardware environments.

When do I need to run miniapps for simulation validation?

You should run miniapps after completing unit tests to validate a physics or solver change. This ensures your modifications work correctly in full model setups like convection and subduction simulations.

How do I execute a specific benchmark like stokes2D in JustRelax.jl?

To execute a specific benchmark, you can run the miniapps-and-benchmarks skill to execute benchmark scripts like 'stokes2D/solkz.jl'. This validates solver changes against predefined full model setups.

Does JustRelax.jl miniapp validation support MPI backends for multi-physics simulations?

Yes, JustRelax.jl miniapp validation supports MPI backends for multi-physics simulations. It enables end-to-end testing of iterative pseudo-transient solvers across MPI, CPU, and GPU configurations.