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

Re: [HTCondor-users] Need to pass the number of cores (CPUs) to my job as an argument



Thanks!
I knew there was a syntax for this I'd forgotten.
-Ian
--
Ian Cottam  | senior Research Software Engineer (RSE) | Research IT  | B39 Sackville Street Building  | The University of Manchester  |  M13 9PL  | +44(0)161 306 1851
 
 

ï-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Collin Mehring <collin.mehring@xxxxxxxxxxxxxx>
Reply-To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Date: Friday, 14 June 2019 at 19:09
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Need to pass the number of cores (CPUs) to my job as an argument

    Hi Ian,
    I'd try replacing $(Request_CPUs) in Arguments with $$(TotalCpus), which should instead substitute the integer value from the machine ad.
    
    Best,
    Collin