I am having problems submitting CLAS ofline batch jobs to the farm. The
mail message returns with:
======================================================================
Job <jun97_000157> was submitted from host <farms0> by user <holtrop>.
Job was executed on host(s) <farms2>, in queue <priority>, as user
<holtrop>.
</home/holtrop> was used as the home directory.
</tmp> was used as the working directory.
Started at Mon Jun 16 19:49:16 1997
Results reported at Mon Jun 16 19:49:27 1997
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
# LSF script - generated by JOBS Jun 16 1997 19:48:58
#!/bin/csh
#BSUB -J jun97_000157
#BSUB -P jun97
#BSUB -R "solaris"
#BSUB -c 60000
#BSUB -u holtrop@jlab.org
setenv WORKDIR /scratch/lsf/holtrop_$LSB_JOBID
mkdir -p $WORKDIR
cd $WORKDIR
setenv JOB_ID $LSB_JOBID
rfcp mss1.cebaf.gov:/work/clas/disk2/jun97/data/clas_17rocs_003150.a00
$WORKDIR/clas_17rocs_003150.a00
cp /work/clas/disk2/jun97/src/jun97a_batch.tcl000157 $WORKDIR/
/work/clas/disk2/jun97/src/jun97a_batch000157
cd
\rm -r $WORKDIR
) > $LSB_JOBFILENAME.shell
chmod u+x $LSB_JOBFILENAME.shell
$LSB_JOBFILENAME.shell
saveExit=$?
/bin/rm -f $LSB_JOBFILENAME.shell
(exit $saveExit)
------------------------------------------------------------
Successfully completed. CPU time used is: 4.3 sec.
The output (if any) follows:
rfcp: Command not found
update project=jun97 entry=000157 status=started
update project=jun97 entry=000157 status=completed
====================================================================
It appears to me that your javaprogram jsub uses the rfcp command, but
can't locate it on the farm. As a result, it seems the data does not get
copied to the farm disk, and the analysis code returns after very little
work.
I don't know how to tell your java program that rfcp is located in
/apps/bin, which was in my PATH at the time I submitted the job.
Could you please check into this ?
Regards,
Maurik Holtrop