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
Posted 24.07.2014, 09:03 GMT-4 Interfacing, Studies & Solvers Version 4.4 1 Reply
Please login with a confirmed email address before reporting spam
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
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.