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

Re: [HTCondor-users] [External] - Re: Configuration Macro list for HTCondor Templates?



Exactly what I wanted, Thanks Zach!

Wesley Taylor â Cluster Manager
Numerica Corporation (www.numerica.us)
5042 Technology Parkway #100
Fort Collins, Colorado 80528
âï (970) 207 2233
ð wesley.taylor@xxxxxxxxxxx


-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Zach Miller
Sent: Monday, June 29, 2020 4:23 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [External] - Re: [HTCondor-users] Configuration Macro list for HTCondor Templates?

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


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://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fhtcondor.readthedocs.io%2Fen%2Fstable%2Fadmin-manual%2Fconfiguration-templates.html%23configuration-templates&amp;data=02%7C01%7C%7C5513ccc47edf4812fa3808d81c7b8faf%7Cfae7a2aedf1d444e91bebabb0900b9c2%7C0%7C0%7C637290664308800262&amp;sdata=VayBuW730p7CkVtO2nTHY9QN6SF%2FDzw7eGs9%2FOd7BZw%3D&amp;reserved=0

    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 (https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fwww.numerica.us%2F&amp;data=02%7C01%7C%7C5513ccc47edf4812fa3808d81c7b8faf%7Cfae7a2aedf1d444e91bebabb0900b9c2%7C0%7C0%7C637290664308800262&amp;sdata=D6Bt%2FMxBmbzOcDmn2XZHGJARjQr7tEbrIicUKsw2xaA%3D&amp;reserved=0)
    5042 Technology Parkway #100
    Fort Collins, Colorado 80528
    âï (970) 207 2233
    ð wesley.taylor@xxxxxxxxxxx




_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Flists.cs.wisc.edu%2Fmailman%2Flistinfo%2Fhtcondor-users&amp;data=02%7C01%7C%7C5513ccc47edf4812fa3808d81c7b8faf%7Cfae7a2aedf1d444e91bebabb0900b9c2%7C0%7C0%7C637290664308800262&amp;sdata=P1%2FOdRL9%2FLUHCBDVo8LC0748RvfPNpl1UrIJKOH%2ByuI%3D&amp;reserved=0

The archives can be found at:
https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Flists.cs.wisc.edu%2Farchive%2Fhtcondor-users%2F&amp;data=02%7C01%7C%7C5513ccc47edf4812fa3808d81c7b8faf%7Cfae7a2aedf1d444e91bebabb0900b9c2%7C0%7C0%7C637290664308800262&amp;sdata=3vpZt6ONeDFP3pk44Vfowwmd3%2Fywjn51ubBkZoFqMVA%3D&amp;reserved=0

Attachment: smime.p7s
Description: S/MIME cryptographic signature