Best practices for single script files

If you search this forum, you will find previous threads on using Julia on a cluster, e.g.,

You will also find general documentation on the web, e.g.,

Lastly, the HPC staff of the cluster you’re planning to use should be able to give you advice for their specific system.

My general recommendation was that your job script should only call julia once. Beyond that, calling julia on the cluster isn’t that much different from running it on your workstation. Except maybe that you should be more aware of the exact resources you’re going to use, and carefully manage the number of processes/threads. The JULIA_EXCLUSIVE environment variable might be useful on a cluster.

2 Likes