eth-cscs / COSMA

Distributed Communication-Optimal Matrix-Matrix Multiplication Algorithm
BSD 3-Clause "New" or "Revised" License
192 stars 27 forks source link

cosma conda package on conda-forge? #89

Open ltalirz opened 3 years ago

ltalirz commented 3 years ago

For a related discussion see https://github.com/electronic-structure/SIRIUS/issues/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 commented 3 years ago

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 commented 3 years ago

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

ltalirz commented 3 years ago

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 commented 3 years ago

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

kabicm commented 3 years ago

Hi @ltalirz, do you maybe know what's the problem with: https://github.com/conda-forge/staged-recipes/pull/15073 ?

ltalirz commented 3 years ago

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 commented 3 years ago

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?