h2oai / h2o4gpu

H2Oai GPU Edition
Apache License 2.0
460 stars 95 forks source link

fix #663 #707

Closed sh1ng closed 5 years ago

sh1ng commented 5 years ago

Static linking with CUBLAS, CUSPARSE, CUSOLVER

sh1ng commented 5 years ago
ldd lib_lightgbm.so 
    linux-vdso.so.1 (0x00007fff94994000)
    libOpenCL.so.1 => /usr/local/cuda-10.0/lib64/libOpenCL.so.1 (0x00007fae8f90d000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fae8f584000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fae8f1e6000)
    libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007fae8efb7000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fae8ed9f000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fae8eb80000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fae8e78f000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fae8ff78000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fae8e58b000)

There's only a dependency on libOpenCL.so. As I know the same library is delivered with Nvidia driver.

sh1ng commented 5 years ago

I'm also using this PR to make CI more stable.