ワンクリックで
cli-executable-sweep
Perform a parameter sweep over an external executable using the ensemblesweep CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Perform a parameter sweep over an external executable using the ensemblesweep CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | cli_executable_sweep |
| description | Perform a parameter sweep over an external executable using the ensemblesweep CLI. |
Use this skill to evaluate a compiled binary or shell script across a parameter grid using ensemblesweep exe. The variables in the sweep are passed as positional arguments to the executable.
./my_binary or /path/to/exe).Data object.Always perform a dry run first to verify the total number of evaluations and parameter types.
ensemblesweep exe --app ./my_binary \
--var "param1=start:stop:num" \
--var "param2=val1,val2,val3" \
--dry-run
Run the actual sweep, specifying the number of workers and how to read the output.
ensemblesweep exe --app ./my_binary \
--out-file results.stat \
--var "mass=1.0,2.0,3.0" \
--var "velocity=10.0:100.0:10" \
--workers 4 \
--save-csv sweep_results.csv \
--quiet
--out-file is NOT specified, ensemblesweep will read the last line of the executable's stdout. This line must contain the result (e.g., a single float or a space-separated row of floats).--out-file IS specified, the executable must write its results into that file. ensemblesweep will read the last line of that file.np.loadtxt. The last row will be taken as the result for that evaluation.Executables often involve complex MPI environments or library path dependencies that are brittle.
workflow_xxxx/sweep_xxxx/simxxxx/*.err) and report the findings to the user.--app flag, it is often safer to use an absolute path ($(pwd)/my_binary) or a clear relative path (./my_binary).--dry-run to check the grid size before launching parallel processes.--save-* flags to ensure the final data is persisted in a format you can easily parse later.--globus-compute-endpoint <UUID> to execute the sequence remotely. However, for executables with complex file dependencies, prefer using the programmatic_sweep_api skill to handle data movement explicitly.