-
Notifications
You must be signed in to change notification settings - Fork 70
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
compile the srwlpy.so on ubuntu 14.04 #5
Comments
Perhaps you linked it with a wrong version of FFTW library(?). It should be fftw-2.1.5 compiled for 32 bit (i.e. with the option --enable-float, see README.txt). Sent from my T-Mobile 4G LTE Device -------- Original message -------- I compile the srwlpyso on ubuntu 1404, the python is anaconda python 2711 and when I run the example 06 07 08 09 , it is crashed with segmentation fault I don't know why — |
I compiled the FFTW as the follow, and my os is x86_64 , you mean I need to complied for 32bit? Thank you!
|
Sorry I was not precise. The library itself (libfftw.a) should be compiled for 64 bit, but it should be configured to work with single-precision numbers. This is ensured by the --enable-float switch. It looks like you did compile it correctly. However, maybe at linking, another, default library of Ubuntu is used? It may have same name (libfftw.a) yet it may be compiled to operate with double-precision numbers (which is the default case). Sent from my T-Mobile 4G LTE Device -------- Original message -------- I compiled the FFTW as the follow, and my os is x86_64 , you mean I need to complied for 32bit? Thank you! cd fftw-2.1.5 — |
Thank you very much! I replaced all the libfftw.a and removed all the libfftw.so, it works! |
I compile the srwlpy.so on ubuntu 14.04, the python is anaconda python 2.7.11. and when I run the example 06 07 08 09 ..., it is crashed with segmentation fault. I don't know why. Thank you!
The text was updated successfully, but these errors were encountered: