Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ThomasL
Beginner
604 Views

python dumps core

Jump to solution

Have Intel Python 3.7.4 (default, Nov 22 2019, 21:31:39)
[GCC 7.3.0] :: Intel(R) Corporation on linux
installed.

is starting with prompt, but when I give commands like help() or any else I get

double free or corruption (out): 0x00007fb167ca39f0 ***
Aborted (core dumped)

0 Kudos

Accepted Solutions
Louie_T_Intel
Moderator
480 Views

Hi Thomas,

 

Sorry for late response.

Intel distribution for Python doesn't include readline, and you get readline from public pip channel instead of intel channel.

 

For your core dump issue, it should be related to your gcc compilation process.

Can you try below steps for using readline python module?

  1. pip install gnureadline
  2. pip uninstall readline

 

Above steps work on my Intel Python environment.

 

Let us know if it works for you or not.

 

regards

Louie


View solution in original post

7 Replies
AthiraM_Intel
Moderator
587 Views

Hi,


Thanks for reaching out to us.

 

We are able to install Intel python 3.7.4 on Linux successfully.

 

Could you please check whether your installation is completed without any failure.

Please install the same again and let us know whether the issue still persists.

 

Please find the below link for register and download Intel python for Linux.

https://software.intel.com/content/www/us/en/develop/tools/distribution-for-python/choose-download/l...

Make sure that the installation completed without any failure.



ThomasL
Beginner
581 Views

Hi AthiraM_Intel,

as i become aware the first time the problem, I've updated to patch2 from tarball l_pythoni3_p_2020.1.893 . After installation without any errors i upgraded the complete intel parallel studio cluster edition to parallel_studio_xe_2020_update1_cluster_edition above fresh installed parallel_studio_xe_2020_cluster_edition. Also without errors.

Now get idea,

as I remeber starting interactive python shell I got no module named readline. Then I installed readline using pip.  Since this time the coredumps occures. Now checked with spyder3 . works without any errors. Then i 've removed readline and make some tests codes  and it works on pythonshell, but the startup of the shell gives error about missing readline again but ignored.  May be intelpython does not use readline from pip but from Intelpath ?

Have we to modify the /etc/pythonstart ?   Or to remove the IPYTHONSTARTUP varable points to ?

 

Thomas

AthiraM_Intel
Moderator
558 Views

Hi,


We are investigating on this issue, will get back to you soon.


Thanks


AthiraM_Intel
Moderator
529 Views

Hi,


We are forwarding your case to Subject matter Experts.


Thanks


Louie_T_Intel
Moderator
481 Views

Hi Thomas,

 

Sorry for late response.

Intel distribution for Python doesn't include readline, and you get readline from public pip channel instead of intel channel.

 

For your core dump issue, it should be related to your gcc compilation process.

Can you try below steps for using readline python module?

  1. pip install gnureadline
  2. pip uninstall readline

 

Above steps work on my Intel Python environment.

 

Let us know if it works for you or not.

 

regards

Louie


View solution in original post

ThomasL
Beginner
473 Views

Hi Louie,

thanks a lot.

Works for me too.

Perfect, but should Intel distribution not contain  the right readline (gnureadline) per default ?

Anyway, this thread can be closed.

Thomas

Louie_T_Intel
Moderator
448 Views

Hi Thomas,


we will feedback this issue to Intel Python release team, and discuss with them to have proper readline in Intel python release in the feature.


will close the ticket for now.

thanks