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


1 Reply Last Post 2024年6月11日 GMT-4 21:22

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago 2024年6月11日 GMT-4 21:22

If each comsol with matlab runs independently, this seems to be a simple question.

If each comsol with matlab runs independently, this seems to be a simple question.

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.