Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

Run Comsol Matlab using multi processors

$
0
0
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

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>