OpendTect Administrators Manual
OpendTect Administrators Manual
OpendTect Administrators Manual
Manual - 6.6
All rights reserved. No part of this publication may be reproduced and/or published
by print, photo print, microfilm or any other means without the written consent of
dGB Beheer B.V.
Under the terms and conditions of any of the following three license types, license
holders are permitted to make hard copies for internal use:
l GNU GPL
l OpendTect Pro License
l Academic License
-1-
Table of Contents
OpendTect Administrator's Manual - 6.6 1
Table of Contents 2
System Requirements 6
Windows 6
Minimum 6
Recommended 6
Linux 8
Minimum 8
Recommended 8
Mac OS 12
Minimum 12
Recommended 12
Installation 14
OpendTect 14
Installer logging 21
-2-
Required system libraries 22
lsb 23
xcb 24
Installer logging 30
Security setting 33
Licenses 41
-3-
Setup the preferred GPU with NVIDIA Control Panel 63
Environment variables 78
Open Ports 80
Python environments 82
Cupti library 88
License server 90
Error messages 91
Client installation 93
-4-
Client installation 99
OpendTect 102
Petrel* 102
Troubleshooting 106
-5-
System Requirements
Windows
Minimum
l Version: 10/11, older Windows versions may work, but are no longer tested.
l CPU: Intel/AMD, 64 bits
l Storage: Hard Disk
Recommended
l Version: 10/11
l GPU: Nvidia (e.g. recent main-stream up to high-end GeForce series) graphics cards.
Quadro or NVS series cards could give the bit extra you want. In doubt, buy the best
GeForce card you can find. When buying a laptop make sure that it has a Nvidia chip-
set.
l Memory: DDR4 or DDR5 memory, on the safe side don't go for less than 32 GB.
Buy as much memory that you can afford and fits in the system. The big clients for
example use nothing less than 512 GB.
l Storage: SSD is best, other good options are Hard Disk and Network Drive.
This is usually under-valued, but it's often the crucial performance component. SSD
-6-
disks will give a tremendous boost in performance; essentially, data on SSD disks
loads almost as fast as pre-loaded, in-memory data. Performance could be miserable
if data needed to stream through (relatively) slow disks and/or networks.
l CPU: Intel, 64 bits for when using Python environment Intel™ Math Kernel - MKL for
Machine Learning using CPU only. AMD, 64 bits should be fine when using the Python
Environment with CUDA 10.1 for Machine Learning on the GPU.
Ideally you want the system to be expendable to 4 GPUs. The CPU will need to sup-
port all GPUs. Important to look for is how many PCIe lanes the CPU supports and how
many PCIe lanes are needed for the system's number of GPUs and M.2 NVMe SSDs.
We recommend to get a CPU with at least 8 cores, 16 threads and 40 PCIe lanes.
l Nvidia GeForce RTX 2080 Ti with 11 GB DDR6 memory and 4352 CUDA Cores
l Nvidia Quadro RTX 6000 with 24 GB DDR6 memory and 4608 CUDA Cores
l Nvidia Quadro RTX 8000 with 48 GB DDR6 memory and 4608 CUDA Cores
l Nvidia GeForce RTX 3080 Ti with 12 GB DDR6 memory and 10240 CUDA Cores
l Nvidia GeForce RTX 3090 with 24 GB DDR6 memory and 10496 CUDA Cores
l Memory: DDR4 or DDR5 memory, on the safe side don't go for less than 32 GB.
Buy as much memory that you can afford and fits in the system.
l Storage: The best choice is M.2 NVMe SSD that is big enough for the data.
The advantage of M.2 NMVe SSD is that it is plugged into the motherboard and is
super fast. Other options are SATA SSD, Hard Disk and Network Drive. Performance
could be miserable if data needed to stream through (relatively) slow disks and/or net-
works.
-7-
Nvidia CUDA Toolkit documentation page for the minimum compatible driver version.
l The CUDA 10 Python environment is now obsolete and will no longer receive security
updates. Users are encouraged to replace it with CUDA 11. Alternatively, you may
decide for the CPU-only Python environment.
l 4K/8K screens are not fully supported yet. This depends on the scaling factor. We are
working on a fix.
Please see the FAQ Visualization for a possible workaround.
Linux
Minimum
l Modern Linux distro.
l We have tested:
l GPU: Basic Intel Graphics cards or Nvidia (e.g. recent GeForce/Quadro/NVS series)
graphics cards; AMD graphics cards may work.
Recommended
l Modern Linux distro. We have tested:
l RedHat/CentOS 7.2 and higher
-8-
better. OpendTect will automatically use multiple threads in many situations. This
depends on the type of attribute, display, etc. We put a lot of effort to get time-con-
suming tasks multi-threaded.
l GPU: Nvidia (e.g. recent main-stream up to high-end GeForce series) graphics cards.
Quadro or NVS series cards could give the bit extra you want. In doubt, buy the best
GeForce card you can find. When buying a laptop make sure that it has a Nvidia chip-
set.
l Memory: DDR4 or DDR5 memory, on the safe side don't go for less than 32 GB.
Buy as much memory that you can afford and fits in the system. The big clients for
example use nothing less than 512 GB.
l Storage: SSD is best, other good options are Hard Disk and Network Drive.
This is usually under-valued, but it's often the crucial performance component. SSD
disks will give a tremendous boost in performance; essentially, data on SSD disks
loads almost as fast as pre-loaded, in-memory data. Performance could be miserable
if data needed to stream through (relatively) slow disks and/or networks.
l CPU: Intel, 64 bits for when using Python environment Intel™ Math Kernel - MKL for
Machine Learning using CPU only. AMD, 64 bits should be fine when using the Python
Environment with CUDA 10.1 for Machine Learning on the GPU.
Ideally you want the system to be expendable to 4 GPUs. The CPU will need to sup-
port all GPUs. Important to look for is how many PCIe lanes the CPU supports and how
many PCIe lanes are needed for the system's number of GPUs and M.2 NVMe SSDs.
We recommend to get a CPU with at least 8 cores, 16 threads and 40 PCIe lanes.
l Nvidia GeForce RTX 2080 Ti with 11 GB DDR6 memory and 4352 CUDA Cores
l Nvidia Quadro RTX 6000 with 24 GB DDR6 memory and 4608 CUDA Cores
l Nvidia Quadro RTX 8000 with 48 GB DDR6 memory and 4608 CUDA Cores
-9-
l Ampere architecture cards (CUDA 11.1 and later)
l Nvidia GeForce RTX 3080 Ti with 12 GB DDR6 memory and 10240 CUDA Cores
l Nvidia GeForce RTX 3090 with 24 GB DDR6 memory and 10496 CUDA Cores
l Memory: DDR4 or DDR5 memory, on the safe side don't go for less than 32 GB.
Buy as much memory that you can afford and fits in the system.
l Storage: The best choice is M.2 NVMe SSD that is big enough for the data.
The advantage of M.2 NMVe SSD is that it is plugged into the motherboard and is
super fast. Other options are SATA SSD, Hard Disk and Network Drive. Performance
could be miserable if data needed to stream through (relatively) slow disks and/or net-
works.
l OpendTect may work when using the Nouveau driver, however for best performance
the Nvidia driver should be installed. The nouveau driver does not support CUDA.
l The CUDA 10 Python environment is now obsolete and will no longer receive security
updates. Users are encouraged to replace it with CUDA 11. Alternatively, you may
decide for the CPU-only Python environment.
l Low-level GPUs keep showing poor performances through the generations. Shading
functionality requires special GPU features, present in the main-stream and high-end
GeForce, Quadro and NVS cards. Nevertheless, under Linux, only Nvidia provides
drivers capable of running the shading feature. If you can't see any colors on graphic
elements, try disabling shading (Utilities > Settings > Look and Feel).
l 4K/8K screens are not fully supported yet. This depends on the scaling factor. We are
working on a fix.
Please see the FAQ Visualization for a possible workaround.
l Linux distros should be LSB compliant. You can check this using the command lsb_
release. This is particularly stringent for commercial plugins using the FlexNet sys-
tem. There is documentation on installing license files for commercial plugins, and
there is a page with background information.
- 10 -
l Linux 64 bits releases require the libstdc++ library to be present on the system. In the
table you can see the minimum libstdc++ library version that is needed:
l Linux distros will need to have the XCB libraries installed. For check and installation
instructions please see Installing OpendTect on Linux.
l OpendTect is known to work under Red Hat, CentOS, Ubuntu, OpenSUSE and other
distributions, as well as earlier versions of the main distributions, too. Fedora usage is
not recommended - although it may work it's the only distro that regularly fails to work
in combination with OpendTect. This is probably because the graphics vendors do not
support it well in terms of drivers.
- 11 -
Mac OS
Minimum
l Version: Mac OS X 10.14 (Mojave) and 10.15 (Catalina)
l GPU: Basic Intel or AMD graphics card, f.i. the Intel HD Graphics 4000.
l Memory: 16 GB of RAM
l Storage: Hard Disk
Recommended
l Version: Mac OS X 10.14 (Mojave) and 10.15 (Catalina)
l Storage: SSD is best. Other good options are Hard Disk and Network Drive.
Please note:
l Machine Learning on GPU is not supported due to the absence of Nvidia cards for
recent Mac OS X systems.
- 12 -
l A 3-button mouse is highly recommended.
- 13 -
Installation
OpendTect
- 14 -
Figure: OpendTect download page
- 15 -
Figure: OpendTect Installation Manager
3. If it is a fresh installation then you may keep the proposed installation base directory or
choose your own. If it is an update then select its installation base directory. To install
commercial - and free products on the same system, the commercial and free products
must be placed in separate installation folders, e.g. C:\Program Files\OpendTectFree
and C:\Program Files\OpendTectPro. Now click Proceed.
4. Select the package type of OpendTect you want to install. Please note that this window
will only popup when installing a fresh OpendTect or OpendTect Pro installation.
Option OpendTect Pro will automatically select packages OpendTect Pro and
Miniconda3. OpendTect Pro is the extended version of OpendTect.
Option OpendTect Commercial will select all packages with exception that the lesser
preferred Python package will not be automatically selected.
Option OpendTect Free will automatically select OpendTect and Miniconda3.
OpendTect is a free open source seismic interpretation system and software devel-
opment platform.
To read more about OpendTect licensing, please refer to our webpage of licensing
types.
5. The OpendTect Installation Manager identifies the platform on which it is running. This
information is then anonymized prior to it being sent to OpendTect. We use this
anonymous data solely for the purpose of getting a picture of OpendTect usage and
- 16 -
thus improving our support capabilities.
6. The next window of the wizard is the OpendTect Package Manager. Multiple items can
be toggled on or off by checking the boxes. Optionally, the relevant package com-
bination could also be selected from the top list box.
7. The installation manager will automatically recognize the previously installed version
at the selected path and will prompt it in the Installed version field. To read more about
a particular item in the list, select the item by clicking on it and read the description on
to the right panel. For example, Machine Learning:
- 17 -
Figure: Machine Learning information in right panel of OpendTect Installation Manager
8. Please note: In order to get an out of the box experience with the Machine Learning
plugin you should select the Python CUDA 11 (GPU) package for training on the Nvidia
GPU. It is also possible to select the Python MKL (CPU), with Intel™ Math Kernel
Library, environment for training on the CPU only. The base Miniconda3 Python envir-
onment will always be installed. More information about system requirements for
Machine Learning are available.
9. After selecting the packages for installation click on Proceed to start the installation.
You will first get a window that downloads the files from the download server. After
downloading the packages they will be unpacked to the installation path.
- 18 -
Figure: Example of downloading files and archive unpacker windows
10. If, for any reason, you should choose to abort the installation mid-download, you will
see the following window appear:
This gives you various options, including increasing the time-out from its default set-
ting, changing the download server or changing the Proxy settings. One thing that can
be tried is temporarily (partly) disable the Windows firewall to find out whether that
helps.
11. The installation will finish with giving an overview of the installed packages. Here is an
overview for the OpendTect Commercial installation:
- 19 -
Figure: Overview of installed packages
12. Only for OpendTect 6.6 and newer: After installation is finished the Manage Firewall
Program Rule window appears. This window gives the possibility to add rules for a
selection of OpendTect and Python executables to the Windows Firewall. For more
information please see the Firewall rules and ports chapter.
Please note that for adding rules to the firewall elevated rights are needed.
- 20 -
Figure: Manage Firewall Program Rule
13. To start OpendTect double click the desktop icon OpendTect 6.6.0 or the App
OpendTect 6.6.0 from the Start menu. Alternatively one can browse into the install-
ation directory and run od_main.exe from C:\Program
Files\OpendTect\6.6.0\bin\win64\Release.
Installer logging
The installer logs to a logfile. If something goes wrong during installation please look
into the following files:
l %TEMP%\username_od_instmgr_install_log.txt
l %TEMP%\username_od_instmgr_updcheck_log.txt
- 21 -
Installing OpendTect on Linux
OpendTect Pro and OpendTect Pro + Plugins (the commercial products) or
OpendTect (the free version) together with Python packages, offline OpendTect
and dGB Plugins documentation and Developer Tools can be installed via the
OpendTect Installation Manager (OpendTect_Installer_lux64.sh) or via an offline
package.
l lsb
l xcb
- 22 -
lsb
You can check this using the command lsb_release.
- 23 -
xcb
How to check for xcb? This differs per distro:
- 24 -
Figure: OpendTect download page
3. In the terminal window change the directory to the directory where the installer has
been downloaded to.
5. This should unpack the OpendTect Installer into the /tmp directory and then run the
Installer.
- 25 -
Figure: OpendTect Installation Manager
7. If it is a fresh installation then you may keep the proposed installation base directory or
choose your own. If it is an update then select its installation base directory. To install
commercial - and free products on the same system, the commercial and free products
must be placed in separate installation folders, e.g. /home/your_user-
name/OpendTectFree and /home/your_username/OpendTectPro. Now click Proceed.
8. Select the package type of OpendTect you want to install. Please note that this window
will only popup when installing a fresh OpendTect or OpendTect Pro installation.
Option OpendTect Pro will automatically select packages OpendTect Pro and
Miniconda3. OpendTect Pro is the extended version of OpendTect.
Option OpendTect Commercial will select all packages with exception that the lesser
preferred Python package will not be automatically selected.
Option OpendTect Free will automatically select OpendTect and Miniconda3.
OpendTect is a free open source seismic interpretation system and software devel-
opment platform.
To read more about OpendTect licensing, please refer to our webpage of licensing
types.
- 26 -
Figure: OpendTect Installer Package Selection window
9. The OpendTect Installation Manager identifies the platform on which it is running. This
information is then anonymized prior to it being sent to OpendTect. We use this
anonymous data solely for the purpose of getting a picture of OpendTect usage and
thus improving our support capabilities.
10. The next window of the wizard is the OpendTect Package Manager. Multiple items can
be toggled on or off by checking the boxes. Optionally, the relevant package com-
bination could also be selected from the top list box.
- 27 -
11. The installation manager will automatically recognize the previously installed version
at the selected path and will prompt it in the Installed version field. To read more about
a particular item in the list, select the item by clicking on it and read the description on
to the right panel. For example, Machine Learning:
12. Please note: In order to get an out of the box experience with the Machine Learning
plugin you should select the Python CUDA 11 (GPU) package for training on the Nvidia
GPU. It is also possible to select the Python MKL (CPU), with Intel™ Math Kernel
Library, environment for training on the CPU only. The base Miniconda3 Python envir-
onment will always be installed. More information about system requirements for
Machine Learning are available.
13. After selecting the packages for installation click on Proceed to start the installation.
You will first get a window that downloads the files from the download server. After
downloading the packages they will be unpacked to the installation path.
14. If, for any reason, you should choose to abort the installation mid-download, you will
see the following window appear:
- 28 -
Figure: Stopped accessing download.opendtect.org
This gives you various options, including increasing the time-out from its default set-
ting, changing the download server or changing the Proxy settings. One thing that can
be tried is temporarily (partly) disable the Linux firewall or SELinux to find out whether
that helps.
15. The installation will finish with giving an overview of the installed packages. Here is an
overview for the OpendTect Commercial installation:
- 29 -
16. To start OpendTect change the terminal or Konsole directory into /home/your_user-
name/OpendTectPro/6.6.0 and then run ./start_dtect
Installer logging
The installer logs to a logfile. If something goes wrong during installation please look
into the following files:
l /tmp/your_username_od_instmgr_install_log.txt
l /tmp/your_username_od_instmgr_updcheck_log.txt
- 30 -
Installing OpendTect on RHEL 6.x
The OpendTect Installation Manager and 6.6 are not supported for RHEL 6.x. It is
however possible to install and run OpendTect 6.4 on RHEL 6.x and CentOS 6.x by
installing via an offline installation package. This offline installation package can be
created with the OpendTect Installation Manager. This can be done on a supported
Linux Distribution or Windows.
3. ./unix_install.csh
Please note: to be able to run the installer csh needs to be installed
4. The installer asks for the path of where to install OpendTect, e.g. /home/user-
/OpendTect
5. After installation is finished change the directory to the OpendTect installation directory
On RHEL 6.x and CentOS 6.x there can be error messages that will prevent you
from starting OpendTect.
l wget https://rpmfind.net/linux/centos/7.8.2003/os/x86_64/Pack-
ages/libstdc++-4.8.5-39.el7.x86_64.rpm
- 31 -
When installing the newer libstdc++ package you will probably get the issue that you
need a newer libc.so.6. Here are some instructions to get it installed. There are no
guarantees these instructions will work for your RHEL6.x or CentOS 6.x system.
However, please note that it worked on our CentOS 6.x system:
l wget http://copr-be.cloud.fe-
doraproject.org/results/mosquito/myrepo-el6/epel-6-x86_
64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm
l wget http://copr-be.cloud.fe-
doraproject.org/results/mosquito/myrepo-el6/epel-6-x86_
64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm
l wget http://copr-be.cloud.fe-
doraproject.org/results/mosquito/myrepo-el6/epel-6-x86_
64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm
l wget http://copr-be.cloud.fe-
doraproject.org/results/mosquito/myrepo-el6/epel-6-x86_
64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm
- 32 -
Installing OpendTect on Mac OS X
OpendTect Pro and OpendTect Pro + Plugins (the commercial products) or
OpendTect (the free version) together with Python packages, offline OpendTect
and dGB Plugins documentation and Developer Tools can be installed via the
OpendTect Installation Manager (OpendTect_Installer_mac.dmg) or via an offline
package.
Security setting
Please do the following before installation:
l In case the option is there then toggle on Allow apps to be installed from App Store and
identified developers, this may ask for admin credentials.
l Keep this window open when starting to install OpendTect. When you start the installer
for the first time you might get the error message: "OpendTect Installer" can't be
opened because the identity of the developer cannot be confirmed. or the error mes-
sage "OpendTect Installer" can't be opened because Apple cannot check it for mali-
cious software.
At System Preferences > Security & Privacy > General Tab there should be a
message like "OpendTect Installer" was blocked from opening because the identity of
the developer" cannot be confirmed. or "OpendTect Installer" was blocked from use
because it is not from an identified developer. Click the lock icon to make changes and
then click the Open Anyway button.
- 33 -
Figure: Set Security setting to App Store and identified developers and Open OpendTect Installer any-
way
l Once the installation is finished, and assuming you made a change to the security set-
ting then you may change the security back.
Please note that in order to install OpendTect into the Applications folder the user
that installs OpendTect should be allowed to administer this computer. You can
check whether this option is toggled on via Users & Groups.
- 34 -
Figure: Find out whether user is allowed to write into Applications folder via Users & Groups
- 35 -
2. Run the .dmg file via Finder.
4. In case you get a window with error message: "OpendTect Installer" can't be opened
because the identity of the developer cannot be confirmed. or "OpendTect Installer"
can't be opened because Apple cannot check it for malicious software then please fol-
low the Security settings section in the top of this chapter to allow the opening of the
OpendTect Installer.
- 36 -
Figure: Error messages explaining that the OpendTect Installer can't be opened
Figure: OpendTect Installation Manager
6. If it is a fresh installation then you may keep the proposed installation base directory or
choose your own. If it is an update then select its installation base directory. To install
commercial - and free products on the same system, the commercial and free products
must be placed in separate installation folders, e.g. /Applications/OpendTectFree and
/Applications/OpendTectPro. Now click Proceed.
7. Select the package type of OpendTect you want to install. Please note that this window
will only popup when installing a fresh OpendTect or OpendTect Pro installation.
Option OpendTect Pro will automatically select packages OpendTect Pro and
Miniconda3. OpendTect Pro is the extended version of OpendTect.
Option OpendTect Commercial will select all packages.
Option OpendTect Free will automatically select OpendTect and Miniconda3.
OpendTect is a free open source seismic interpretation system and software devel-
opment platform.
- 37 -
possible to add packages at a later time.
To read more about OpendTect licensing, please refer to our webpage of licensing
types.
8. The OpendTect Installation Manager identifies the platform on which it is running. This
information is then anonymized prior to it being sent to OpendTect. We use this
anonymous data solely for the purpose of getting a picture of OpendTect usage and
thus improving our support capabilities.|
9. The next window of the wizard is the OpendTect Package Manager. Multiple items can
be toggled on or off by checking the boxes. Optionally, the relevant package com-
bination could also be selected from the top list box.
10. The installation manager will automatically recognize the previously installed version
at the selected path and will prompt it in the Installed version field. To read more about
a particular item in the list, select the item by clicking on it and read the description on
- 38 -
to the right panel.
11. After selecting the packages for installation click on Proceed to start the installation.
12. You may get a window with error message You do not have write permission in /Ap-
plications/OpendTect. This means that the current user has no administrative rights to
install into the Applications folder. The solution is to either give the current user admin-
istrative rights or to install into a folder where the user is allowed to write files, like e.g.
the users Documents/OpendTect folder.
13. You will first get a window that downloads the files from the download server. After
downloading the packages they will be unpacked to the installation path.
14. If, for any reason, you should choose to abort the installation mid-download, you will
see the following window appear:
This gives you various options, including increasing the time-out from its default
- 39 -
setting, changing the download server or changing the Proxy settings.
15. The installation will finish with giving an overview of the installed packages. Here is an
overview for the OpendTect Commercial installation:
16. To start OpendTect open it with Finder: Applications > OpendTectPro > OpendTect
6.6.0
- 40 -
Licenses
l Node-locked: The license file is tied directly to a specific client machine (or selection
of machines) through its ‘HostID’. This option is popular for laptops and for single-user
desktop setups. Installation is very simple.
l Floating License: The license file is generated for, and tied to a dedicated server via
its ‘HostID’. The license manager on the server then issues licenses to client
machines. This option is more suited for multiple users. Installation can be more
involved.
l Server (Host) ID
l If node-locked license
l Host ID
- 41 -
This will give a result similar to the following window:
Use the clipboard icon to copy the information displayed in the window
into text format for pasting into an email or document.
- 42 -
Figure: Random hardware addresses option in Windows Settings > Network & Internet > WiFi
- 43 -
Installing demo/node-locked licenses
Under Utilities > Installation > Licenses you will see two sets of options, differing per
platform:
- 44 -
Windows:
Clicking the option Install/Edit licenses... will bring up the following tool:
Linux:
Clicking the option Install/Edit licenses... will bring up the same tool but note that the
License Manager Tools button is not present (this is a Windows-only option):
As shown above, select File from the drop-down and Select to browse to the node-
locked license to be installed.
- 45 -
If everything seems in order, proceed to Install the license. On pressing Install, you
will see a warning that a restart will be necessary:
- 46 -
Clicking OK will prompt OpendTect to restart to complete the installation of the
node-locked license.
For information about floating or server- based licenses, please refer to the
Appendix FlexNet Licenses Explained or look in the chapter installing floating
licenses for instructions on how to get them installed on the client.
For more general information about OpendTect licensing options, please see the
licenses page
- 47 -
Installing floating licenses
A floating license file is to be used by the dGB FlexNet license server. This license
server can run on Linux, Mac or Windows. See here for instructions on how to install
the license server on Linux and how to install the license server on Windows.
Once the license server is running we can then instruct the client on how to borrow
the license. There are two ways for installing the floating license on a client:
On a Linux client the variable can be set with the export or setenv command.
l port@host
l @host
- port = the TCP/IP port the license server is using. If port is not specified in front of
@home a default TCP/IP port number in the range of 27000- 27009 is used.
- host = the hostname of the license server. This comes from the SERVER line in
the license file.
- path to license file = exactly that. Place the license file in a network location avail-
able to all machines running OpendTect or copy it to all of the machines running
OpendTect (Typically: C:\Licenses)
- 48 -
Using the FlexNet lmpath tool
The lmpath tool can be used to add to, override, or get the current license path set-
tings.
This and other FlexNet tools are packaged in a single executable lmutil or lmu-
til.exe.
OpendTect 6.6.0 ships these tools. They can be found in the following paths:
l For Linux: OpendTect/6.6.0/bin/lux64/lm.dgb
On Windows run:
lmutil.exe lmpath - override dgbld port@host or lmutil.exe
lmpath -override dgbld licensefile
Note: lmpath sets the file $HOME/.flexlmrc on Linux and the FlexNet Licensing
registry entry on Windows platforms.
To display the current license path setting, use on Linux the command:
./lmutil lmpath - status
Or on Windows:
lmutil.exe lmpath -status
For a status of the currently in use licenses, use on Linux the command:
./lmutil lmstat - a - c port@host
Or on Windows:
lmutil.exe lmstat -a -c port@host
- 49 -
Clear license installation
Under Utilities > Installation > Licenses you will see the option Clear license install-
ation:
l Demo or node-locked licenses installed via any route, including the 'Install demo
license' option.
l Floating (or 'server') licenses that may have been installed (without stopping the
license server).
You will get this window explaining that all commercial licenses will be deacivated
and that the plugins will stop working. To remove click Remove or else Cancel.
- 50 -
Figure: Are you sure to remove the licenses?
Users of Linux systems wishing to clear their license installation will need to do the
following:
l Check in the file for specific lines referring to the OpendTect vendors (dGB,
ARKCLS)
l If the file contains lines relevant to other software, then just delete the individual
lines. Otherwise, you may choose to delete the file.
This method also applies to both demo/node-locked and floating licenses and will
also not stop the server.
- 51 -
Prepare offline installation packages
Offline installation packages can be created with the OpendTect Installation Man-
ager. It is useful to do this if you want to install OpendTect on a system that has no
access to Internet. Please follow these steps to create such offline installation pack-
ages:
1. Download the OpendTect Installation Manager for Linux or Windows from the
OpendTect download page.
4. Click the Proceed button to start creating the offline installation package.
- 52 -
5. The rest of the setup is identical to the usual way of installing OpendTect. You
pick the packages that need to be included in the installation and click the Pro-
ceed button.
6. When the offline installation package has been created this will be shown in the
information window.
7. The offline installation folder can now be transferred to the offline system by copy-
ing the folder via an USB stick or some other way onto the offline system.
- 53 -
Install OpendTect via offline installation package
On Linux:
3. ./unix_install.csh
Please note: to be able to run the installer csh needs to be installed
4. The installer asks for the path of where to install OpendTect, enter it, e.g. /home/user-
/OpendTect
5. The questions about a previous installed version of OpendTect and the initial Project
data folder can be answered or ignored.
7. If the Python packages have been installed then in the terminal run the following to pre-
pare the Python environment(s) on the system:
cd OpendTect/Python
./setup.Python
8. OpendTect can be started by running the start_dtect script, which can be found in
the OpendTect/6.6.0 folder.
On Windows:
3. Run OpendTect_setup.exe
- 54 -
4. Set the destination folder and press the Install button to start the installation.
- 55 -
Setup Python Settings
For information about the Python environments and how to install them please see
the following chapters:
4. As Custom environment root choose the root directory of your own miniconda3
or anaconda3 installation, e.g. C:\ProgramData\Anaconda3.
5. With anaconda3 it is possible to install the environments into a different path than
the root directory. From OpendTect 6.6.3 and onwards OpendTect will allow this
by reading out the paths from %UserProfile%\.conda\environments.txt on Win-
dows or $HOME/.conda/environments.txt on Linux.
- 56 -
Figure: Set Python Settings window with a selected custom Python environment
7. If you want to use a Python IDE you can choose Jupyter-Lab, Jupyter-Notebook,
Spyder or Idle that come with the environment or choose your own IDE.
- 57 -
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 com-
municate 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.
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.
- 58 -
Figure: Selected Batch Host Directory is not writable
- 59 -
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 Com-
puting 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
Advanced Settings:
l Here you may change the first port value (in the case that it is blocked or in use). By
default this first TCP port is 37500. We advise to open up to 5 ports, e.g. 37500-37504.
l Linux users may decide to change the remote shell command from the default ssh to
rsh.
When setting to ssh it is required that the user who is running OpendTect is able to
login to the other nodes without a password. This can be done by setting up public key
authentication between the nodes. We will not go into detail of how to do this. In short
this is done by generating the SSH key on the machine you are using to start the jobs,
- 60 -
the public key then needs to be uploaded to the nodes and added to the user's .ssh/au-
thorized_keys file.
l The Nice level sets the priority on the host machines, 19 being nicest and 1 being least
nice).
l Finally, the Default Data Root can be set per platform.
Description of icons:
Test hosts. Will perform tests to ensure that the server and nodes can com-
municate to the necessary extent to perform the MMP. (ie: can the nodes find the
data root folder and read/write into it)
l Can you ssh into the node(s) without having to type a password? e.g. run: ssh
nodehostname ls -la
l Can you the access the data project on the node(s)? e.g. run: ssh nodehostname
ls -la /pathto/dataproject
l When you run the scheduler is it listening on the port you set in the BatchHosts
file? e.g. run: netstat -antpu | grep 37500
- 61 -
l Is their a time difference on the server that is starting the scheduler and node(s)?
It is a good idea to sync them via a ntp server.
l Is the hostname resolution correct? Do the nodes get the correct IP address to
which they need to connect?
For more information on this topic, please refer to OpendTect's Youtube Channel
where you may find the webinar: Multi-Machine Processing Setup.
- 62 -
Setup the preferred GPU with NVIDIA Control
Panel
Laptops with an Intel CPU usually come with two integrated graphic cards. The
default one the laptop starts up with would be one such as Intel HD graphics.
OpendTect however will have the best performance when using the Nvidia GPU.
Therefore that one should be used instead.
When OpendTect starts it will scan your graphics card. If it finds an Intel card there
will be a warning message: 'Intel card found. If your computer has multiple graphics
cards, consider switching from the integrated graphics.'
On Windows 8.1 and 10 up to feature release 2004 the Nvidia GPU can be made
the preferred GPU with the NVIDIA Control Panel. We assume that you have
installed the latest Nvidia driver that is available for your GPU. If not then please go
to the Nvidia website and download and install the latest driver for your type of GPU.
In case you are running Windows 10 feature release 20H2 or newer the preferred
GPU has to be set with the Windows Settings.
- 63 -
1. Search for NVIDIA Control Panel, then start it
- 64 -
3. At Tab Program Settings click the Add button
4. In the new window it should show you OpendTect as a recently used program. Select it
and click on Add Selected Program.
- 65 -
5. Select the preferred graphics processor: High-performance NVIDIA processor.
7. The next time you start OpendTect it should no longer show the Intel card found mes-
sage popup. To check the graphics card used in OpendTect you might want to check
Utilities > Installation > Graphics Information. It should now show the Nvidia card
information and driver version.
- 66 -
Figure: Check which graphics card OpendTect uses
- 67 -
Setup the preferred GPU with Windows settings
Laptops with an Intel CPU usually come with two integrated graphic cards. The
default one the laptop starts up with would be one such as Intel HD graphics.
OpendTect however will have the best performance when using the Nvidia GPU.
Therefore that one should be used instead.
When OpendTect starts it will scan your graphics card. If it finds an Intel card there
will be a warning message: 'Intel card found. If your computer has multiple graphics
cards, consider switching from the integrated graphics.'
From Windows 10 feature release 20H2 and onwards and Windows 11 the Nvidia
GPU can be made the preferred GPU with the Windows settings. We assume that
you have installed the latest Nvidia driver that is available for your GPU. If not then
please go to the Nvidia website and download and install the latest driver for your
type of GPU.
In case you are running Windows 8.1 or 10 feature release 2004 or older the pre-
ferred GPU has to be set with the NVIDIA Control Panel.
- 68 -
1. Click the Start icon and then go to Settings > System
2. Windows settings should open the display settings. Browse down to Graphics settings
and click it.
3. Now choose an app to set the preference. OpendTect is a desktop app, so make sure
that the drop down bar has "Desktop app" selected. Now click the "Browse" button and
navigate to the OpendTect installation directory,
e.g.: C:\Program Files\6.6.0\bin\win64\Release and add od_main.exe
- 69 -
Figure: Choosing od_main.exe to set the GPU preferences
4. Now click the "Options" button and choose the High performance option and clicking
the "Save" button for setting the Nvidia GPU as default for OpendTect.
Figure: Setting the Nvidia card as high performance graphics preference for OpendTect
5. The next time you start OpendTect it should no longer show the Intel card found mes-
sage popup. To check the graphics card used in OpendTect you might want to check
Utilities > Installation > Graphics Information. It should now show the Nvidia card
information and driver version.
- 70 -
Figure: Check which graphics card OpendTect uses
- 71 -
Figure: Navigating to the Windows 11 System > Display settings
2. Windows settings should open the display settings. Browse down to Graphics settings
and click it.
- 72 -
Figure: Display > Graphics settings
3. Now choose an app to set the preference. OpendTect is a desktop app, so make sure
that the drop down bar has "Desktop app" selected. Now click the "Browse" button and
navigate to the OpendTect installation directory,
e.g.: C:\Program Files\6.6.0\bin\win64\Release and add od_main.exe
- 73 -
Figure: Choosing od_main.exe to set the GPU preferences
4. Now click the "Options" button and choose the High performance option and clicking
the "Save" button for setting the Nvidia GPU as default for OpendTect.
- 74 -
Figure: Setting the Nvidia card as high performance graphics preference for OpendTect
5. The next time you start OpendTect it should no longer show the Intel card found mes-
sage popup. To check the graphics card used in OpendTect you might want to check
Utilities > Installation > Graphics Information. It should now show the Nvidia card
information and driver version.
- 75 -
Setup NVIDIA GPU Performance Counters
When running jobs with the Machine Learning plugin you might get the following
error message: CUPTI_ERROR_INSUFFICIENT_PRIVILEGES
To fix this please follow the instructions from the NVIDIA site. It will be a good idea
to do this anyway to prevent of getting the above mentioned error message.
2. From the menu select Desktop and ensure that Enable Developer Settings is checked
4. Select Allow access to the GPU performance counter to all users to enable unres-
tricted profiling
- 76 -
- 77 -
Environment variables
There are several environment variables that can be set. OpendTect will look for
these environment variables. They can be set to:
l let OpendTect use the dGB license from the FlexNet license server,
- 78 -
DTECT_CLUSTER_ yes or no When set to yes OpendTect will have
PROC cluster processing enabled.
DTECT_PETREL_ Value of preferred This sets the preferred port for the
PORT port for the OpendTect Petrel* plugin access.
OpendTect
Petrel* plugin
access.
DTECT_SETTINGS Path to the This sets the path to the OpendTect set-
OpendTect settings tings home directory. Use this if you do
home directory not want to use the .od directory in the
user's home folder. Use this envir-
onment variable for Linux and Mac.
DTECT_ Path to the This sets the path to the OpendTect set-
WINSETTINGS OpendTect settings tings home directory. Use this if you do
home directory not want to use the .od directory in the
user's home folder. Use this envir-
onment variable for Windows.
LM_LICENSE_FILE port@host or Although it works it is preferred to set
@host or path to DGBLD_LICENSE_FILE instead.
the license file
OD_USE_ yes or no When set to yes OpendTect will support
VIRTUALMEM using virtual memory.
RSFROOT Path to the install- This sets the path to the Madagascar
ation directory of installation directory. If it is not set then
Madagascar and one would try to start Madagascar
from OpendTect an error message
would be displayed.
- 79 -
Firewall Rules and Open Ports
Firewall rules For OpendTect 6.6 (Windows)
The installer will ask to add firewall rules to the Windows Firewall. Which .exe pro-
grams it adds to Windows Firewall depends on the packages that have been
installed. Here is the full list of .exe files that require a rule in the Inbound Rules in
the Windows Firewall. You may also do this manually. The default OpendTect base
directory is C:\Program Files\OpendTect. The base directory can be another dir-
ectory if that is chosen during installation. If that is the case then replace the default
base directory in below list with the actual base directory.
l C:\Program Files\OpendTect\6.6.0\bin\win64\Release\od_main.exe
l C:\Program Files\OpendTect\6.6.0\bin\win64\Release\od_SeisMMBatch.exe
l C:\Program Files\OpendTect\6.6.0\bin\win64\Release\od_remoteservice.exe
l C:\Program Files\OpendTect\Python\python.exe
l C:\Program Files\OpendTect\Python\envs\odmlpython-cpu-mkl\python.exe
l C:\Program Files\OpendTect\Python\envs\odmlpython-cuda113\python.exe
Open Ports
OpendTect will need open TCP ports on the localhost for Batch Processing and
Machine Learning. Here is a list of ports that OpendTect needs to open if you run a
certain job:
Ports Description
5050 Is used by executable od_remoteservice, which needs to be
started on the compute node before job is submitted to it, but
only when the job is started from Windows.
20050 - 20080 Starting from OpendTect 6.6 these ports are used for com-
munication between OpendTect and Python, starting at port
20050.
We advise to have a broad range to be open, e.g. until 20080.
37500 - 37504 Ports used for the Distributed Computing, starting at port
37500. We advise to have a port range size of 5 open.
That allows a user to start several Distributed Computing jobs
from the same client machine.
57375 Is used for the OpendTect Petrel* plugin access.
- 80 -
When using the FlexNet license server for the OpendTect license(s) it will need
open ports for the license server and vendor daemon(s). Here is a list of ports that
need to be open on the server that is running the FlexNet license server:
Ports Description
27000 - 27009 If no TCP port is specified in the license file the FlexNet license
or server will use an unused port in the range of 27000 - 27009.
specified port
random ephemeral If no TCP port is specified in the license file the dgbld and ark-
port clsld vendor daemons will listen on an ephemeral random port.
or
specified port
- 81 -
Python environments
Information about the OpendTect Python envir-
onments
Miniconda3 is a basic Python environment. It allows using the Presentation Maker
plugin without having to install Python yourself. Provides libraries, including:
l Python 3.8
l pandas
l python-pptx
Math Kernel Library (MKL) is a complete Python environment for Machine Learn-
ing using CPU only (with Intel™ Math Kernel Library - MKL).
l Python 3.8
l intel-tensorflow
l keras
l scikit-learn
l pandas
l bokeh
l numpy
l h5py
l joblib
l psutil
l xgboost
- 82 -
l python-pptx
l jupyterlab
l onnxruntime
l pytorch
l matplotlib
Requires minimum driver version 466.XX, for specifics see this table on the Nvidia
CUDA Toolkit documentation page .
Will fallback automatically on the CPU if the hardware/driver requirements are not
met.
l Python 3.8
l tensorflow
l keras
l scikit-learn
l pandas
l bokeh
l numpy
l h5py
l joblib
l psutil
l xgboost
l python-pptx
- 83 -
l jupyterlab
l onnxruntime
l pytorch
l matplotlib
Please note: The Python CUDA 10 environment is now obsolete and will no longer
receive security updates. Also note that OpendTect does not support the Python
CUDA 10 environment from 6.6.6 and onwards.
- 84 -
Installing Python environments with the
OpendTect installer
When running the OpendTect installer there is the option to install the Python envir-
onments. The installer will auto select the Miniconda3 environment and also auto
select the Python CUDA 11 environment for training on the Nvidia GPU. For training
on CPU only the Math Kernel Library (MKL) Python environment should be selec-
ted. The Python CUDA 10 environment is now obsolete and will no longer receive
security updates. Users are encouraged to uninstall it, and replace it with either
CUDA 11 or CPU only Python environment. Also note that OpendTect does not sup-
port the Python CUDA 10 environment from 6.6.6 and onwards.
If you have your own miniconda3 or anaconda3 environment you might want to con-
sider to install the OpendTect Python environments from YAML files instead.
- 85 -
Installing Python environments from YAML files
The Python environments we provide can be installed into:
l the Python miniconda3 base directory that is installed with the OpendTect
installer,
For Linux:
l odmlpython-cpu-mkl_lux64.yml
l odmlpython-cuda113_lux64.yml
For Windows:
l odmlpython-cpu-mkl_win64.yml
l odmlpython-cuda113_win64.yml
The YAML files contain a list of essential packages that are needed inside the
Python environment. You can choose to install either the CPU only (odmlpython-
cpu-mkl) or CUDA 11 one or both. In most cases the CUDA 11 one would be the
best option so that the Machine Learning jobs can be run on the Nvidia GPU.
1. Open a terminal/konsole.
- 86 -
a. cd conda installation directory (e.g. cd /home/user/Miniconda3)
b. cd bin
f. Conda will collect the packages it needs to install from the YAML file.
g. Then it will download and extract the packages, do the transaction and install
remaining packages with pip.
On Windows:
1. Open the Command Prompt. Run as administrator if the Python installation dir-
ectory is on a location for which the user requires administrative rights.
b. cd condabin
c. activate.bat
- 87 -
Figure: Install Python environments from the YAML file on Windows
f. Conda will collect the packages it needs to install from the YAML file.
g. Then it will download and extract the packages, do the transaction and install
remaining packages with pip.
Cupti library
For Windows there are two ways to get the cupti library:
2. Or you can download and install CUDA Toolkit 11.3 update 1 from the Nvidia
CUDA site .
After installation add C:\Program Files\NVIDIA GPU Computing
Toolkit\CUDA\v11.3\extras\CUPTI\lib64 to the system or user environment
variable Path.
For information about how to use the custom environment in OpendTect 6.6 please
see the chapter Setup Python Settings.
- 88 -
On Windows you might experience a missing DLL bug in the scipy library. When this
happens the Machine Learning plugin will give an error message Inadequate
Python environment for Machine Learning plugin and the details will show a trace-
back. This traceback includes a FileNotFoundError: Could not find mod-
ule...gfortran-win_amd64.dll error.
Scipy knows about this bug and the issue can be viewed on their GitHub page.
The following workaround has been tested and might also work for your Python
environment:
Set environment variable CONDA_DLL_SEARCH_MODIFICATION_ENABLE to 1
- 89 -
License server
1. Download the Linux 64 (FlexNet v11.19.0.0) zip-file for OpendTect Pro & dGB Plugins
for OpendTect 6.4 and newer.
2. Create a directory on the server that is to be used as license server for OpendTect.
E.g. mkdir /opt/flexlm/opendtect
3. Unzip the zip-file in the directory that has been created in previous step.
5. The next thing that is needed is the server license file. This license file will be provided
by the dGB support via [email protected].
Best is to place the license file in the same directory as lmgrd.
6. The license file needs to be edited. Hence, open the license file with a text editor like
Vim.
7. In the top of the license file there is the SERVER line. The SERVER line format is:
SERVER host hostid [port]
For example:
SERVER myserver 123456abcdef 27005
Note that if no port is specified then the FlexNet server will listen on the first available
TCP port in the range of 27000-27009. A valid port number is any unused port number
in the range of 1024 to 65535. Ports below 1024 are privileged port numbers.
Below the SERVER line is the DAEMON line. The DAEMON line format is:
DAEMON dgbld full_path_to/dgbld [PORT=port]
For example
DAEMON dgbld /opt/flexlm/opendtect/dgbld port=43454
- 90 -
It is important that you replace on the DAEMON line fullpath_to/dgbld with the path to
the dgbld file. In this example we will change it into: /opt/flexlm/opendtect/dgbld .
Note that if port is not specified then the vendor daemon will listen on an ephemeral ran-
dom port at run time. A valid port number is any unused port number in the range of
1024 to 65535. Ports below 1024 are privileged port numbers.
You may want to start the license server with crontab, e.g. add line (with crontab -e):
@reboot /opt/flexlm/opendtect/lmgrd - c /op-
t/flexlm/opendtect/licensefile.lic - l /op-
t/flexlm/opendtect/dgbld_debug.log
Error messages
You may encounter error messages when starting the license server. Listed here
are the most common ones and how to solve them.
- 91 -
This error occurs when either the file or the executable's loader is not present. To
find the executable's loader run the following command:
file lmgrd
It should show something like:
lmgrd: ELF 64- bit LSB executable, x86- 64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-lsb-x86-
64.so.3, for GNU/Linux 2.6.18, stripped
Now check whether the file /lib64/ld-lsb-x86-64.so.3 exists. If not then lsb needs
to be installed.
This error message occurs if the user has not enough permissions to create the
log file in the path specified. To solve this error message either become a user
that has permissions to create the log file in the specified path or create it in a
path where the user has sufficient permissions, e.g. in the user's home directory.
Debian/Ubuntu users may want to run sudo ./lmgrd - c license-
file.lic -l debug.log
This error occurs if the user who starts the license server has no permissions to
read the license file. To solve this change the owner of the license file.
This error message occurs if there is no /usr/tmp folder on the system. It can be
solved by creating a symbolic link /usr/tmp that points to /tmp, for example run as
root user:
ln -s /tmp /usr/tmp
- 92 -
l Error getting status: Cannot find license file (- 1,73:2
"No such file or directory")
This error message occurs when you run run ./lmutil lmstat -a, but there
is no license manager daemon running. It could be that the license manager dae-
mon failed to start. More information can be found in the debug.log file.
Client installation
Please see the installing floating licenses chapter for more information on how to
instruct the client on how to borrow the license from the server.
- 93 -
Installing a license server on Windows
The FlexNet vendor package with the binaries that are needed can be downloaded
from the FlexNet Vendor Packages download page.
1. Download the Windows 64 (FlexNet v11.19.0.0) zip-file for OpendTect Pro &
dGB Plugins for OpendTect 6.4 and newer.
2. Create a directory on the server that is to be used as license server for OpendTect.
E.g. create the directory C:\Program Files\FlexLM Licensing Server\OpendTect.
3. Unzip the zip-file in the directory that has been created in previous step.
5. Ideally the log file should be written into the directory containing the lmgrd executable.
Starting from FlexNet v11.17.2 this is possible on a path containing a space. If an older
FlexNet version is used as license server then we advise to write the log file into folder
C:\ProgramData\FLEXlm\lmgrd. Create this folder if it does not yet exist.
6. The next thing that is needed is the server license file. This license file will be provided
by the dGB support via [email protected].
Best is to place the license file in the same directory as lmgrd.exe.
7. The license file needs to be edited. Hence, open the license file with a text editor like
Notepad or Vim.
8. In the top of the license file there is the SERVER line. The SERVER line format is:
SERVER host hostid [port]
For example:
SERVER myserver 123456abcdef 27005
Note that if no port is specified then the FlexNet server will listen on the first available
TCP port in the range of 27000-27009. A valid port number is any unused port number
in the range of 1024 to 65535. Ports below 1024 are privileged port numbers.
Below the SERVER line is the DAEMON line. The DAEMON line format is:
DAEMON dgbld full_path_to/dgbld [PORT=port]
For example
DAEMON dgbld "C:\Program Files\FlexLM Licensing
- 94 -
Server\OpendTect\dgbld.exe" port=43454
It is important that you replace on the DAEMON line fullpath_to/dgbld with the path to
the dgbld.exe file. In this example we will change it into: "C:\Program Files\FlexLM
Licensing Server\OpendTect\dgbld.exe" . In case there are spaces in the path then the
path should be within double-quotes.
Note that if port is not specified then the vendor daemon will listen on an ephemeral ran-
dom port at run time. A valid port number is any unused port number in the range of
1024 to 65535. Ports below 1024 are privileged port numbers.
- 95 -
Figure: LMTOOLS utility: Service/License File tab
1. At Service Name drop down create a new service name that will manage your
OpendTect Pro & dGB plugins licenses. The default service name is Flexlm Service
1. Best is to change this into a name like OpendTect-PRO License Manager.
2. At Path to the lmgrd.exe file browse to the directory that contains the lmgrd.exe file.
Select lmgrd.exe and then click button Open.
3. At Path to the license file browse to the directory that contains the license file. Select
the license file and then click button Open.
4. At Path to the debug log file put in the directory in which you want to write the dgbld_
debug.log file. Ideally C:\Program Files\FlexLM Licensing Server-
\OpendTect\dgbld_debug.log or C:\ProgramData\FLEXlm\lmgrd\dgbld_debug.log.
5. Toggle on Use Services and then toggle on Start Server at Power Up. This will
make sure that the license server will start automatically at power up or reboot.
- 96 -
Figure: LMTOOLS utility: Config Services tab
- 97 -
12. Ensure that the proper firewall exceptions are in place. There should be two excep-
tions (inbound application exceptions) for:
1. lmgrd.exe (TCP, for the port specified in the license file, e.g. 27005 )
2. dgbld.exe (TCP, for the port specified in the license file, e.g. 43454)
3. Make sure that the correct license server is selected in the list. Then click button Start
Server.
4. It is possible that the Windows firewall or your virus scanner blocks dgbld.exe . If this is
the case then you would want to add dgbld.exe to the list of Trusted Programs and/or
Firewall Rules. After making this change click button Start Server again.
5. If the license server start is successful LMTOOLS will show the message: Server Start
Successful.
- 98 -
6. Please refer to the debug.log file in case of issues.
This is an indication that the dgbld vendor daemon is not able to start:
(lmgrd) License server manager (lmgrd) startup failed:
(lmgrd) CreateProcess error code: 0x5 File= C:\Program
Files\FlexLM Licensing Server\OpendTect\dgbld.exe
License server manager (lmgrd) startup failed:
(lmgrd) CreateProcess error code: 0x5 File= dgbld.exe
Client installation
Please see the installing floating licenses chapter for more information on how to
instruct the client on how to borrow the license from the server.
- 99 -
Petrel* Plugin
Installing the PIP file
The plugin can be installed to Petrel* with the help of the PIP file in the usual way,
where you have to use the Plugin manager tool from the menu: File > Options > Plu-
gin manager. Press 'Install plugin' and select the downloaded PIP file. After install-
ation restart Petrel* to activate the plugin.
In order to install the updated version of the plugin, please remove the old one from
the Petrel* plugin manager. Then restart Petrel* and install the plugin as described
above.
The PIP files can be downloaded from the OpendTect Pro plugin for Petrel* down-
load page .
- 100 -
By default the plugin should use the TCP/IP port 57375; in case this port is not avail-
able / accessible it can be changed in two ways:
l From plugin user interface, which is available under the 'Seismic interpretation' tab in
the Petrel* ribbon.
- 101 -
PetrelDirect plugin is installed as a part of OpendTect Pro. On the Petrel* side, Data
access for OpendTect (dGB) plugin must be installed. Currently supported Petrel*
versions are Petrel 2020*, Petrel 2021* and Petrel 2022*. This is a step-by-step
guide on how to install and configure PetrelDirect plugin in both OpendTect and
Petrel*.
OpendTect
1. OpendTect 6.6: PetrelDirect plugin is a part of OpendTect Pro:
2. Once OpendTect Pro is installed, PetrelDirect status button can be found in the lower
right corner of the main OpendTect window:
3. Click the button to check the Petrel connection settings. Make sure that the TCP port is
the same port as is set in Petrel*.
Petrel*
To be able to use PetrelDirect functionality in Opendtect Pro, Data access for
OpendTect (dGB) plugin must be installed in Petrel*. Installation can be done either
via Windows installer (MSI file) or Plugin Installer Package (PIP file).
- 102 -
Via Windows installer (MSI file):
The Windows installer does both the first-time plugin installation and an update of
already installed plugin to a newer version without any extra actions.
1. Download msi file from the OpendTect Pro plugin for Petrel* download page.
2. Run the msi file and follow the instructions.
3. Start Petrel*
4. Go to Seismic Interpretation tab and observe that OpendTect toolbar is there now.
Figure: OpendTect toolbar
For the plugin to update to a newer version, an old version must be uninstalled first:
1. Start Petrel*
2. In Petrel* main window: go to File > Options > Plugin Manager ...
3. In Ocean Plugin Manager window: uninstall the old version of Data access for
OpendTect (dGB) plugin by selecting it and clicking Uninstall button.
4. Close Petrel*
1. Download PIP file from the OpendTect Pro plugin for Petrel* download page.
2. Start Petrel*
- 103 -
3. In Petrel* main window: go to File > Options > Plugin Manager ...
Figure: OpendTect toolbar
- 104 -
* Petrel is a mark of Schlumberger
- 105 -
Troubleshooting
When experiencing issues with OpendTect there are several ways to troubleshoot:
You can
l look in the log file(s) inside the Survey Data Root\LogFiles and %TEMP% folder;
l review, modify and/or delete the OpendTect settings in the $HOME/.od folder on
Linux or %UserProfile%\.od on Windows;
l set the environment variable OSG_ NOTIFY_ LEVEL to DEBUG to get more
information about OSG in the terminal or the Command Prompt when starting
OpendTect.
l look for an answer on the OpendTect Users Group or use your favorite search
engine;
- 106 -
l get priority support for commercial users by sending an email to the OpendTect
Support: [email protected];
l Any comments and/or email you add to the crash report before sending it.
Log files
Every time OpendTect starts a logfile is created in the Survey Data Root\LogFiles
folder. The naming of the log file is username_datetime.txt file.
The OpendTect Installer writes logfiles into the /tmp folder on Linux or %TEMP%
folder on Windows, the naming of these files are:
l username_od_instmgr_install_log.txt
l username_od_instmgr_updcheck_log.txt
- 107 -
Figure: OpendTect installer log files
l settings
l settings_coltabs
l settings_dataroot
l settings_presentation
l settings_python
l settings_snapshot
l settings_welldisp
l settings_welltie
l survey
If one or more of the above listed settings files, like the settings_coltabs, does not
exist in your .od directory this means that OpendTect hadn't (yet) had any reason to
create that particular settings file.
Editing of these files is at your own risk. If you delete them OpendTect will create a
new file when needed. If a file gets corrupt then deleting is exactly what you should
do.
- 108 -
Debugging OpendTect
The default setting is that OpendTect only shows minimum debug info when starting
OpendTect via the start_ dtect script on Linux. Windows users will not see any
debug info when starting od_main.exe.
When launching start_dtect from terminal on Linux the debug messages will be vis-
ible in the terminal.
Windows users will have to launch the Command Prompt, change the directory to
path_to\OpendTect\6.6.0\bin\win64\Release directory and from there run od_main_
console.exe
Figure: starting od_main_console.exe
- 109 -
Appendix A - FlexNet Licenses
Explained
Let us suppose you have received a 2-user license for a module. Normally you will
have obtained a floating license, meaning that you will be able to use the module
from any machine, and two users can be busy with it at the same time.
To be able to enforce the license, there must be a piece of software somewhere that
keeps track of who is using the module. That is the License Manager Daemon
(LMD). The LMD can run on any machine, also on machines that you will never use
the module itself on. Good candidates are stable UNIX servers.
When the LMD is started, it looks at a file containing the information about what
should be supported. This file is called the License File. Actually, the LMD can only
be started on the machine indicated in the license file. The license file could look like
this:
The first line tells us that the LMD must be started on the machine licserv, with
FlexNet ID 000347e8b845. The second line is interesting for the LMD only but then
you see two actual license FEATURE lines (dTect and dTectDS). These licenses
are valid for versions 6.6 and lower, until the 1st of January 2020, for two users
(6.600 1-jan-2020 2).
Now let's look at the machine that you run your software on. The program will at
some point in time need to check whether there is a license for what you are trying
to do. For this, the program looks at the same license file. It sees that it has to con-
tact the machine 'licserv' to ask for permission. The LMD keeps track of the number
- 110 -
of users already using the license feature. If a license is granted, your program will
go on, otherwise you'll get an error message.
Non-floating licenses
In some cases the software will never be used other than on a certain machine. In
that case a node-locked license can be issued. For such a license you do not need
to start a license manager daemon - an unlimited number of users can use the mod-
ule at the same time provided they work on that particular machine. A special case
is the unlimited demo license, which grants unlimited access for any number of
users on any machine. It goes without saying that this kind of license is always for
short periods.
Host identification
For the above schemes to work, the license server or the running machine must be
uniquely identified. Therefore, you will be asked to provide a unique host ID and a
hostname when you want to obtain a license. Different operating systems require dif-
ferent ways to obtain this information:
l Windows: On windows, there is a FlexNet utility that delivers both in a simple file that
can be sent by email. It is delivered together with commercial plugins so you need to
install one of those first. From the Start menu, select OpendTect > License Manager
Tools. Select the tab 'System Settings'. Then push the 'Save HOSTID Info to a File' but-
ton.
l Linux and Mac OS X: The hostname is obtained with the command hostname. The
host ID differs per distribution, but can always be obtained by the 'lmhostid' tool. This
tool is delivered with OpendTect, and can be run from the Utilities > Batch Programs
dialog.
l Windows: Open a 'command prompt' (For example, by running cmd) and issue a com-
mand like: ipconfig /all > c:\Temp\ipcfg.txt You can send ipcfg.txt or look
for the 'Physical address'.
l Linux and Mac OS X: Run ifconfig in a terminal. Or if ifconfig is not installed run
ip a. Look for HWAddr or ether. You want the MAC address, looking like
xx:xx:xx:xx:xx:xx - that's 6 groups of 2 hex numbers. Example: 00:1C:C0:38:22:F1.
Usually you would want to provide the one that is reported with devicename eth0 or
eno1. In doubt you can provide all.
- 111 -
If for some reason one of these commands does not work: we need the MAC
address of the main network card. Sending the IP address of a machine is never
helpful.
The FlexNet license system is based upon internet technology. Therefore you can
run your software on any machine, using any operating system, to get licenses from
any other machine regardless of operating system or physical location. Thus, a
Linux license server in Houston can manage the licenses for Windows, Linux and
Mac OS X machines in Houston, Caracas and Paris. The only restriction is the num-
ber of users actually using the 'feature' at a certain time, but that is what you pay for.
For more information, see the FlexNet Licensing End User Guide.
- 112 -