# Tips, tricks, FAQ

## Deleting `model_output/` (or any big folder) is too long on the cluster

Yes, it takes ages because IO can be so slow, and there are many small files. If you are in a hurry, you can do

```bash
mv model_output/ model_output_old
rm -r model_output_old &
```

The first command rename/move `model_output`, it is instantaneous. You can now re-run something. To delete the renamed folder, run the second command. the `&` at the end makes it execute in the background.

## Use `seff` to analyze a job

After a job has run (either to completion or got terminated/fail), you may run:

```bash
seff JOB_ID
```

to know how much ressources your job used in your node, what was the cause for termination and so on. If you don't remember the `JOB_ID`, look for the number in the filename of the slurm log (`slurm_{JOB_ID}.out`).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iddynamics.gitbook.io/flepimop/how-to-run/tips-tricks-faq.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
