Click or drag to resize

ClusterJobSchedulerConnect Method

Connects client to specified cluster scheduler.

Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax
Exceptions
ExceptionCondition
InvalidOperationExceptionThe client is already connected.
JobSchedulerException Coordinator CoordinatorMachineName is not specified, or Coordinator could not be reached at hostname and port.
Remarks
Call this method to establish a synchronous remote connection the Coordinator specified at the host name (CoordinatorMachineName), and port (CoordinatorPort).
Examples
ClusterJobScheduler scheduler = new ClusterJobScheduler();
scheduler.CoordinatorMachineName = "coordinatormachine";
scheduler.CoordinatorPort = 9090;
scheduler.Connect();
See Also

STK Parallel Computing Server 2.9 API for .NET