amuse icon indicating copy to clipboard operation
amuse copied to clipboard

Macports AMUSE package

Open rieder opened this issue 5 years ago • 7 comments

Is your feature request related to a problem? Please describe. Macports is our suggested way of installing AMUSE prerequisites on macOS. Offering AMUSE as Macports packages would therefore allow us to install AMUSE in one go with the prerequisites.

Describe alternatives you've considered Just offering pip packages works, but if we install Amuse as a Macports package the prerequisites will automatically be managed, which will also allow binary packages.

Additional context Analogue to #294 and #525

rieder avatar Nov 06 '19 11:11 rieder

In Macports, there is the "variants" option that we can use to specify the MPI flavour to use. E.g. "port install amuse-framework +openmpi" or "port install amuse-framework +mpich", where either of these would be the default. Other AMUSE packages would have to use this same variant.

rieder avatar Nov 06 '19 11:11 rieder

https://guide.macports.org/#development

rieder avatar Nov 06 '19 11:11 rieder

This seems like it's very doable so I'll try to make a package for amuse-framework soon.

rieder avatar Nov 06 '19 12:11 rieder

I think @merijn had a homebrew package...

ipelupessy avatar Nov 06 '19 13:11 ipelupessy

Yeah, I made a homebrew package which is here: https://github.com/nlesc/homebrew-nlesc

It's, uh, beta quality ;)

merijn avatar Nov 06 '19 13:11 merijn

Let's keep Homebrew in a separate issue though (just opened #527), it's quite different from macports.

rieder avatar Nov 06 '19 13:11 rieder

Here's a first version of a Portfile for amuse-framework. It seems to work for me but is probably still lacking in many ways (for instance, many versions are hard-coded). https://gist.github.com/rieder/b065f4ec562f0e93a3891c5db8cd9c1f

rieder avatar Nov 07 '19 08:11 rieder