photonics-dhl/dirac_solver/octopus-parallel-perf
Claude Code and agent skill by photonics-dhl/dirac_solver
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when running Octopus DFT/TDDFT calculations — select optimal mpirun -np and ParStates/ParDomains/OMP configuration for the system size. For new molecules or large systems, run a quick parallel scaling benchmark first.
Install
npx vskill@latest install photonics-dhl/dirac_solver/octopus-parallel-perfSKILL.md
The same SKILL.md was published earlier as photonics-dhl/dirac_solver/octopus-parallel-perf.
Octopus Parallel Performance Optimization Skill
Use When
- Running any Octopus GS/TDDFT calculation on HPC
- System has >10 electrons (smaller systems don't benefit from parallelization)
- Available cores: 64-core node
- Want to minimize walltime per calculation
Decision Tree: Which mpirun -np?
Key Findings (from benchmark on 64-core node)
| Molecule | Electrons | NP=1 | NP=64 | Speedup | Optimal NP | |
|---|---|---|---|---|---|---|
| CH4 | 10 | 38s | N/A | — | 1 (并行无收益) | |
| Ethanol | 26 | 125s | 11s | 11.4x | 8-16 | |
| (H2O)10 | 320 | 2310s | 137s | 16.9x | 32 |
PBS Job Template
PP Mode Input: Critical Species Format
DO NOT use file paths in Species block — species_pseudo | set | standard tells Octopus to auto-find the UPF file.
Quick Benchmark Script (7 configs, ~30 min for ethanol)
Common Pitfalls
- restart 缓存污染 — 不同并行配置共用 restart/ 目录会导致后续配置收敛极快(虚假结果)。每次运行前
rm -rf restart。
- stdin 重定向失效 —
mpirun octopus < /tmp/inp在 PBS 环境下失败。用 volume mount:--volume="$WORKDIR:/tmp:ro"+--workdir=/tmp,Octopus 自动找/tmp/inp。
- H 原子 1电子场景 — 不适合并行测例,NP=1 即最优。
- NP=64 vs NP=32 — 对 320e- 体系,NP=64 只比 NP=32 快 12%,但浪费 2x 核数。推荐 NP=32。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/octopus_parallel_perf/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/photonics-dhl/dirac_solver/octopus-parallel-perf)