Skip to content

Integration of Fraunhofer SAMG as an alternative to PyAMG #70

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jrsassen
Copy link

@jrsassen jrsassen commented Jan 9, 2017

We integrated Fraunhofer SAMG as an alternative to PyAMG as the preconditioner used in LOBPCG.

We tested this on the swiss roll as an artificial dataset and on the data from word2vec used in previous benchmarks of megaman. In both cases using SAMG proved to be significantly faster than using PyAMG. For example in our tests using SAMG on the data from word2vec we were able to achieve a speedup of the embedding process by a factor between 2 and 6.

w2v_embeddingtime

Note though that Fraunhofer SAMG is a commercial software and one needs a license to use it. For more information on SAMG see here and for licensing (including test or educational licenses) contact [email protected].

@casfeq
Copy link

casfeq commented Nov 16, 2022

How do you install PySAMG? I looked it up and couldn't find it anywhere. Thanks!

@fpnick
Copy link

fpnick commented Nov 16, 2022

How do you install PySAMG? I looked it up and couldn't find it anywhere. Thanks!

Do you mean SAMG or PyAMG? PyAMG can be found here https://github.com/pyamg/pyamg for SAMG, please contact the Fraunhofer team as mentioned above.

@casfeq
Copy link

casfeq commented Nov 17, 2022

How do you install PySAMG? I looked it up and couldn't find it anywhere. Thanks!

Do you mean SAMG or PyAMG? PyAMG can be found here https://github.com/pyamg/pyamg for SAMG, please contact the Fraunhofer team as mentioned above.

No, I mean PySAMG (line 29 of utils/eigendecomp.py). I have access to an SAMG license, which was acquired by my group a long time ago, but I can only call it through C++ or FORTRAN. I was wondering if PySAMG was a development of @jrsassen or if Fraunhofer SCAI had released a Python package.

@jrsassen
Copy link
Author

I developed PySAMG (a Python interface for SAMG) during my time at Fraunhofer SCAI. It was never publicly released as SAMG itself is not publicly available, but (I hope) if you contact the SAMG team they should still have the code.

@casfeq
Copy link

casfeq commented Nov 17, 2022

Thanks! I contacted them.

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

Successfully merging this pull request may close these issues.

3 participants