Is there any use cases for SNAP running on IBM Power Systems?
I downloaded the installer https://download.esa.int/step/snap/8.0/installers/esa-snap_sentinel_unix_8_0.sh, however during installation the following error is displayed:
[root@p650-pvm1 ~]# /home/cecuser/esa-snap_all_unix_8_0.sh
Starting Installer …
/home/cecuser/esa-snap_all_unix_8_0.sh: line 600: /home/cecuser/esa-snap_all_unix_8_0.sh.112142.dir/jre/bin/java: cannot execute binary file: Exec format error
[root@p650-pvm1 ~]# hostnamectl
Static hostname: p650-pvm1
Icon name: computer
Machine ID: ----
Boot ID: ----
Operating System: Red Hat Enterprise Linux 8.4 (Ootpa)
CPE OS Name: cpe:/o:redhat:enterprise_linux:8.4:GA
Kernel: Linux 4.18.0-305.el8.ppc64le
This error occurs because the installer was not built for the IBM Power Platform.
Do you have this installer for RHEL 8.4 on IBM Power Platform? If not, is there a roadmap for releasing a compatible version? Or is there a procedure to compile the SNAP source code and generate an executable to be used with Python?
In the past years there was no request for the support of the Power Architecture.
That’s why it is not supported by the installers.
I’ve seen that also only JDK distributors provide a JDK (e.g. https://adoptopenjdk.net/) for the Power Architecture.
Because of the low demand we don’t have it the roadmap.
There is also no procedure to build it by yourself, but you can try one thing.
Install SNAP on a Linux with supported architecture. Take the installation directory and copy it to the destination. Then install a JDK and replace the jre directory in the SNAP installation directory with the jre folder from the JDK installation.
The shell scripts used to execute SNAP desktop and gpt shall work.
Hi Marco Peters, thanks for the feedback! As the goal is to be able to use SNAP from Python code, I believe we will need to run snappy-conf on the IBM Power Platform, is that correct? If it works how could we get support for the IBM Power Platform?
If you follow the steps I described in the post before you will have the snappy-conf script in the bin folder like the other script.