Comments (6)
Hi Yu-Hang,
Can you try STRUMPACKGaussianProcessRegressor
in
/global/cscratch1/sd/pghysels/STRUMPACK/install/include/python/STRUMPACKKernel.py
on cori?
export PYTHONPATH=$PYTHONPATH:/global/cscratch1/sd/pghysels/STRUMPACK/install/include/python
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/global/cscratch1/sd/pghysels/STRUMPACK/install/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/global/cscratch1/sd/pghysels/ButterflyPACK/build
It has __init__
, fit
and predict
similar to GaussianProcessRegressor
.
You can also install things yourself:
https://github.com/pghysels/STRUMPACK (branch gpr)
https://github.com/liuyangzhuan/ButterflyPACK
Pieter
from strumpack.
@pghysels Thanks for the update! I'll try it on my workstation since I don't (yes I'm not joking) have an account on Cori yet. Will let you know as soon as possible!
from strumpack.
Ok. Let me know if you have issues with the installation.
We might also need to tune some parameters, we can look into this together.
from strumpack.
@pghysels How can I get a .so
file? Currently, I can only get a .a
library file after compilation.
from strumpack.
Add -DBUILD_SHARED_LIBS=ON
to the cmake command.
Did you also build ButterflyPACK and enable support for that in STRUMPACK?
-DTPL_ENABLE_BPACK=ON \ -DTPL_BPACK_INCLUDE_DIRS="$BPACKHOME/SRC_DOUBLE/;$BPACKHOME/SRC_DOUBLECOMPLEX" \ -DTPL_BPACK_LIBRARIES="-L$BPACKHOME/build/SRC_DOUBLE/ -ldbutterflypack -L$BPACKHOME/build/SRC_DOUBLECOMPLEX/ -lzbutterflypack" \
You can add
-DSTRUMPACK_BUILD_TESTS=OFF \ -DSTRUMPACK_C_INTERFACE=OFF \
to speed up compilation.
Pieter
from strumpack.
Hi @pghysels and @liuyangzhuan, when I tried to run the regressor using stock kernels from scikit-learn, I got some error that crashes the Python interpreter. Could you please take a look at the details as in #26?
In addition to that, I've done some work to make the regressor (at least) syntactically compatible with generic kernels. However, I guess it will be more efficient if we can figure out #26 first.
from strumpack.
Related Issues (20)
- Fortran Interface for Finite Element nonlinear solver HOT 4
- Windows 10 support HOT 6
- Iterate Cluster Tree HOT 5
- mpi_type for std::pair leads to memory leaks HOT 3
- MSVC: Cannot convert from strumpack::EliminationTreeMPIDist<scalar_t,integer_t> *' to 'const strumpack::EliminationTree<scalar_t,integer_t> *' HOT 1
- Including ButterflyPACK HOT 2
- Segmentation fault during forward solve with CUDA HOT 4
- STRUMPACK with > 1 GPU per node HOT 11
- Crash with updated PETSc interface using version 7.1.3 HOT 2
- Does STRUMPACK support the 'long double' data type? HOT 1
- Symmetric support HOT 1
- is there a way to pass and receive gpu pointers to linear solvers? HOT 3
- Inconsistant diagonal entries for dense matrix and corresponding HODLR matrix HOT 7
- namespace "thrust" has no member "stable_sort_by_key" HOT 1
- Input matrix NAN in ComputeRange HOT 8
- HODLR OpenMP support HOT 1
- std::length_error', when total nonzeros is higher than maximum of integer4, Fortran use of STRUMPACK_MPIdist HOT 23
- HSSMatrix HSSMatrix log determinant HOT 2
- construct_partially_matrix_free for MPI HOT 2
- [error] Cmake based build with intel mkl library HOT 35
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strumpack.