Running multiple jobs simultaneously

13 views
Skip to first unread message

ransomkan

unread,
Dec 12, 2021, 10:55:45 AM12/12/21
to am...@googlegroups.com
Hello,

If you have dozens of tests that need to be done in a short time (say 12 hours), and each of your tests have a time limit of 1 hour, is there any recommended method?

Because I noticed that if you run several jobs simultaneously on the same machine, despite you setting "threads=1", it will have an impact on the computational times for all tests.

Thank you.
Message has been deleted

AMPL Google Group

unread,
Dec 14, 2021, 5:47:01 PM12/14/21
to AMPL Modeling Language
It is hard to recommend one preferred approach for your situation. Solver performance is affected by the computer hardware you use, by the solver you have chosen, and by the solver's efficiency in using multiple threads to solve the optimization problems characteristic of your particular application. Depending on all these factors, it might be best to run many jobs at a time using one thread each, or it might be best to run one job at a time using all available threads -- or the best choice might be in between these extremes.

Thus I recommend running some tests to see what tends to work best for your problems. Keep in mind that multi-threaded optimizers work on elapsed time. So if you have a one-hour time limit for tests with threads=1, you will want a shorter time limit for runs with multiple threads.


--
Robert Fourer
am...@googlegroups.com
{#HS:1724674224-107620#}
Reply all
Reply to author
Forward
0 new messages