|
|
Choosing A Webhost: |
Re: using jobid in output & error file names: msg#00096clustering.torque.user
Yup, the config.log has: ac_cv_func_wordexp=yes I tried another tack this time. I have the following #PBS -S /bin/sh #PBS -k oe #PBS -e /home/some_reg_user/FT72/hostname.error_user001.$PBS_JOBID #PBS -o /home/some_reg_user/FT72/hostname.output_user001.$PBS_JOBID #PBS -N new_name #PBS -V #PBS -l nodes=node017,walltime=00:05:00 /bin/hostname This produced error and output files but instead of them being in the FT72 directory with the name specified they ended up in /home/some_reg_user/ as new_name.e6278 and new_name.o6278 so my naming specifications above got ignored. Is there some specific order in which the various #PBS lines above should be listed in my pbs job script? BTW, this is with torque-2.1.1 from around June 23rd. -----Original Message----- >From: Garrick Staples <garrick@xxxxxxxxxxxxxxxxxxxx> >Sent: Jul 17, 2006 6:43 PM >To: torqueusers@xxxxxxxxxxxxxxxx >Subject: Re: [torqueusers] using jobid in output & error file names > >On Mon, Jul 17, 2006 at 07:43:47PM -0400, Steven A. DuChene alleged: >> By default the PBS system uses the jobname and then appends some >> form of the jobid to get the names of the files for output and errors. >> >> so those files by default would look like: >> >> jobname.e76654 >> jobname.o76654 >> >> where 76654 is the jobid. >> >> However it is possible to change the name of those output and error >> files using: >> >> #PBS -o testing.output >> #PBS -e testing.errors >> >> But then the jobid is no longer part of the resulting filenames. >> I have tried the following syntax: >> >> #PBS -o testing.output.$PBS_JOBID >> #PBS -e testing.errors.$PBS_JOBID >> >> but all I get for filenames is: >> >> testing.output. >> testing.errors. >> >> with nothing after the second dot. >> >> Is there another syntax I should be using to rename the output and >> error files but still be able to pass in the jobid as part of those renamed >> files? > >If configure found wordexp, then those variables should work. Check the >output of your configure or 'grep wordexp config.log' should report >"yes". > >_______________________________________________ >torqueusers mailing list >torqueusers@xxxxxxxxxxxxxxxx >http://www.supercluster.org/mailman/listinfo/torqueusers
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: RE: RE: more maui Q..., Sam Rash |
|---|---|
| Next by Date: | Re: using jobid in output & error file names, Garrick Staples |
| Previous by Thread: | Re: using jobid in output & error file names, Garrick Staples |
| Next by Thread: | Re: using jobid in output & error file names, Garrick Staples |
| 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 |