|
|
Choosing A Webhost: |
Re: Is there a qsub option for stdout?: msg#00111clustering.torque.user
> I have been trying to find an option so that when I run > qsub it returns the stdout rather than putting it in a file. > I have tried the -z, -I, -k, -j, and none of these seem to > be what I am after. Any suggestions? Am I missing > something in the man file? I assume that you want to be able to script something like this: qsub -I -l walltime=1:00:00,nodes=1:ppn=1 << EOF command_1 command_2 command_3 EOF You cannot do that, due to a limitation in the implementation. You will get the error output: qsub: standard input and output must be a terminal for interactive job submission Except for changing the implementation of 'qsub', I suggest that you examine the tool 'expect' that is able to automatically put commands into an interactive session (as 'qsub -I'), so you can make command scripts and give them to 'qsub' and still get all stdout output directly as stdout rather than putting it in a file. With the help of 'expect' you might be able to write a tool that acts somewhat like what you are looking for. BTW, I have answered similar questions previously: http://www.supercluster.org/pipermail/torqueusers/2006-April/003598.html Best regards, -- Lennart Karlsson <Lennart.Karlsson@xxxxxxxxxx> National Supercomputer Centre in Linkoping, Sweden http://www.nsc.liu.se
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: evenly queue over a pool of nodes, Adrian Sevcenco |
|---|---|
| Next by Date: | Tools for displaying usage statistics on a web-page ?, Ole Holm Nielsen |
| Previous by Thread: | Torque/maui utilization reporting and such, Peter Wyckoff |
| Next by Thread: | Re: evenly queue over a pool of nodes, Adrian Sevcenco |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |