Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4d-star/ester_nix
https://github.com/4d-star/ester_nix
nix stellar-evolution
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/4d-star/ester_nix
- Owner: 4D-STAR
- License: mit
- Created: 2024-08-11T08:47:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T16:13:46.000Z (5 months ago)
- Last Synced: 2024-12-26T07:42:36.109Z (14 days ago)
- Topics: nix, stellar-evolution
- Language: Nix
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ester Nix
[Evolution STEllaire en Rotation (Ester)](https://github.com/ester-project/ester) is a 2d stellar evolution code. This repo provides a script to build a C++/Fortran/Python development environment to compile and execute ester using the [Nix](https://nix.dev) ecosystem.
## Installation and usage
The only requirement is Nix itself. Install Nix following: https://nix.dev/install-nix
After Nix has been installed correctly, cd to the root of this directory and execute
```bash
nix develop --extra-experimental-features nix-command --extra-experimental-features flakes
```This will mount the development environment and install ester. Upon finishing, you will be in a bash shell with the following commands available: `star1d`, `star2d`, `star_evol`
## Why Nix
The lock file in this directory guarantees consistent a development environment, greatly facilitating the installation of ester across different distributions
## Notes and TODOs
- Only Ester's `evolution` branch was tested
- A small patch on Ester's `CMakeList.txt` was needed to find `numpy` include dirs. Additionally, gfortran > 9.5 required compiling with `-fallow-argument-mismatch -fallow-invalid-boz`.
- GCC version 12.2.0 was used. Versions 13 and above require more changes in Ester to compile successfully
- Only Openblas was tested. TODO: Test MKL
- TODO: Create an ester flake
- TODO: Test build on MacOS
- ~~TODO: Test build on Windows WSL~~