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

Re: [Condor-users] Machine Classads in Jobs info (spool/history file)


If i insert in my submit file this:

+MachineProcessor_Speed = "$$([Processor_Speed])"

then the job is held with this message:

Cannot expand $$([Processor_Speed])

On the other hand, if i insert this in the condor_config file:

MachineProcessor_Speed = "$$([Processor_Speed])"
SUBMIT_EXPRS = $(SUBMIT_EXPRS) MachineProcessor_Speed

I don't receive anything in the history file when jobs finish.

I tried to insert those two lines in the condor_config.local of the
submitter machine and then i get the same error than in the submit file

Any ideas?


> To insert an attribute named X from the machine ClassAd into the job
> ClassAd, you can put the following in the job submit file:
> +MachineX = "$$([X])"
> In the job history ClassAd, this will be stored in the job Ad as
> MATCH_EXP_MachineX = "whatever".
> Or if you want this to happen for all jobs, without having to insert
> that into the submit file, put this in your configuration:
> MachineX = "$$([X])"
> --Dan
> Daniel Tardón wrote:
>> Hi
>> i'd like to know how can i get in the jobs info, that is written in the
>> spool/history file, the classads that i have added to each machine
>> configuration.
>> For example:
>> I hava myClassAdd = myValue in a condor_config.local in a machine. Now i
>> want to see that classad and its value in the history file for each job
>> that this machine runs.
>> Sorry my english.
>> Thanks
> _______________________________________________
> 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/

Daniel Tardón (daniel@xxxxxxxxxx)
Grupo Grid de Cediant