spack icon indicating copy to clipboard operation
spack copied to clipboard

update to faiss1.7.2

Open bhatiaharsh opened this issue 2 years ago • 7 comments

(1) updated faiss to version 1.7.2. (2) the new build system is cmake. followed the example from here to deprecate old messages. (3) added new variants for building shared libs

bhatiaharsh avatar Apr 16 '22 16:04 bhatiaharsh

@adamjstewart @alalazo i need some help with this. the cmake creates multiple test targets, e.g., TestGPUDistance. the make TestGPUDistance command build as well as runs the test. Using spack, however, I am not able to link to to cudart.so. I am not able fix this error. Could you please look at the package to see if there are any obvious issues? I am able to load the python package successfully, so that i think works.

bhatiaharsh avatar Apr 16 '22 16:04 bhatiaharsh

I don't know much about CMake. Have you tried asking the faiss developers?

adamjstewart avatar Apr 16 '22 18:04 adamjstewart

i havent. i am able to build and run tests correctly directly through cmake. but it fails when built through spack.. so my guess is that spack is not forwarding cuda paths correctly. may be?

bhatiaharsh avatar Apr 17 '22 16:04 bhatiaharsh

Converting to draft since reading the comments this one doesn't seem ready to be reviewed / merged. Feel free to ping me when the issues are fixed.

alalazo avatar May 10 '22 07:05 alalazo

the package install and runs fine on Summit. So looks like there is nothing wrong with that.

However, there is a problem on lassen when we run with +tests. my guess is that it's something to with how modules are setup.. perhaps they are not setting the LD_LIBRARY_PATH.. not sure.

bhatiaharsh avatar May 10 '22 17:05 bhatiaharsh

@alalazo , can you merge this one in. this works fine and the issue seems to be lassen, not the package.py

bhatiaharsh avatar May 26 '22 20:05 bhatiaharsh

@adamjstewart @alalazo : another ping with request to review and merge this

bhatiaharsh avatar Aug 10 '22 15:08 bhatiaharsh

@alalazo can we merge this in quick? there are some styling changes that you asked for, but some of those can be done along the way in future. the package works and that is what is most important. this is creating a bunch of confusion for folks who are wanting to use this.

bhatiaharsh avatar Sep 01 '22 23:09 bhatiaharsh

Seems like we have this version

haampie avatar Jan 10 '23 10:01 haampie