[torqueusers] Standard output before the end of job

Rajil Saraswat rajil.s at gmail.com
Sat Apr 5 08:32:39 MDT 2008


Hi All,

Everytime I submit the job, the standard output and error are printed out 
after the job has finished. Is it possible to print the standard output 
immediately after the job has been submitted.

Here is how the job script looks like:
#!/bin/sh
#PBS -q default
#PBS -j eo


echo "Job execution host: " $HOSTNAME
echo "Shell: " $SHELL
echo "The host where the job was submitted: " $PBS_O_HOST
echo "The login name was used for submitting the job: " $PBS_O_LOGNAME
echo "Home directory: " $PBS_O_HOME
echo "Working directory: " $PBS_O_WORKDIR
echo "PBS environment: " $PBS_ENVIRONMENT
echo "Original queue: " $PBS_O_QUEUE
echo "Execution queue: " $PBS_QUEUE
echo "Job ID: " $PBS_JOBID
echo "Job name: " $PBS_JOBNAME
sleep 10

After submitting the jobs, i get dummy.job.e27 only after the job finishes.

Thanks
Rajil




More information about the torqueusers mailing list