![]() |
submit/queue batch job
Hello! anyone can tell me how to submit a job to be running 3 hours from now on a windows computer? Any script or procedure you can share? thanks in advance!
|
Re: submit/queue batch job
no one has ever done job queueing on windows?
|
Re: submit/queue batch job
I don''t even like checking my e-mail on Windows.
|
Re: submit/queue batch job
cpu's are cheaper on windows desktops, quad core for a couple of thousands, $$. Situations change rapidly, dynamically, rigid loyalty serves little.
|
Re: submit/queue batch job
Do you mean something like this?
@echo off set starccmplus="C:\Program Files\CD-adapco\STAR-CCM+ 3.06.006" set run1=simulation1.sim set run2=simulation2.sim set nodes=5 REM----------------------------------------------------------- echo The STAR-CCM+ installation is %starccmplus% echo %date% - %time% - STARTING BATCH > log.txt pause REM Run the *.sim until the first stopping criteria is reached REM----------------------------------------------------------- echo %date% - %time% - START %run1% >> log.txt %starccmplus%\starccm+ -np %nodes% -batch run1 echo %date% - %time% - Complete %run1% >> log.txt sleep 5 REM----------------------------------------------------------- echo %date% - %time% - START %run2% >> log.txt %starccmplus%\starccm+ -np %nodes% -batch run2 echo %date% - %time% - Complete %run2% >> log.txt sleep 5 echo %date% - %time% - BATCH FINISHED >> log.txt |
Re: submit/queue batch job
yes! will try yours! thanks, maybe it works with star-cd too!
|
Re: submit/queue batch job
Use the Windows Task Scheduler to schedule when to run the job. Start > Program Files > Accessories > System Tools > Scheduled Tasks (for XP) or Task Scheduler (vista).
Using a batch script in as above in conjunction with the task scheduler is the most flexible. If you are getting new systems, look at Windows HPC Server which provides a job scheduler for clusters with resource allocation. |
Re: submit/queue batch job
hey thanksss for the tip! :D
|
Re: submit/queue batch job
Why would the windows box be cheaper. Any quad core box I can by with windows I can by with LINUX for less. We have a fairly large Beowulf cluster here, but for some programs we buy a single box just as you describe but with LINUX installed. We save the price of Windows and most analysis codes will run faster on it.
Nothing rigid about wanting the cheapes simplest solution. When that becomes windows, I will be happy to change. - Andy R |
Re: submit/queue batch job
no preference, just maximizing usage on windows, linux and unix. Already have a batch script for linux and unix. Next time could be asking for scripts to queue on xbox.. who knows.
|
| All times are GMT -4. The time now is 05:22. |