Skip to content
Back to skills

Docs

ASecurity

Run ParFlow, monitor convergence via kinsol.log, and validate output files.

  • 231 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
toolspythongo

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lzwei196-docs-7f62b8e3/badge)](https://www.skillsdirectory.com/skills/lzwei196-docs-7f62b8e3)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# S8: Execution — Skill Document

## Purpose

Run ParFlow, monitor convergence via kinsol.log, and validate output files.

## Execution Methods

| Method | Command | When |
|--------|---------|------|
| Python pftools | `python run_<name>.py` | Default (most convenient) |
| Direct MPI | `mpirun -np N parflow <name>` | Production runs |
| TCL | `tclsh <name>.tcl` | Legacy scripts |

## Memory Estimation

```
Memory (GB) ~ NX * NY * NZ * 200 bytes / 1e9
```
- 100x100x15 = 30 MB (trivial)
- 500x500x20 = 1 GB (workstation)
- 1000x1000x20 = 4 GB (server)

## kinsol.log Interpretation

| Pattern | Meaning | Action |
|---------|---------|--------|
| nni < 10 | Good convergence | None needed |
| nni 10-50 | Acceptable | Monitor |
| nni 50-100 | Marginal | Consider reducing dt |
| nni > 100 | Poor convergence | Reduce dt or improve IC |
| nni = MaxIter | Solver failed | MUST reduce dt |

## Procedure

1. **Run** `run_parflow.py` with run directory and name.
2. **Monitor** runtime (check expected runtime table in SKILL.md).
3. **Check** exit code: 0 = success, non-zero = error.
4. **Check** output: pressure and saturation PFB files should exist.
5. **Check** kinsol.log: mean iterations < 50 is acceptable.

## Common Pitfalls

- **Distributed PFB** (dt_pf_040): MPI runs produce one file per rank. Must combine.
- **Timeout**: Large domains can run for hours/days. Do NOT kill prematurely.
- **SIGABRT**: Some gfortran versions emit SIGABRT after clean completion (check output files, not just exit code).

Files in this skill

  • REFERENCES.md1.7 KB
  • format_spec.yaml39.8 KB
  • papers.json5.4 KB
  • s1_domain_skill.md3 KB
  • s2_subsurface_skill.md2.6 KB
  • s3_topography_skill.md1.1 KB
  • s4_clm_skill.md1 KB
  • s5_forcing_skill.md1.3 KB
  • s6_ic_bc_skill.md1.8 KB
  • s7_solver_skill.md1.7 KB
  • s8_execution_skill.md1.5 KB
  • s9_output_skill.md1.8 KB
  • validation_convention.yaml20.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.