How to temporarily assign the number of cpu cores through matlab?

Please login with a confirmed email address before reporting spam

Hi there,

I want to run several modelings at the same time through opening several terminals of comsol with matlab.

The question is the size of the models varies from case to case. I think it would be more efficient to assign different number of cpu cores through matlab code for each specific modeling. Is it possible to run several modeling assigned with different number of cores at the same time?

More importantly, I know how to change the number of cores through comsol gui. I was wondering how to temporarily change it through matlab code.

Thank you so much!

Best


0 Replies Last Post 2024年5月31日 GMT-4 23:09
COMSOL Moderator

Hello HC L

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.