Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Run Comsol Matlab using multi processors

Please login with a confirmed email address before reporting spam

Hi folks,
I have a question about running Comsol Matlab using multi processors.

I have a 3D application that involves turbulent air flow and mass transfer. My Comsol is installed on a cluster. For now I vnc to the cluster and run "comsol -np 12" in terminal. This opens the Comsol GUI and I can run my simulation pretty good.

Now I am trying to run Comsol through Matlab to automate the process. My question is the following:
How can I run Comsol using multi processors through Matlab? As I understand now the matlab command "model.sol('sol1').runAll" calls Comsol to start computing. Does this "runAll" command use a single processor, or does it automatically use multi processors?

Any insight will be much appreciated!

Regards,
Mao

1 Reply Last Post 10 déc. 2014, 06:48 UTC−5
COMSOL Moderator

Hello Mao Mao

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.


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 10 déc. 2014, 06:48 UTC−5
Even i am looking for a solution.
Even i am looking for a solution.

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.