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

Re: [Condor-users] Using Condor-C grid universe



OK, I think I may have answered my own question with help from Mr. Google and
from RTFMing! :)
 
The +remote_whatever in the submit file inserts DIRECTLY into the Job's ClassAd.
 

Note: attributes set with '+' are inserted directly into the job's ClassAd. Specify attributes as they must appear in the job's ClassAd, not the job submission file.

i.e. in the submit file it might be

When_To_Transfer_Output

but in the Job ClassAd it appears as

WhenToTransferOutput

Is there a list of submit file command "attributes" to job classad conversions?
Or is just basically removing the underscores? This would appear to be the case looking
at any condor_q -l output.
 
Thanks.
 
Cheers
 
Greg
 

Dr. Greg Hitchen
Physical Scientist | Electron Beam Laboratory
Earth Sciences and Resource Engineering
CSIRO

Phone: +61 8 6436 8663 | Fax: +61 8 6436 8555 | Mobile: 0407 952 748 
greg.hitchen@csiro.au | www.csiro.au | www.csiro.au/org/CESRE

Address: 26 Dick Perry Avenue, Kensington WA 6151

PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.

Please consider the environment before printing this email.

 


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Greg.Hitchen@xxxxxxxx
Sent: Wednesday, 19 May 2010 12:11 PM
To: condor-users@xxxxxxxxxxx
Subject: [ExternalEmail] [Condor-users] Using Condor-C grid universe

We have also been playing with submitting jobs using Condor-C.
 
These are jobs submitted from a windows PC to a condor grid resource.
 
The remote schedd and cm is running on a linux machine.
 
This seems to mostly work OK, however the transfer of input files does not seem
to be occurring. I'm slightly? confused by the documentation in section 5.3.1
where it refers to using +remote_whatever so that the remote machine understands
the attributes of the job.
 
The examples given include:
 
****************************************************************************************************
As an example, a submit description file would ordinarily contain
 
when_to_transfer_output = ON_EXIT
 
This must appear in the Condor-C job submit description file as
+remote_WhenToTransferOutput = "ON_EXIT"
 
AND
 
For the given example, the job is to be run as a vanilla universe job at the remote pool.
The (remote pool's) condor_schedd daemon is likely to place its job queue data on a local
disk and execute the job on another machine within the pool of machines. This implies that
the file systems for the resulting submit machine (the machine specified by remote_schedd)
and the execute machine (the machine that runs the job) will not be shared. Thus, the two
inserted ClassAds
 
+remote_ShouldTransferFiles = "YES"
+remote_WhenToTransferOutput = "ON_EXIT"
 
are used to invoke Condor's file transfer mechanism.
 
*******************************************************************************************************

Notice the different syntaxes, i.e. the lack of underscores in the +remote commands
compared with the "standard" syntax as they would normally appear in a submit file.
 
A condor_q -l for the job on the remote schedd shows these appearing exactly as in
the original submit file, with the +remote stripped off.
 
Anyway, I've tried both ways and still can't seem to get input files across.
 
Submit file currently looks like:
 

universe = grid

grid_resource = condor condor-per.vm.csiro.au condor-per.vm.csiro.au

executable = cpubound.exe

output = cpubound_$(Cluster)_$(Process).out

error = cpubound_$(Cluster)_$(Process).err

log = cpubound_$(Cluster)_$(Process).log

+remote_requirements = (OpSys == "WINNT51")

+remote_Shortjob = "True"

+remote_rank = "ConsoleIdle"

+remote_arguments = "10"

+remote_transfer_input_files = "D7EG9AB.egs,auto_design7.pegsdat,egs.exe"

+remote_transfer_files = "ALWAYS"

+remote_jobuniverse = 5

+remote_Should_Transfer_Files = "YES"

+remote_When_To_Transfer_Output = "ON_EXIT"

#+remote_ShouldTransferFiles = "YES"

#+remote_WhenToTransferOutput = "ON_EXIT"

queue 1

 
 
Thanks for any help.
 
Cheers
 
Greg
 

Dr. Greg Hitchen
Physical Scientist | Electron Beam Laboratory
Earth Sciences and Resource Engineering
CSIRO

Phone: +61 8 6436 8663 | Fax: +61 8 6436 8555 | Mobile: 0407 952 748 
greg.hitchen@csiro.au | www.csiro.au | www.csiro.au/org/CESRE

Address: 26 Dick Perry Avenue, Kensington WA 6151

PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.

Please consider the environment before printing this email.