Cascadedocs

Help

Troubleshooting

Each section starts from what you see. Most problems show their cause in a trace's error, a sim's error, or a log file on the app's disk.

The trace is stuck in uploading#

The trace failed in processing#

Read the trace's error.

The profiler can't reach the bucket#

Use the S3 endpoint URL, not the app URL, with --s3-bucket cascade and --s3-addressing-style path. The profiler checks the bucket before it starts tracing, so this fails fast.

The profiler has no --s3-endpoint flag#

You're running the older profiler at the root of the app branch. Use accelsim_trace.py from the validate-accelsim-modal branch, commit b348d7d.

The token is rejected#

Use the exact CASCADE_TOKEN the app was started with. If you deployed without setting one, rerun cascade deploy --workspace <name> (or create the same workspace again on Get started). It finds the running workspace and prints its token again. Check for a trailing newline or space if you pasted it.

A config is disabled or the run gets 422#

The config's architecture differs from the trace's trace_gpu_arch. A trace only runs on configs of the GPU architecture it was captured on, so trace on that GPU instead. If a config you expect isn't listed at all, check that its gpgpusim.config is under $CASCADE_ACCELSIM_DIR/gpu-simulator/gpgpu-sim/configs/tested-cfgs/ and has a -gpgpu_clock_domains line, then restart the app.

A sim shows lost#

The sim hasn't sent a heartbeat for CASCADE_HEARTBEAT_TIMEOUT_S. It recovers by itself if it reports again. If it doesn't, read its output at $CASCADE_DATA_DIR/work/sims/<sim id>.out on its sandbox. After 10 times the timeout it fails with no heartbeat for 600s.

Every sim fails at launch#

A sim fails right away with kernelslist.g not found#

The trace has no processed traces/kernelslist.g. The stand-in simulator and Accel-Sim both need it. Check that the trace reached ready through post-processing, not through a partial upload.

The event stream goes quiet#

The stream sends : keepalive every 15 seconds when nothing happens. If even that stops, a proxy may be buffering. The app sets X-Accel-Buffering: no, but other proxies may need their own setting. If your client fell more than 2000 events behind, the app closed the stream. Reconnect to get a fresh snapshot.