Community
cancel
Showing results for 
Search instead for 
Did you mean: 
user02
Novice
264 Views

Intel Python Linux offline installer fails silently when bzip2 is not available.

Jump to solution

When running the offline, single component "Intel Distribution for Python for Linux" installer (l_pythoni37_oneapi_p_2021.1.1.44_offline.sh) on a system that lacks bzip2, but that has tar and gzip, the installer will complete successfully and write all status as success to the log. However, multiple components will be missing, including the python binaries. This creates quite a mysterious state for the user.

The installer needs to be patched to detect and report when dependencies are missing.

Example installation command (note that --install-dir can be left out and still reproduce the behavior):

./l_pythoni37_oneapi_p_2021.1.1.44_offline.sh -a \
--eula accept \
--install-dir ${wherever} \
--silent

Installer distributed by Intel from: https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html#pyth...

A use case that leads to this behavior is the use of minimal OS bootstrapping of containers. For example, the "centos:7/7.7/7.7.1908" base from Sylabs Cloud provides a Singularity container base that lacks bzip2 by default. Ideally, the installer would perform a check of all dependencies at start and enumerate them all up front. This would make it easier to add them to the OS base as a pre-requisite to the installation.

Labels (1)
0 Kudos

Accepted Solutions
AthiraM_Intel
Moderator
152 Views

Hi,


Sorry for the delay. We would like to inform you that this issue will be fixed in the future releases.



Thanks.


View solution in original post

6 Replies
AthiraM_Intel
Moderator
237 Views

Hi,


Thanks for reaching out to us.

We are checking on the issue.

Could you please share the reproducer code, so that we can try out the same from our end.


Thanks.


user02
Novice
235 Views

Steps to reproduce:

1. Start with a CentOS 7 (or other Linux distribution) installation that does not have bzip2. Alternatively, uninstall the bzip2 package from an existing installation.

2. Install Intel Python using the installer and command from my original post.

3. Observe that the log reports all success, but that the python interpreter was not installed.

AthiraM_Intel
Moderator
207 Views

Hi,


We are able to reproduce the issue. Thanks for reporting this issue.

We will inform the concerned team regarding this and will keep you posted on updates.


Thanks



user02
Novice
202 Views

That is great. Thanks! I am looking forward to the fix.

AthiraM_Intel
Moderator
153 Views

Hi,


Sorry for the delay. We would like to inform you that this issue will be fixed in the future releases.



Thanks.


View solution in original post

user02
Novice
147 Views

Excellent! Thank you.