schedule for job submittion
schedule for job submittion
(OP)
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
Any help would be appreciated!
latte





RE: schedule for job submittion
Pam
RE: schedule for job submittion
I am not familiar with the "batch" command. Would you give me an example how to use it? Thanks again!
latte
RE: schedule for job submittion
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
:
:
:
RE: schedule for job submittion
<EOT> = Ctrl - D
RE: schedule for job submittion
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
http://www.analysis.demon.co.uk
RE: schedule for job submittion
latte