X
6937

How to check if the OpenCL configuration of your machine is valid to run SARscape

 

SARscape requires a working OPenCL 1.2 runtime (or higher) version. If not present, the SARscape process will fail with an OpenCL error in the SARscape log files

You can check if your SARscape installation is detecting a valid OpenCL runtime installation using the below SARscape tool from the ENVI Toolbox:

/SARscape/Administration/View Files/OpenCL Info

 

This article explains how to interpret the output from this tool

 

  1. First have a look at the OpenCL platform area. For example

      Nr. of platforms . :2

It means that 2 possible CPU or GPU systems have been detected on your machine

 

  1. The details of each CPU/GPU platform are then listed. For example

Platform 0  . . . :  Intel(R) OpenCL

Platform 1  . . . :  NVIDIA CUDA

 

  1. For each platform you can access its list of CPU/GPU devices. For example, 2 devices are detected for the first platform in the example below – 1 CPU and 1 GPU.

               Available devices:2 (1 GPUs, 1 CPUs, 0 accelerators)

 

  1. For each device, its description and type (CPU/GPU) is included in the output. For example

      Device 0. . . :Intel(R) UHD Graphics 630 (def)

      Device type. :GPU

 

              Device 1. . . :Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz

      Device type. :CPU

 

  1. Also, the status of each device is listed. For example

      Context check:passed

      Device ready . :yes

If a device is not ready or does not pass the check, it should not be used by SARscape to process the data.

 

  1. At the bottom of the output, you are told if your system is compatible (or NOT) for SARscape. For example:

     [OK] This machine seems to be SARscape-compatible

 

 

In case your system is not compatible with SARscape, you will need to install a valid OpenCL platform such as a CPU-only runtime platform, following the SARscape documentation for Windows

http://sarmap.ch/ocl/opencl-install.html

or the following Help Article for Linux

https://www.harrisgeospatial.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/23898/How-to-setup-OpenCL-drivers-for-SARscape-on-Linux

 

You can also select which device will be used by SARscape from the SARscape preferences.

  • Move to /SARscape/Preferences/Preferences common
  • Select General Parameters
  • Select the OpenCL platform and OpenCL device you want to use for SARscape processing 

In case one of the listed devices from the OpenCL info tool is not ready or does not pass the check, it should not be selected for SARscape processing in the SARscape preferences

 

 

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

written by BC on 27/05/2020, reviewed by MM on 05/27/2020