Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

schedule for job submittion

Status
Not open for further replies.

hklatte

Mechanical
Dec 2, 2004
8
Hi, I have got some jobs waiting to submit, but I have only one abaqus server. Is there any way to submit a job automatically once the previous job has completed? Or is there any way to schedule a time when a job is submitted?

Any help would be appreciated!

latte
 
Replies continue below

Recommended for you

Jobs are automatically queued by abaqus if not enough license tokens available. On Linux/Unix OS try 'batch' command. Works fine.

Pam
 
Thank you for your reply, Pam,

I am not familiar with the "batch" command. Would you give me an example how to use it? Thanks again!

latte
 
Hi Latte,
see example below. Abaqus jobs are queued in the 'at' queue and are started if loadfactor of the computer is low. This normally is the case when the previous job has been finished.
Try 'man batch' to find out more about batch command.

Cheers
Pam

hr:/scratch/hste <235> batch
warning: commands will be executed using /bin/sh
at> abaqus job=job1
at> <EOT>
job 118 at 2004-12-03 08:53
hr:/scratch/hste <236> batch
warning: commands will be executed using /bin/sh
at> abaqus job=job2
at> <EOT>
job 119 at 2004-12-03 08:54
:
:
:
 
hklatte,
This is how I do it. Write a file, let's call it 'run.bat', with the following (say) 3 lines lines in it:

abaqus interactive j=job1
abaqus interactive j=job2
abaqus interactive j=job3

where 'abaqus' is the command to run the program on your machine. Type the command

chmod a+rx run.bat

and then submit the runs as follows:

run.bat &

The "&" places the job in the background.

MRG

 
Thank you very much for the help! I am trying it now :)

latte
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor