X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



3107 Rate this article:
1.0

How to setup OpenCL drivers for SARscape on Linux

 

SARscape requires a working OpenCL 1.2 runtime (or higher) version to run. You can check if your SARscape installation is detecting a valid OpenCL runtime installation using the below SARscape tool:

/SARscape/Administration/View Files/OpenCL Info

See also the link below for more details: 

https://www.nv5geospatialsoftware.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/23897/How-to-check-if-the-OpenCL-configuration-of-your-machine-is-valid-to-run-SARscape

 

In case your Linux machine does not include a valid OpenCL installation, the process to install an OpenCL CPU-only runtime platform is proposed below
 

  • Install ENVI.

 

  • Install SARscape. For example, use the commands below:

sudo gunzip SARscape_linux_v562.tgz

sudo tar -xf SARscape_linux_v562.tar

sudo ./install.sh /usr/local /usr/local/harris/envi56

Note that the fist path in the above command -/usr/local- refers to the path where SARscape will be installed while the second path -/usr/local/harris/envi56- refers to the ENVI installation directory

At the end of the installation a message may inform you that your system does not support OpenCL.

This computer does not seem to have any OpenCL platform suitable for SARscape.
Please read the SARscape_OpenCL_Installation.pdf document for more information.

 

  • Move to the SARscape installation directory:

         cd /usr/local/SARscape/config_file

 

  • Unzip/untar the below OpenCl installer included with the SARscape installation

      sudo tar -zxvf l_opencl_p_18.1.0.015.tgz

 

  • Move to the opencl_p_18.1.0.015 folder and run the installer

cd /usr/local/SARscape/config_file/l_opencl_p_18.1.0.015

sudo ./install.sh

Or

sudo ./install_GUI.sh (to run it as a GUI)

 

  • After the installation succeeds, run the SARscape OpenCL info file to confirm your SARscape installation now supports a valid OpenCL CPU device

 

Notes:

- Depending on your Linux flavor, the OpenCl installer may complain about some missing dependencies such as lsb-core or libnuma. If this is the case, abort the installation, install the missing packages - from your Linux distribution- and then restart the OpenCL installer. For exmaple for Ubuntu flavor you may use the below commands

sudo apt-get update
sudo apt-get -y install lsb-core

 

- If the OpenCL installer complains about an unsupported Linux version, just ignore the warning and move forward with the installation 

 

- The installation of the drivers provided within SARscape distribution may fail on recent Operating System. If this is the case, or if you want to benefit of the last version of OpenCL drivers, we invite you to follow instructions from the below document available in the SARscape distribution.

/usr/local/SARscape/doc/SARscape_OpenCL_Installation.pdf

 

 

If any questions, please contact Tech Support

 

 

--------------

writen by BC on 05/27/2020 - reviewed by MM on 05/27/2020

updated by BC on 5/25/2022 - reviewed by MM on 05/27/2025

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »