[root@p650-pvm1 ~]# /home/cecuser/esa-snap_all_unix_8_0.sh Unpacking JRE… 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 Architecture: ppc64-le
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?