Hello,
When using HPC Pack 5.1.6124 to submit a job to a 2008R2 headnode I get the error copied below. The code is working when submitting jobs to headnodes with versions 2012, 2012R2 or 2016 . The error seems to suggest that the first parameter to SubmitJob should
be ISchedulerStore whereas it is documented as ISchedulerJob. When using 2012R2 client utilities the code would successfully submit to 2008R2 headnodes.
Have I missed something obvious?
Kind regards,
Liam
System.ArgumentException
HResult=0x80070057
Message=Object of type 'Microsoft.Hpc.Scheduler.Properties.StoreProperty[][]' cannot be converted to type 'Microsoft.Hpc.Scheduler.Properties.StoreProperty[]'.
Source=Microsoft.Hpc.Scheduler.Store
StackTrace:
at Microsoft.Hpc.Scheduler.Store.StoreServer.HandleException(Exception e, Boolean asyncReconnect)
at Microsoft.Hpc.Scheduler.Store.StoreServer.Task_AddTasksToJob(Int32 jobId, List`1& taskIdList, List`1 taskPropsList)
at Microsoft.Hpc.Scheduler.Store.JobEx.CreateTasks(List`1 taskPropertyList)
at Microsoft.Hpc.Scheduler.SchedulerJob.CreateAddedTasks(Int32 rootGrpId, Dictionary`2 taskGroupIdMapping)
at Microsoft.Hpc.Scheduler.SchedulerJob.CreateJob()
at Microsoft.Hpc.Scheduler.SchedulerJob.Submit(ISchedulerStore store, String username, String password)