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

Re: [HTCondor-users] Default disk usage for job on CE



On Sat, 2026-02-28 at 11:43 +0100, Alexandr Mikula wrote:
> Hi fellow bird keepers,
> I am having a hard time setting up the default disk request on
> HTCondor
> CE.
> No Matte what I do I always get "RequestDisk = DiskUsage" in job
> which
> is really undesirable on LVM limited job disk.
> 
> I had no problem on arc-ce, but here I really struggle.
> I tried:
> setting "JOB_DEFAULT_REQUESTDISK = 20971520 * RequestCpus" on condor
> and condor-ce (both running on CE, the master is elsewhere).
> 
> And trying to fiddle with the job router:
> """
> JOB_ROUTER_ROUTE_Local_Condor @=end
> ÂÂ UNIVERSE VANILLA
> ÂÂ SET RequestDisk =Â !isUndefined(RequestDisk) ? RequestDisk :
> 20971520 * RequestCpus
> @end
> """
> 
> What am I doing wrong?
> 
> Cheers
> Alexandr
> 
> Packages:
> htcondor-ce-client-24.0.2-1.el9.noarch
> htcondor-ce-24.0.2-1.el9.noarch
> htcondor-ce-apel-24.0.2-1.el9.noarch
> htcondor-ce-bdii-24.0.2-1.el9.noarch
> htcondor-ce-condor-24.0.2-1.el9.noarch
> condor-upgrade-checks-24.0.16-1.el9.x86_64
> python3-condor-24.0.16-1.el9.x86_64
> condor-24.0.16-1.el9.x86_64
Never mind, aparently EVALSET, with some more variable juggling, does
the trick.
"""
JOB_ROUTER_ROUTE_Local_Condor @=jre
   UNIVERSE VANILLA
   EVALSET localRequestDisk RequestDisk
   EVALSET RequestDisk (DiskUsage == localRequestDisk) ?  20971520 *
RequestCpus : localRequestDisk
@jre
"""

S
-- 
Alexandr Mikula
OddÄlenà sÃÅovÃnà a vÃpoÄetnà techniky & VÃpoÄetnà stÅedisko 
FyzikÃlnà Ãstav Akademie vÄd Äeskà republiky, v. v. i.
Institute of Physics of the Czech Academy of Sciences 

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