Mailing List Archives
	Authenticated access
	
	
     | 
    
	 
	 
     | 
    
	
	 
     | 
  
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] defaults for submit files
- Date: Mon, 21 Jun 2010 14:30:39 -0500
 
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
 
- Subject: Re: [Condor-users] defaults for submit files
 
dalonso wrote:
How does one set system wide defaults for condor submit description files?
E.G. I want all jobs submitted on our main submit host to default to:
copy_to_spool=FALSE
 I'm on the verge of replacing condor_submit with a perl wrapper that 
does that.
Could  that be set when I installed?
Not sure what version of Condor you are using, but in recent versions of 
Condor copy_to_spool defaults to false for all job universes besides 
STANDARD.
To answer your question: for most job attributes, you can use 
SUBMIT_EXPRS (see below).  But I don't think SUBMIT_EXPRS will help you 
here, as copy_to_spool is a bit different, since it isn't just an 
attribute in the job classad - the value of copy_to_spool is not just 
copied into the job classad, but it actually tells condor_submit if it 
should send the executable to the schedd or not.
You could prolly make use of the "-a" command-line option to 
condor_submit, however, as it will make your wrapper trivial (i guess it 
could even just be a shell alias).
regards,
Todd
From the Condor Manual:
SUBMIT_EXPRS
    A comma-separated list of ClassAd attributes to be inserted into 
all the job ClassAds that condor_submit creates. This is equivalent to 
the "+" syntax in a submit description file. Attributes defined in the 
submit description file with "+" will override attributes defined in the 
configuration file with SUBMIT_EXPRS. Note that adding an attribute to a 
job's ClassAd will not function as a method for specifying default 
values of submit description file commands forgotten in a job's submit 
description file. The command in the submit description file results in 
actions by condor_submit, while the use of SUBMIT_EXPRS adds a job 
ClassAd attribute at a later point in time.
Thanks,
Darwin
Darwin O.V. Alonso
dalonso@xxxxxxxxxxxxxxxx
Dept. Biochem. J558-HSB
University of Washington
1705 NE Pacific St
Seattle WA 98195-7350
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
--
Todd Tannenbaum                       University of Wisconsin-Madison
Center for High Throughput Computing  Department of Computer Sciences
tannenba@xxxxxxxxxxx                  1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                 Madison, WI 53706-1685