-
Filter by Topic
Most Popular
All Topics
- List all discussions
Queue the simulations
|
Thread index | Previous thread | Next thread | Start a new discussion |
March 15, 2010 11:56am UTC
Queue the simulations
Hi,
I am looking for some way to queue the simulation files in the batch mode in Comsol/Matlab.
Please share your expertise.
Thanks,
Rakesh
Reply | Reply with Quote | Send private message | Report Abuse
March 15, 2010 1:29pm UTC in response to Rakesh Dhote
Re: Queue the simulations
I did it with python queue manager. For a quick tutorial look at my blog at http://taher-zadeh.com
Reply | Reply with Quote | Send private message | Report Abuse
March 15, 2010 1:42pm UTC in response to Danial Tz
Re: Queue the simulations
Thanks Daniel,
I am new to Python. Could you please elaborate in detail, how to setup the directory and call Matlab from Python?
Thanks,
Rakesh
Reply | Reply with Quote | Send private message | Report Abuse
March 15, 2010 3:38pm UTC in response to Rakesh Dhote
Re: Queue the simulations
you simply use the OS package to run command lines. So it would be like you type the command in the command prompt.
I run the job manager, and where it say "# do processing stuff here" I just run lets say os.system('comsol matlab -i ....'). Your code should terminate at the end, so the manager can understand when to give new task.
Reply | Reply with Quote | Send private message | Report Abuse
March 15, 2010 4:29pm UTC in response to Rakesh Dhote
Re: Queue the simulations
Hi, there is also some information here:
http://www.comsol.com/support/knowledgebase/980/
Niklas
Reply | Reply with Quote | Send private message | Report Abuse
Rules and guidelines

