# Orcaflex Post Processing Parallel Processing Details

> Sub-skill of orcaflex-post-processing: Parallel Processing Details.

- Skill: `vamseeachanta/orcaflex-post-processing-parallel-processing-details` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/orcaflex-post-processing-parallel-processing-details`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/orcaflex-post-processing-parallel-processing-details/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/orcaflex-post-processing-parallel-processing-details

---


# Parallel Processing Details

## Parallel Processing Details


The OPP module uses `ProcessPoolExecutor` for efficient batch processing:

```python
# From opp.py - parallel processing pattern
from concurrent.futures import ProcessPoolExecutor, as_completed

def process_sim_files_parallel(sim_files, cfg, max_workers=4):
    """Process multiple .sim files in parallel."""
    results = {}

    with ProcessPoolExecutor(max_workers=max_workers) as executor:
        future_to_file = {
            executor.submit(process_single_sim, f, cfg): f
            for f in sim_files
        }

        for future in as_completed(future_to_file):
            file_name = future_to_file[future]
            try:
                result = future.result()
                results[file_name] = result
            except Exception as e:
                results[file_name] = {"error": str(e)}

    return results
```

