CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   problems with batch-file, queue of jobs (http://www.cfd-online.com/Forums/cfx/23329-problems-batch-file-queue-jobs.html)

Stephan November 24, 2006 09:42

problems with batch-file, queue of jobs
 
I want to run several jobs over the weekend, the following one should start when the latter has finished.

I tried the following command line starting from my working directory in the launcher

D:\workingDIR>cfx5solve -def cfx1.def -initial cfx1.res

and it worked fine.

How do I queue the other jobs?

"D:\workingDIR>cfx5solve -def cfx1.def -initial cfx1.res cfx5solve -def cfx2.def -initial cfx2.res" did not work

neither did anything else I tried.

Please help!


Robin November 24, 2006 11:01

Re: problems with batch-file, queue of jobs
 
Put each command in separate lines in a .bat file, then run the bat file. The next line will not execute until the first cfx5solve process exits.

Bian November 27, 2006 13:14

Re: problems with batch-file, queue of jobs
 
I always use a perl script. It seems I can use a bat file to do the same thing.

Michael B November 28, 2006 05:20

Re: problems with batch-file, queue of jobs
 
It's documented at the ANSYS CFX Community web pages. Look for "Running solver jobs in batch and job scheduling"



All times are GMT -4. The time now is 05:50.