...
The above command is good for running single programs. If you'll be doing something that will invoke multiple parallel processes or threads, like a parallel make or multi-threaded program, you might want to add a --cpus-per-task=N
flag to allocate more cores. Note that on Talapas, using --ntasks
(or -n
) instead of --cpus-per-task
(or -c
) is virtually always the wrong thing to do, and will make your session run more slowly.
Running Graphical Interactive Jobs
...