Hi Dug, all,
> I have two very different job wrappers from two separate jobs.
> One is an ops job from CERN and one is an LHCB job from FZK.
>
> The FZK job has the old wrapper:
>
> # customization point
> if [ -n "${GLITE_LOCAL_CUSTOMIZATION_DIR}" ]; then
> if [ -f "${GLITE_LOCAL_CUSTOMIZATION_DIR}/cp_1.sh" ]; then
> . "${GLITE_LOCAL_CUSTOMIZATION_DIR}/cp_1.sh"
> fi
> fi
>
> #if [ ${__job_type} -eq 0 -o ${__job_type} -eq 3 ]; then # normal or
> interactive
> newdir="${__jobid_to_filename}"
> mkdir ${newdir}
> cd ${newdir}
> #elif [ ${__job_type} -eq 1 -o ${__job_type} -eq 2 ]; then # MPI (LSF or
> PBS)
> #fi
>
>
> and the CERN one has the new wrapper:
The new wrapper has the customization point _after_ the creation of ${newdir}!
Therefore, ${GLITE_LOCAL_CUSTOMIZATION_DIR}/cp_1.sh can no longer do a "cd"
into a non-unique directory... :-(
We will update the page with the known issues.
|