CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

submit/queue batch job

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2009, 05:51
Default submit/queue batch job
  #1
star
Guest
 
Posts: n/a
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!
  Reply With Quote

Old   February 19, 2009, 23:04
Default Re: submit/queue batch job
  #2
star
Guest
 
Posts: n/a
no one has ever done job queueing on windows?

  Reply With Quote

Old   February 20, 2009, 00:04
Default Re: submit/queue batch job
  #3
Bubba
Guest
 
Posts: n/a
I don''t even like checking my e-mail on Windows.
  Reply With Quote

Old   February 20, 2009, 02:20
Default Re: submit/queue batch job
  #4
star
Guest
 
Posts: n/a
cpu's are cheaper on windows desktops, quad core for a couple of thousands, $$. Situations change rapidly, dynamically, rigid loyalty serves little.

  Reply With Quote

Old   February 20, 2009, 05:55
Default Re: submit/queue batch job
  #5
HS
Guest
 
Posts: n/a
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
  Reply With Quote

Old   February 20, 2009, 08:40
Default Re: submit/queue batch job
  #6
star
Guest
 
Posts: n/a
yes! will try yours! thanks, maybe it works with star-cd too!

  Reply With Quote

Old   February 22, 2009, 13:22
Default Re: submit/queue batch job
  #7
Chris
Guest
 
Posts: n/a
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.

  Reply With Quote

Old   February 22, 2009, 19:59
Default Re: submit/queue batch job
  #8
star
Guest
 
Posts: n/a
hey thanksss for the tip!
  Reply With Quote

Old   February 24, 2009, 17:25
Default Re: submit/queue batch job
  #9
Andy R
Guest
 
Posts: n/a
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
  Reply With Quote

Old   February 25, 2009, 04:33
Default Re: submit/queue batch job
  #10
star
Guest
 
Posts: n/a
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.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with batch-file, queue of jobs Stephan CFX 3 November 28, 2006 04:20
[OpenFOAM] Trying to submit soon Paraview reader tj22 ParaView 3 June 5, 2006 14:07
Did anyone here submit a paper to this conference Feitoudaer Main CFD Forum 0 May 15, 2006 13:01
submit batch job using PBS ali CFX 1 October 27, 2005 13:11
submit job Adam FLUENT 1 May 29, 2004 03:36


All times are GMT -4. The time now is 01:14.