Page 1 of 1

AF_CMD_PREFIX for pdg

Posted: Thu Dec 21, 2023 2:32 pm
by carlo.giesa
Hi there!

It seems that $AF_CMD_PREFIX is ignored when using PDG and I can't see any parm on the afanasy scheduler to add any custom stuff to the farm job task. But we are used to define our environment via a custom command before launching any process. Is that something that could be added? Or is there any other way that I can customize the command created by the afanasy scheduler?

Greets,
Carlo

Re: AF_CMD_PREFIX for pdg

Posted: Mon Dec 25, 2023 9:33 am
by timurhai
Hello!
PDG construct tasks commands for Afanasy in this case.
But yes, you can try to add something here, in this function:
https://github.com/CGRU/cgru/blob/maste ... er.py#L178