Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macports AMUSE package #526

Open
rieder opened this issue Nov 6, 2019 · 7 comments
Open

Macports AMUSE package #526

rieder opened this issue Nov 6, 2019 · 7 comments

Comments

@rieder
Copy link
Member

rieder commented Nov 6, 2019

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
Copy link
Member Author

rieder commented Nov 6, 2019

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 rieder self-assigned this Nov 6, 2019
@rieder
Copy link
Member Author

rieder commented Nov 6, 2019

@rieder
Copy link
Member Author

rieder commented Nov 6, 2019

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

@ipelupessy
Copy link
Member

I think @merijn had a homebrew package...

@merijn
Copy link

merijn commented Nov 6, 2019

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

It's, uh, beta quality ;)

@rieder
Copy link
Member Author

rieder commented Nov 6, 2019

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

@rieder
Copy link
Member Author

rieder commented Nov 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants