Quantcast
Viewing latest article 1
Browse Latest Browse All 6

batch mode run time limitation

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 latest article 1
Browse Latest Browse All 6

Trending Articles