Back to skills
SKILL.md
Docs
ASecurityRun ParFlow, monitor convergence via kinsol.log, and validate output files.
- 231 stars
- 0 votes
- 0 copies
- 2 views
- Added September 11, 2026
Security analysis
100/100Pro scans all 14 files and shows the line behind each finding
npx -y skills add lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill docs --agent claude-codeAre you the author of Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lzwei196-docs-7f62b8e3)# 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.md
- format_spec.yaml
- papers.json
- s1_domain_skill.md
- s2_subsurface_skill.md
- s3_topography_skill.md
- s4_clm_skill.md
- s5_forcing_skill.md
- s6_ic_bc_skill.md
- s7_solver_skill.md
- s8_execution_skill.md
- s9_output_skill.md
- validation_convention.yaml
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.