arogozhnikov / hep_ml

Machine Learning for High Energy Physics.
https://arogozhnikov.github.io/hep_ml/
Other
176 stars 64 forks source link

compile with -fPIC option #44

Open Falengord opened 7 years ago

Falengord commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@Falengord did you resolve the problem?

Falengord commented 7 years ago

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