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.
batch mode run time limitation
Posted 2014年3月24日 GMT-4 11:45 Cluster & Cloud Computing Version 4.4 1 Reply
Please login with a confirmed email address before reporting spam
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
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
1 Reply Last Post 2014年3月27日 GMT-4 08:04