Setup Distributed Computing

In order to utilize OpendTect's capability for Multi-Machine Processing (MMP), 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...).


Figure: Launching Setup Distributed Computing tool

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


Figure: Selected Batch Host Directory is not writable

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


Figure: Setting DTECT_BATCH_HOSTS_FILEPATH environment variable


Figure: Setup Distributed Computing window

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 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)


Figure: Advanced Settings window

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)

Tips & tricks

In case you are having issues with the Distributed Computing between the server that launches the scheduler and the nodes please check the following:

For more information on this topic, please refer to OpendTect's Youtube Channel and the dgbes.com resources videos page where you may find the webinar: Multi-Machine Processing Setup.