I have made a Node Preparation task in a Job Template and want it to be added to a job created using the C# API. Is this functionality supported and if so, how do I get it to work.
When creating a job in HPC Job Manager using the "New Job ..." button the node preparation task from the job template is added but not when I build the job through C#.
I set the job.SetJobTemplate("mytemplate") before adding tasks, but properties seems not to be affected. I reckon the job template defaults are applied at nearly the same time as a custom submission filter is executed?
I have tried without adding any Node Preparation task - with the hope that the node preparation task in the job template would be added. I have also tried adding a Node Preparation task with no commandline but that fails validation.
Any suggestion is appreciated.