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

Package for spack.io #166

Open
alexrobomind opened this issue Dec 5, 2022 · 5 comments
Open

Package for spack.io #166

alexrobomind opened this issue Dec 5, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexrobomind
Copy link

Dear colleagues,

as part of my recent stabs at installing VMEC on my own Linux VM and on the FZJ supercomputer, I have created a STELLOPT package for the Spack HPC package manager (https://spack.io) to automate dependency management and the build process (including potential site adaptations). Currently it builds libSTELLOPT and VMEC, but I am more than happy to add additional variants for other codes as well.

I would like to publish this package to the main spack package repository, but since I am not directly affiliated with the code I wanted to check out whether this would be fine with everyone.

Best regards from Jülich,

Alex.

@zhucaoxiang
Copy link
Collaborator

I am fine with it and this sounds great! The code is open-sourced, so I assume all useful contributions are welcome. I don't think this will break the MIT license that STELLOPT currently uses.

@alexrobomind
Copy link
Author

The package itself does not contain the source code, just instructions to the package manager on how to fetch, catch, and build from the source.

@lazersos lazersos added the enhancement New feature or request label Aug 20, 2024
@lazersos
Copy link
Collaborator

Alex,
Sorry this took so long to get back to. Is your Spack package available somewhere?
Cheers,
Sam

@alexrobomind
Copy link
Author

alexrobomind commented Aug 21, 2024

Hi Sam,

there is a "half-done" version sitting in here: https://jugit.fz-juelich.de/a.knieps/iek4-spack-packages

If I remember correctly it did the VMEC build fine, but I never got it to a point where I found it truly worth upstreaming (with proper MPI variants, variants to select individual codes, etc.). I had real difficulties gauging which features would truly be worth including, so if you have some pointers on that I still think it can be made useful.

Best regards,
Alex.

EDIT: When browsing this repository, please note that most of these packages are SEVERELY out of date when it comes to versioning, as I have in the recent years worked on a lot of monorepository builds which do better with air-gaps and Windows/Linux compatibility.

@lazersos
Copy link
Collaborator

It seems like it would be pretty simple to bring this over into the STELLOPT package via adding just a couple of file. Maybe in the /SHARE/ directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants