DiamondLightSource / httomo

High-throughput tomography pipeline
https://diamondlightsource.github.io/httomo/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Generate conda packages for two different openmpi build strings #352

Closed yousefmoazzam closed 1 week ago

yousefmoazzam commented 1 month ago

There are two main installation use cases of httomo, based on the differences between the hardware httomo is being run on:

  1. Usage at DLS An "external" openmpi conda package build is needed (to make httomo compatible with the OpenMPI built at DLS with SLURM support)

  2. Usage outside of Diamond SLURM cluster usage Any openmpi build will be fine (and probably other MPI implementations would be fine)

The meta.yaml file involved in the building of a conda package offers jinja templating as a means to generate multiple conda package builds https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#templating-with-jinja, which likely could be used in some manner to achieve the above two conda package builds of httomo for easier packaging and installation.