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

batch mode run time limitation

$
0
0
Hello everyone,
I have a set of models that I want to run in a .bat file as follows:

"C:\Program Files\COMSOL\COMSOL44\bin\win64\comsolbatch" -inputfile D:\temp\test1.mph
"C:\Program Files\COMSOL\COMSOL44\bin\win64\comsolbatch" -inputfile D:\temp\test2.mph
"C:\Program Files\COMSOL\COMSOL44\bin\win64\comsolbatch" -inputfile D:\temp\test3.mph
. .
.

However I need to define a run time limit of 30minutes for each model. So if each of them is now finished in 30 min I want it to be killed and continue to run the next model.

Can anyone help me through this.
Thanks in advance
Ehsan

Viewing all articles
Browse latest Browse all 26527

Trending Articles