Run a script (auto-setup)
ris_runSubmits scripts as Slurm jobs on WashU RIS Compute2, auto-creating project and PyTorch/TensorFlow environments if missing—no manual conda; supports GPU/CPU and dry-run previews.
Instructions
One call: ensures your project + environment exist (auto-builds a PyTorch/TF env if missing) and submits your script — GPU or CPU. No manual conda steps. dryRun preview by default; re-call with dryRun=false, confirm=true to run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"script": "<script>"
},
"name": "ris_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| script | Yes | ||
| account | No | ||
| confirm | No | ||
| envName | No | torch | |
| profile | No | Named profile from ~/.risbridge-mcp/config.json. Omit for the default. | |
| project | Yes | Project name; becomes one directory under the storage workspace. | |
| gpuCount | No | ||
| needsGpu | No | ||
| walltime | No | 01:00:00 | |
| framework | No |