Skip to content
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

Replace Pysparse with something else for Python 3 #29

Open
huntrontrakkr opened this issue Apr 20, 2017 · 6 comments
Open

Replace Pysparse with something else for Python 3 #29

huntrontrakkr opened this issue Apr 20, 2017 · 6 comments
Assignees

Comments

@huntrontrakkr
Copy link

huntrontrakkr commented Apr 20, 2017

Hello,
In order to accelerate a project, I'm attempting to utilize topy with a custom build of pysparse that is built with superlu_dist. The problem is that the include files between superlu and superlu_dist seem to be fairly different. (ex: instead of sp_ddef.h, there is super_ddef.h). I've tried to replace a number of includes within several of the sparse implementations and managed to get some compilation to occur, but it remains a difficult problem. do you know of a simpler way of building the package?

@ISosnovik
Copy link
Collaborator

ISosnovik commented Apr 20, 2017

Hello
I thought about the acceleration of the optimization. The slowest part is the solution of linear system.
I like your suggestion.
However, I have some ideas on how to get rid of pysparse. If it is OK to you, you can try another solver.
This one is very cool. Could you try to adapt the ToPy for this solver?
It uses Fortran. However, it is extremely efficient and seems promising.

@huntrontrakkr
Copy link
Author

I could certainly give it a shot depending on time constraints. This does look pretty promising.

@ISosnovik
Copy link
Collaborator

Great,
Thank you!

@williamhunter
Copy link
Owner

williamhunter commented Apr 20, 2017 via email

@williamhunter williamhunter changed the title Installing pysparse with superlu_dist Replace Pysparse with something else for Python 3 May 1, 2020
@williamhunter williamhunter self-assigned this May 1, 2020
@williamhunter
Copy link
Owner

See also this issue #14

@ashcic
Copy link

ashcic commented May 9, 2020

Hello,

I just noticed that CHOLMOD was GPU accelerated (see Nvidia) and it also occurred to me that if you are going for a Python 3 implementation, then GPU accelerated libraries might give you the speed that you are looking for.

CuPy for example, will do versions of SciPy sparse matrix functions and linear algebra using the cuSPARSE library (see documentation)

There is also numba compiler for GPU, which I had a go at implementing yesterday, with zero success, mainly because I'm not very good at python.

Ash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants