Hi again
I did the change, commenting the line
$count = File::Path::rmtree($scratch_directory);
and adding the line
$count = 0;
but when the job finish the directory globus-tmp.xxxxx disappears. I got
this error in batch.err:
/home/dteam001/globus-tmp.sa3-wn001.25707.0_copia: Permission denied
/home/dteam001/globus-tmp.sa3-wn001.8834.0: not a regular file
rm: cannot chdir from `.' to
`/home/dteam001/globus-tmp.sa3-wn001.25707.0_copia': Permission denied
globus-tmp.sa3-wn001.25707.0_copia is a backup made when the job is
runnig with root permissions. I don't know why the job script try to
delete it too.
Cheers and thanks
Alvaro
> Alvaro Simon Garcia wrote:
>
>> Dear All,
>>
>> We are testing the jobs submitted by our lcg-CE to glite-wn and we
>> want to check the temporal directories like
>> globus-tmp.<node>.<jobid>.<ret> generated into the user's home
>> directory during job execution. Unfortunately these directories are
>> deleted after job is finished. Which file from perl jobmanagers we
>> have to edit to avoid this?
>
> Try commenting out the following line in the subroutine
> "remove_scratchdir"
> in /opt/globus/lib/perl/Globus/GRAM/JobManager.pm:
>
> $count = File::Path::rmtree($scratch_directory);
>
> Add this line:
>
> $count = 0;
>
>
|