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

Running Cluster Sweep from the command line on several nodes

$
0
0

I want to use Cluster Sweep with setting After Sweep / Output to file. When I use the following command:

comsol batch -batch off -inputfile model.mph -batchlog model.log

it computes all six cases defined in Cluster Sweep but one by one. It starts with the first one and it computes it in distributed mode using 6 nodes. Then it start the second one etc. But I want to run case 1 on node 1 and case 2 on node 2 etc. in parallel. Like after checking Distribute parametric sweep in Cluster Computing. When I use this:

comsol batch -batch off -nn 6 -nnhost 1 -f nodes.txt -inputfile model.mph -batchlog model.log

it says Settings for Batch 1 are ignored in distributed mode in the log file and it saves only one result into the inputfile and it does not generate batchmodel__.mph files. I know I can use Cluster Computing + Parametric Sweep but I would prefer Cluster Sweep to have every computed case saved separately because the result files will be huge.


Viewing all articles
Browse latest Browse all 5773

Latest Images

Trending Articles



Latest Images