amusecode / amuse

Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
http://www.amusecode.org
Apache License 2.0
154 stars 98 forks source link

Macports AMUSE package #526

Open rieder opened 4 years ago

rieder commented 4 years ago

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

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

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

rieder commented 4 years ago

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

ipelupessy commented 4 years ago

I think @merijn had a homebrew package...

merijn commented 4 years ago

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

It's, uh, beta quality ;)

rieder commented 4 years ago

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

rieder commented 4 years ago

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