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

compile with -fPIC option #44

Open
Falengord opened this issue Nov 29, 2016 · 3 comments
Open

compile with -fPIC option #44

Falengord opened this issue Nov 29, 2016 · 3 comments

Comments

@Falengord
Copy link

hi, I'm trying to use the MLPClassifier from hep.nnet, when running the code I get an error that suggest to add -fPIC during the Python compilation.
I tried adding the -fPIC option in the makefile an also change from CFLAGS=... to CFLAGS+=... as suggested in some other discussions but both ways failed.
I attach in the zip both the error that I receive and the Makefile generated via ./configure, I build it with gcc48 on slc6 x86_64 system with an lxplus-like configuration.
Issues.zip
Somone have an idea what I'm doing wrong?

@arogozhnikov
Copy link
Owner

Have a look here:

http://stackoverflow.com/questions/21342931/error-importing-theano

If it still doesn't work, you can ask at theano user group or at stackoverflow. Or try conda.

@arogozhnikov
Copy link
Owner

@Falengord
did you resolve the problem?

@Falengord
Copy link
Author

Hi sorry the late response, we didn't solve yet but we paused the work on that machine for now and we are currently running the library on another machine where is all fine

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

No branches or pull requests

2 participants