Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core dumped error [Linux] #200

Open
Hugi21 opened this issue Dec 3, 2019 · 2 comments
Open

Core dumped error [Linux] #200

Hugi21 opened this issue Dec 3, 2019 · 2 comments

Comments

@Hugi21
Copy link

Hugi21 commented Dec 3, 2019

Hello !
I recently installed pyChrono and I tried to run that code to test if everything works : http://api.projectchrono.org/tutorial_pychrono_demo_python2.html
But I have a core dumped error when I try to run it. (I don't put the logs because visual studio just display "Core dumped").

I saw that there were issue about that error but all the library is correctly installed. So I don't know what I can do to solve that.

Here is the result of $ more /proc/cpuinfo | grep flags :

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pln pts md_clear flush_l1d

So if you can help me :).

Regards

@Benatti1991
Copy link
Member

Hi Hugi,
thanks a lot for posting your CPU flags! =) Indeed, the conda binaries need AVX2.
You can build pychrono from sources following these instructions:

@AlexandrParkhomenko
Copy link

Hello friends!
I build pychrono from sources:
Program received signal SIGILL, Illegal instruction.
0x00007ffff77700e3 in ?? () from /usr/local/lib/libChronoEngine.so

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save

I try debug now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants