Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: using jobid in output & error file names: msg#00096

clustering.torque.user

Subject: Re: using jobid in output & error file names

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>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation