a new feature which allows taking a gpu offline. Condor_config_val has two similar options: -set and -rset. The difference -is that changes down with -set will be visible even after a restart. +is that changes down with -set will be visible even after a restart. Both +can be queried after a condor_reconfig. + +*Shared config settings* + +{code} +ENABLE_RUNTIME_CONFIG = TRUE +ALLOW_CONFIG = $(FULL_HOSTNAME) +SETTABLE_ATTRS_CONFIG = MYRSETVAR, MYSETVAR +{endcode} + +This will allow MYRSETVAR and MYSETVAR to be set with -rset and be viewable +after a condor_reconfig. + +{code} +condor_config_val -rset "MYRSETVAR=5" +{endcode} + +{code} +ENABLE_RUNTIME_CONFIG = TRUE +ALLOW_CONFIG = $(FULL_HOSTNAME) +SETTABLE_ATTRS_CONFIG = MYRSETVAR, MYSETVAR +ENABLE_PERSISTENT_CONFIG = TRUE{code} +condor_config_val -rset "MYRSETVAR=5" +PERSISTENT_CONFIG_DIR = $(spool) +{endcode} + +This will allow -set and information needed to allow it to retain +these values after a restart will be written to the HTCondor spool +directory. This too will be visible after a condor_reconfig. + +{code} +condor_config_val -set "MYSETVAR=5" +{endcode}