LightweightGridClient`
LightweightGridClient`

RemoteServicesAgents

RemoteServicesAgents[]

returns a list of URLs for Lightweight Grid managers discovered on the local network.

RemoteServicesAgents["agent"]

returns a list of agent URLs known to agent.

更多信息和选项

  • RemoteServicesAgents uses the DNS-SD protocol to automatically find computers that can launch kernels with the Lightweight Grid. More information about DNS-SD is available at http://www.dns-sd.org.
  • The following options can be given:
  • "Timeout"30the timeout for the network connection in seconds
    "TemporaryPrinting"Truewhether to show intermediate results
    "CacheTimeout"900.the value returned by this function is cached and returned on subsequent calls made within the time period, in seconds, specified by this option

范例

打开所有单元关闭所有单元

基本范例  (1)

Find computers available to launch kernels and launch them:

Find computers known to clusterlab-1.example.com:

Options  (2)

Timeout  (1)

Find computers known to clusterlab-1.example.com, waiting 4 seconds for a response before giving up:

TemporaryPrinting  (1)

Find computers on the local network without showing intermediate results:

Neat Examples  (1)

Continuously monitor the computers known to clusterlab-1.example.com: