-
Notifications
You must be signed in to change notification settings - Fork 30
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
Installation bug #92
Comments
Hi Maria, It seems we are using a Let us know if it solves your problem. |
I've tried to install it after
Even though I've installed breathe and deleted the output directory of doxygen and ran it again, I get this error. |
Hi again, I see you have successfully compiled the source code. However, you are stopped in the documentation generation step.
Hope it helps. |
Hi Antonio, I tried all three solutions. After I run the second without an error and installed the khiva package with
ERROR:
|
Hi Maria, I see you are getting a new error, I'm happy previous errors are solved. So, let's focus on this new one. You are getting an exception from arrayfire because we are using the unified interface and it can't find the corresponding arrayfire backend library in your SO at runtime, why is that?. This problem is raising from ArrayFire 3.6.2, because they moved the default installation dir from How do we solve this issue?. There are possible 2 solutions for this:
Note: the second option will only work if you have disabled the SIP (System Integrity Protection) of APPLE, check this. Because this protection doesn't allow you to modify the env variable |
@mmar30 did it work? |
unfortunately both solutions throw the same error as before :( |
My installation is also failing in <make -j4> [ 32%] Linking CXX executable ../bin/features |
I've tried installing from the release .deb file (ubuntu) too, but that is failing silently. |
Hi @skoeb, we are sorry you had problems installing our library. Please take a look to #67, your problem might be related with the C++ ABI Conan linked the GTest library with. Follow the procedure mentioned in the issue mentioned just before. If the problem persists don’t hesitate to contact us again. |
I tried changing the setting in the conan default profile to The error during
Thank you for your quick response and help, I'm looking forward to using your library! |
Also, when I try installing with the release, it appears to be failing silently:
python is 2.7 (64 bit), same version pip. I've also tried installing within a python 3.6.8 (64 bit) conda environment. |
It looks like it was installed without problems. Could you check if you have the .so files under /usr/local/lib (libkhiva.so, libkhiva_c.so and libkhiva_jni.so)? If the files are there, and you are planning to use the Python binding, install it using pip and try following the first example available in read the docs. |
Thanks again for the quick response. The installation appeared to be working, but my anaconda environment path wasn't looking in /usr/local/lib. I updated this and installed the python wrapper using pip. I am now getting a similar error to @mmar30 though. When I try to run
I am getting the following error:
|
One thing to note: the |
Making progress on figuring this out... setting CPU backend fixes the test:
Outputs Additionally, Khiva is seeing my GPU:
but running the first block of code with the GPU as the backend results in:
|
It looks like khiva has been installed properly. The error you are facing right now seems to be related with the CUDA backend of ArrayFire. Which CUDA toolkit version do you have in your system? We experienced some issues with previous versions of ArrayFire and CUDA toolkit v10. We haven’t tested with ArrayFire v3.6.4 as of yet, but it could be a similar issue. Another thing you can try is compiling ArrayFire, it might take some time, but it should solve the problem. Take a look to the following Dockerfile for instructions on how to compile it. A different alternative would be using the khiva docker image, which is available in Docker hub. Use the CUDA one to obtain the best possible performance. |
@skoeb did you manage to make it work? |
Partially, still having trouble with GPU compatibility in some modules, but others (like DTW) are working. |
I have some questions about functionalities (things like PSI for DTW), but I'll open another issue for those. Thanks for your help! |
@skoeb The modules which do not work could be because of the ArrayFire-CUDA toolkit versión issue I mentioned before. For any questions about functionality or further support in the install process please use our Gitter channel. There we can have a more fluid conversation. We use GitHub issues for actual issues/bugs and feature requests. |
Describe the bug
I can’t install khiva, when I run make –j8 I get the following error after 32% :
CMakCe EMrraork aet /EAprprliocr ataiton s//CMAakpe.palppi/Ccoantteintosn/ssh/aCrMe/ackmeak.ea-3p.p14//CMoodnultees/nGtoosg/lesThesatrAded/Tcemsatkse.-c3m.a1k4e/:M4o0d (message):
u l eEsr/rGooro grluenTneisntgA dtdeTsets tesx.eccmuatkaeb:l4e0.
(
m e s s aPgateh): :'
/U s eErrsr/omra rriuan/nPiyncgha rtmePsrto jeexcetcsu/tkahbilvea.N
e
w / b u iPladt/bhi:n /'p/oUlsyenrosm/imaalr'i
a / P y cRheasrumlPtr:o jPercoctess/sk htievramNienwa/tbeudi lddu/eb itno/ vteirmseioount'
u l t : P
r
o
cess termin
ated due to timeout
Output:
make[2]: *** [bin/polynomial] Error 1
make[2]: *** Deleting file
bin/polynomial' make[2]: *** [bin/version] Error 1 make[2]: *** Deleting file
bin/version'make[1]: *** [test/CMakeFiles/polynomial.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [test/CMakeFiles/version.dir/all] Error 2
[ 32%] Built target statistics
[ 32%] Built target regularization
[ 32%] Built target normalization
[ 32%] Built target clustering
[ 32%] Built target matrix
fatal: not a git repository (or any of the parent directories): .git
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/Users/maria/anaconda3/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/Users/maria/anaconda3/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/Users/maria/PycharmProjects/khivaNew/doc/sphinx/source/conf.py", line 44, in
["git", "describe"]).strip().decode("utf-8").split('-')[0]
File "/Users/maria/anaconda3/lib/python3.7/subprocess.py", line 389, in check_output
**kwargs).stdout
File "/Users/maria/anaconda3/lib/python3.7/subprocess.py", line 481, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'describe']' returned non-zero exit status 128.
make[2]: *** [doc/CMakeFiles/documentation] Error 2
make[1]: *** [doc/CMakeFiles/documentation.dir/all] Error 2
make: *** [all] Error 2
To Reproduce
after running:
make -j8
Environment information:
The text was updated successfully, but these errors were encountered: