Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Configuration Macro list for HTCondor Templates?
- Date: Mon, 29 Jun 2020 22:23:20 +0000
- From: Zach Miller <zmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Configuration Macro list for HTCondor Templates?
Hello,
You can find these values using the "condor_config_val" tool. Example:
% condor_config_val use role
use ROLE accepts
CentralManager
Execute
Personal
Submit
% condor_config_val use role:personal
use ROLE:Personal is
CONDOR_HOST=127.0.0.1
COLLECTOR_HOST=$(CONDOR_HOST):0
DAEMON_LIST=MASTER COLLECTOR NEGOTIATOR STARTD SCHEDD
RunBenchmarks=0
JAVA_BENCHMARK_TIME=0
Also, if you say, for example "use feature:VMWARE" in the config, which corresponds to:
use FEATURE:VMWARE is
VM_TYPE=vmware
VM_MEMORY=$(DETECTED_MEMORY)/($(NUM_CPUS)+1)
VM_MAX_NUMBER=$(NUM_CPUS)
VM_NETWORKING_TYPE=nat
VM_NETWORKING_DEFAULT_TYPE=nat
VMWARE_PERL=perl
VMWARE_SCRIPT=$(SBIN)/condor_vm_vmware
VMWARE_NAT_NETWORKING_TYPE=nat
VMWARE_BRIDGE_NETWORKING_TYPE=bridged
VMWARE_NETWORKING_TYPE=nat
#VMWARE_LOCAL_SETTINGS_FILE=$(RELEASE_DIR)/condor_vmware_local_settings
And then later in the file you set "NUM_CPUS = 42", then you will in fact see that reflected in the template:
% condor_config_val VM_MAX_NUMBER
42
Hope that helps!
Cheers,
-zach
ïOn 6/29/20, 5:13 PM, "HTCondor-users on behalf of Wesley Taylor" <htcondor-users-bounces@xxxxxxxxxxx on behalf of wesley.taylor@xxxxxxxxxxx> wrote:
Hey all,
I was wondering if someone could point me to the list of macros (and their assigned values) associated with each template described in: https://htcondor.readthedocs.io/en/stable/admin-manual/configuration-templates.html#configuration-templates
I was also wondering, if I use a template, but I later in the config file assign a macro a different value, will that override the template's value for the same macro?
Thanks!
Wes
Wesley Taylor â Cluster Manager
Numerica Corporation (www.numerica.us)
5042 Technology Parkway #100
Fort Collins, Colorado 80528
âï (970) 207 2233
ð wesley.taylor@xxxxxxxxxxx