Turning off parallelisation

Topics related to Spinach package
Post Reply
faq_user
Posts: 49
Joined: Tue Jul 13, 2021 8:33 am

Turning off parallelisation

Post by faq_user »

Can I we turn off parallel calculations? I have a lot of short calls to Spinach and it seems that my program is wasting time in the management the parallel queues.
kuprov
Posts: 202
Joined: Mon Mar 29, 2021 4:26 pm

Re: Turning off parallelisation

Post by kuprov »

Yes; tell Matlab not to start the parallel pool automatically (Parallel Preferences). For lots of very small calculations that is probably a good idea.
Post Reply