icl-utk-edu / heffte

BSD 3-Clause "New" or "Revised" License
20 stars 14 forks source link

Conda Package for heFFTe #48

Open ax3l opened 2 months ago

ax3l commented 2 months ago

Hi,

We are in the process of integrating heFFTe into the mainline of WarpX. As part of this, we want to make sure we can compile our desktop distributions (Linux/macOS/Windows) with all features.

We distribute for desktop via conda using the conda-forge packaging index.

Since heFFTe did not yet have a package in conda-forge, I will add one. Please let me know if you like to be listed as co-maintainers for it: https://github.com/conda-forge/staged-recipes/pull/26633

(We also ship via other package managers, such as Spack for desktop and HPC, which already has a heFFTe package.)

mkstoyanov commented 2 months ago

@ax3l Thanks for contributing.

Please go ahead and list me as a maintainer on the conda package. I don't have experience with conda but I may be able to preempt potential heFFTe issues.

ax3l commented 2 months ago

Cool, thanks a lot! Done!

Can you please comment something like

I agree to be listed as feedstock maintainer.

on https://github.com/conda-forge/staged-recipes/pull/26633 ? :pray:

mkstoyanov commented 2 months ago

@ax3l can we close this one? You can always open a new one if needed.

ax3l commented 1 week ago

I am still working on this package but have issues building heFFTe with FFTW on Linux: https://github.com/conda-forge/staged-recipes/pull/26633#issuecomment-2240786736

I think the CMake scripts in heFFTe need an overhaul for FFTW, but I have not yet had time to contribute them. I have a very general, multi-platform FFTW script in BLAST codes that addresses various defficiencies of the FFTW upstream install methods that we might be able to reuse for heFFTe: https://github.com/ECP-WarpX/WarpX/blob/development/cmake/dependencies/FFT.cmake