Hi,
I am running HPC 2016 update 3 on a head node and two 48-core compute node. I have turned on hyperthreading and want to run some tests on the performance of the cluster. When I set the maximum cores in the job template to a number below 96 cores, it works fine.
The problem starts when I set the maximum cores to 96 or higher. Then I get the following exception or similar variations.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Simulation.SimulationStructure.Runner.Initialize()
at Simulation.SimulationStructure.Runner.Start()
at Simulation.SimulationStructure.HpcTask.Start()
Caused by:
System.ComponentModel.Win32Exception: The operation completed successfully
at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Threading.Dispatcher..ctor()
at System.Windows.Threading.Dispatcher.get_CurrentDispatcher()
at System.Windows.Application..ctor()
I have tried to change the affinity and the scheduling mode but it does not seem to work. The diagnostic test run successfully.
I have run the calculations of the program before in a hyperthreaded cluster in Azure and it worked without problem.
Any idea on what might be going on?
Thanks!