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

Re: [HTCondor-users] Translating GPU device assignments?



On 07/03/2017 12:32 PM, Michael Pelletier wrote:
+Arguments = "-c '/usr/bin/env FLAGS_gpu=$(DOLLAR)GPU_DEVICE_ORDINAL caffe train ...etc...'"


Very nice! Technically, isn't the /usr/bin/env redundant, as /bin/sh itself can set the environment on the command line? i.e.


+Arguments = "-c 'FLAGS_gpu=$(DOLLAR)GPU_DEVICE_ORDINAL caffe train ...etc...'"


-gre