6.6.4 Cluster Processing
Batch jobs can be run from OpendTect to cluster management tools. So far dGB has successfully tested SLURM which is easy to install and even easier to use.
Cluster processing is enabled by following this prerequisites:
- The environment variable DTECT_CLUSTER_PROC is set to yes before starting OpendTect
- The cluster management tool must be up and running. In the case of SLURM it means that the daemon 'slurmctld' should be running on the master computer and that the daemon 'mlurmd' must be running on every node.
- This cluster management tool (SLURM) bin directory is included in your PATH variable
Cluster processing is started by choosing "Cluster" in the 'Submit' options menu of the volume processing window. Only 3D attributes can make use of cluster computing so far.
A new window will pop up that will list a number of directories use for the storage of temporary files. The jobs will be split using a user-defined number of inlines. The field named 'Cluster Processing command' represents the name of the binary from the cluster management tool used to run a process.
You can run the "Main script file" (default: ~/yoursurvey/Proc/clusterprocscript) from a command line which will run each job one-by-one using the above command and will also launch the UI to show progress and do post-processing merging of temporary data.