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

cosma conda package on conda-forge? #89

Open
ltalirz opened this issue May 28, 2021 · 7 comments
Open

cosma conda package on conda-forge? #89

ltalirz opened this issue May 28, 2021 · 7 comments
Labels

Comments

@ltalirz
Copy link

ltalirz commented May 28, 2021

For a related discussion see electronic-structure/SIRIUS#621

Over the past few weeks we've been adding conda packages for spla, spfft and sirius and I'm now in the process of integrating them into the cp2k one.

COSMA may be somewhat of a fringe case for conda since conda binaries are unlikely to be run on really large-scale machines (for maximum performance you would compile it yourself) but it could still be useful for reproducibility and quick testing.

Once could start with a MPI-only build which I think would be straightforward; it is also possible to create GPU-enabled conda packages but there is little documentation, so this would probably better be left to a later stage.

Let me know what you think!

@kabicm
Copy link
Collaborator

kabicm commented May 28, 2021

Hi Leopold, I think this is a great idea, would be certainly nice to have it.

Although I don't have much experience with writing conda packages. Would you maybe like to help us do it for COSMA? I can add you as a collaborator to the repo in that case.

Let me know how we should proceed.

@kabicm
Copy link
Collaborator

kabicm commented May 28, 2021

Would we have to make a conda package for each COSMA dependency (?), which are basically the following:

  • COSTA: the algorithm for transposing and transforming distributed matrices between different distributed layouts (e.g. from the block-cyclic layout to an arbitrary grid-like layout). It is highly optimized and is used to provide SCALAPACK wrappers to COSMA.
  • Tiled-MM: this is the GPU backend of COSMA, which implements a cublasXt alternative that is also ported to AMD.

@ltalirz
Copy link
Author

ltalirz commented May 29, 2021

Thanks for the quick reply @kabicm ! Indeed, we should probably start from the dependencies.
I'll start by creating a PR for a conda package for COSTA and ping you there.

@kabicm
Copy link
Collaborator

kabicm commented Jun 15, 2021

Hi @ltalirz , sorry for keeping you wait -- I cannot find the PR for a conda package, can you please send me this again?

@kabicm kabicm added the feature label Jun 16, 2021
@kabicm
Copy link
Collaborator

kabicm commented Oct 4, 2021

Hi @ltalirz, do you maybe know what's the problem with: conda-forge/staged-recipes#15073 ?

@ltalirz
Copy link
Author

ltalirz commented Oct 4, 2021

I think it was not clear to me and so I stopped.
Now the logs are gone, so I've just restarted the CI.

@ltalirz
Copy link
Author

ltalirz commented Oct 9, 2021

So, costa is taken care of https://anaconda.org/conda-forge/costa
Maybe mention in the README of the repo that you can now conda install -c conda-forge costa and conda install -c conda-forge costa-scalapack on Linux and MacOS.

Anyone interested in opening a PR for tiled-mm?

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

No branches or pull requests

2 participants