[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor_submit: how to clean up the files in the remote_initialdir

On Jun 17, 2005, at 1:46 PM, Helen Zhan wrote:

I used condor_submit to submit a job to the remote server with tranferring the input files from the submission server to the remote server and transferring output files back from the remote server to the submission server. After job execution, the input and output files remains in the "remote_initialdir" directory on the remote server.

The following is the script that I used for condor_submit:

executable = /home/helen/a.out
arguments = 1 2 3
remote_initialdir = /home/helen/
Transfer_Executable = false
globusscheduler = hpc2.hpc.ufl.edu/jobmanager-pbs
universe = globus
output = $(Process).out
error = $(Process).err
log = $(Process).log
transfer_output_files = aOut.html
should_transfer_files = YES
when_to_transfer_output = ON_EXIT

Does anyone know how to clean up these files after job execution with Condor? If you know if, please kindly suggest.

If you don't define remote_initialdir, Condor will ask Globus to create a working directory for the job that Globus will delete after the job completes. Condor has no other way to clean up job files on the remote host.

|            Jaime Frey            |  Public Split on Whether        |
|        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
|  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |