![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| commands to be executed in order for a batch jobs! | faizlo | Shell Programming and Scripting | 1 | 01-22-2009 01:02 AM |
| Removal of at and batch jobs | palash2k | UNIX for Dummies Questions & Answers | 1 | 10-16-2008 06:21 AM |
| How to write a Script to run series of batch jobs on unix platform | venki311 | Shell Programming and Scripting | 2 | 07-30-2006 03:26 PM |
| exit unix, but says running jobs | yls177 | UNIX for Dummies Questions & Answers | 6 | 10-25-2002 04:08 AM |
| Deleting a batch of print jobs | orvelb | UNIX for Dummies Questions & Answers | 1 | 02-09-2001 12:20 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Unix Batch command, and running jobs in queues.
Hello all, I have a quick question. I work in a computational science laboratory, and we recently got a few mac pros to do molecular optimizations on. However, on our normal supercomputers, there are queue systems, mainly PBS.
Anyway, the macs obviously don't have PBS, but I've read about the "batch" and "at" commands in unix. What I want to do is create a batch file, with multiple commands in it (basically multiple job submit commands), and I want the first one to run immediately, and the second one to run as soon as the first one finishes. I know that there are different queues used with this command. Accessed by the "-q x" where x is the queue you want. So technically I want to have two different queues cause I want two different jobs to run at the same time. So I've made a batch file containing four lines that submit four different jobs, like so... g09 model1.txt & g09 model2.txt & g09 model3.txt & g09 model4.txt & CTRL-d However, when I submit it, I don't see anything running when I use the top command, like I do when I just submit the job without using batch. The command I used to submit the batch file was. batch -q b -f batch1.txt And I'm in the folder that "batch1.txt" is in. What am I doing wrong? Thanks in advance... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|