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.

Details and Options

  • 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.
  • RemoteServicesAgents[URL["agent"]] is also supported.
  • 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

Examples

open allclose all

Basic Examples  (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: