Thursday 15 July 2010

stdout - PBSPro qsub output error file directed to path with jobid in name -



stdout - PBSPro qsub output error file directed to path with jobid in name -

i'm using pbspro , trying utilize qsub command line submit job can't seem output , error files named how want them. using:

qsub -n ${subjobname_short} \ -o ${path}.o{$pbs_jobid} -e ${path}.e${pbs_jobid} ... submission_script.sc $path=fulljobname (i.e. more 15 characters)

i'm aware $pbs_jobid won't set until after job submitted...

any ideas?

thanks

if want ${pbs_jobid} resolved pbspro, need escape on command line:

qsub -o \$pbs_jobid

otherwise, bash effort resolve $pbs_jobid before gets qsub command. don't know if $subjobname_short , $path actual environment variables or ones want pbs resolve, if want pbs resolve them you'll need escape these ones or place within job script.

note: notice -o argument says {$pbs_jobid} , i'm pretty sure want ${pbs_jobid}. don't know if that's typo in question or tried pass qsub.

stdout stderr pbs qsub

No comments:

Post a Comment