9.4.6 Setup Distributed Computing

In order to utilize OpendTect's capability for Distributed Computing, a BatchHosts file must be created and used. This file contains the list of remote machines (host machines or nodes) and some relevant details about these machines and the path to the Survey Data Root. OpendTect will use this file to communicate to the remote hosts and launch processes remotely on them. Follow the example format (shown below) to add the list of remote machines and their details in the respective fields.

 

In order to minimize complications, the Setup Distributed Computing tool (formerly known as Setup Batch Processing tool) can be used to create a tailor-made BatchHosts file (via Utilities > Installation > Setup Distributed Computing...).

As default OpendTect will try to create a new or edit the existing BatchHosts file in it's 6.6.0/data directory. If this directory is not writable OpendTect will advise to launch this process with administrator rights:

It is also possible to use a custom BatchHosts filepath by setting environment variable DTECT_BATCH_HOSTS_FILEPATH:

 

BatchHosts file: This field is not editable in the User Interface.

IP address: IP address of the node machine(s). If the background of this field is in red then there is a problem with the resolving of the hostname into the IP address.

Hostname: Hostname of the node machine(s). If the background of this field is in red then there is a problem with the resolving of the hostname.

Display name: Free-text field. Text entered here appears in the Distributed Computing Processing window.

Platform: Select platform type, the options are: Linux (64 bits), Windows (32 bits), Windows (64 bits) and Mac OS X.

Survey data root: Location of the survey (the path to the survey data root folder from the host machine)

Advanced Settings:

 

Description of icons:

Add new host.

Remove selected host.

Move host up or down.

Test hosts. Will perform tests to ensure that the server and nodes can communicate to the necessary extent to perform the MMP. (ie: can the nodes find the data root folder and read/write into it)

For more information on this topic, please refer to OpendTect's YouTube Channel where you may find the webinar: Distributed Computing Processing Setup.