Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0e357ed
Add note about git-lfs to CONTRIBUTING.rst
abhro Dec 24, 2025
97ef377
Update resource link for shell start-up files
abhro Dec 24, 2025
5f0bda7
Dedent lists to remove blockquote formatting
abhro Dec 24, 2025
5c392ce
Indent lists to fix nested list structure
abhro Dec 24, 2025
14d9733
Remove list markers from line starts of paragraph text
abhro Dec 24, 2025
e09f306
Add backticks to code literal examples
abhro Dec 24, 2025
d543eb5
Add syntax highlight tags to code blocks
abhro Dec 24, 2025
23642fd
Split up code blocks and paragraph text
abhro Dec 24, 2025
7b543f0
stop --> mesa_error
pmocz Jan 6, 2026
063448c
[ci skip] docs and links
pmocz Jan 6, 2026
1a570c2
[ci skip] remove mention of obsolete param fitted_fp_ft_i_rot in docs
pmocz Jan 9, 2026
68eb710
[ci skip] fix controls typos/errors in text
pmocz Jan 9, 2026
4c08544
[ci skip] fix docs typos/links
pmocz Jan 9, 2026
bd4d684
Features/nialljmiller/customcolors update0 (#909)
nialljmiller Jan 13, 2026
57fd636
change stop to mesa_error, real to real(dp) in colors
pmocz Jan 21, 2026
f2b6ee4
bug fixes 911 913 (#915)
pmocz Jan 29, 2026
b53c4e1
docs cleanup
pmocz Jan 29, 2026
45e506d
Changed linear interpolation to have proper allocations and bounds
nialljmiller Jan 29, 2026
8c65576
fix badge
pmocz Feb 6, 2026
7e0ea36
[ci skip] docs/links
pmocz Feb 6, 2026
da6f97b
[ci skip] docs cleanup (minor)
pmocz Feb 6, 2026
a213eb2
[ci skip] docs/infra
pmocz Feb 10, 2026
d0c049d
[ci skip] update zenodo link
pmocz Feb 10, 2026
1687fe3
[ci skip] update infra owners
pmocz Feb 11, 2026
3275751
rename stella file
pmocz Feb 11, 2026
c5ce94d
[ci skip] load all const_def in stella_extras.f90
pmocz Feb 12, 2026
f8fcb34
[ci skip] update stella_extras.f90 colors module access
pmocz Feb 12, 2026
e4572dc
mtx: fix undefined behaviour in `b` pivot swaps
VincentVanlaer Feb 12, 2026
22e0fd9
Update collaboration.rst
aurimontem Feb 12, 2026
1477afc
Update CODE_OF_CONDUCT.rst
aurimontem Feb 12, 2026
a8ce4c5
realign first row of headers in terminal output
warrickball Feb 21, 2026
677f73d
some straightforward fixes to headers in star defaults
warrickball Feb 28, 2026
af3302e
tweak near evolutionary phase controls in controls.defaults
warrickball Feb 28, 2026
10d3c5b
docs: update changelog for minor release
VincentVanlaer Mar 22, 2026
beedb0e
update docs for TDC
Debraheem Mar 22, 2026
2283a51
remove trailing white space
Debraheem Mar 22, 2026
bb1098b
remove one more white space in contols_dev.defaults
Debraheem Mar 22, 2026
17a8fbf
Updated changelog for version 26.3.1, including new features in the T…
Debraheem Mar 22, 2026
468d29b
actions: test both linux and macos
VincentVanlaer Jan 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ star/dev_cases_star_to_RSP2 export-ignore
star/dev_cases_test_RSP2 export-ignore
star/dev_cases_test_TDC export-ignore
star/rsp2_utils export-ignore
data/colors_data/colors_data.txz filter=lfs diff=lfs merge=lfs -text
97 changes: 31 additions & 66 deletions .github/actions/install-mesa/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,23 @@ inputs:
required: false
default: '23.7.3'


runs:

using: 'composite'

steps:
- name: Delete unused packages
run: |
# runners have 150GB of disk space and the Ubuntu image is big so we sometimes found it ran out of space for MESA
# others have encountered this too so we took commands from this action
# https://github.com/jlumbroso/free-disk-space
# currently commented because we don't need it and these commands can need changing when the Ubuntu image changes
sudo rm -rf /usr/local/lib/android
# sudo apt-get remove -y '^aspnetcore-.*'
# sudo apt-get remove -y '^dotnet-.*' # 990 MB
# sudo apt-get remove -y '^llvm-.*' # 1052 MB
# sudo apt-get remove -y 'php.*' # 56.6 MB
# sudo apt-get remove -y '^mysql-.*' # 209 MB
# sudo apt-get remove -y azure-cli google-cloud-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri # 2274 MB
sudo apt-get autoremove -y # 771 MB
sudo apt-get clean
shell: bash
- name: Install SDK Linux
if: ${{ (runner.os == 'Linux') }}
uses: ./.github/actions/install-sdk-linux
with:
sdk: ${{inputs.sdk}}

- name: Install SDK Linux
if: ${{ (runner.os == 'Macos') }}
uses: ./.github/actions/install-sdk-macos
with:
sdk: ${{inputs.sdk}}

- name: Create LFS file list
run: |
Expand All @@ -53,69 +49,38 @@ runs:
shell: bash
if: steps.lfs-cache.outputs.cache-hit == 'true'

- name: Install dependencies Linux
run: |
sudo apt-get -y update
sudo apt-get -y install wget binutils make perl libx11-6 libx11-dev zlib1g zlib1g-dev tcsh
- name: Set MESA environment variables
shell: bash

- uses: actions/cache@v4
id: cache
with:
path: |
mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz
key: ${{ runner.os }}-${{inputs.sdk}}

- name: Get SDK ${{ runner.os }} '21.4.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '21.4.1') }}
run: |
wget -q https://zenodo.org/record/5802444/files/mesasdk-x86_64-linux-21.4.1.tar.gz
shell: bash
echo "MESA_DIR=$PWD" >> $GITHUB_ENV

- name: Get SDK ${{ runner.os }} '22.6.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '22.6.1') }}
run: |
wget -q https://zenodo.org/record/7457681/files/mesasdk-x86_64-linux-22.6.1.tar.gz
- name: Setup environment Linux
shell: bash

- name: Get SDK ${{ runner.os }} '23.7.3'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '23.7.3') }}
if: runner.os == 'Linux'
run: |
wget -q https://zenodo.org/record/10624843/files/mesasdk-x86_64-linux-23.7.3.tar.gz
shell: bash
# Linux runners have 4 cores
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
echo "OMP_NUM_THREADS=4" >> $GITHUB_ENV
echo "NPROCS=4" >> $GITHUB_ENV
echo "SED=sed" >> $GITHUB_ENV

- name: Get SDK ${{ runner.os }} '24.7.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '24.7.1') }}
run: |
wget -q https://zenodo.org/records/13768913/files/mesasdk-x86_64-linux-24.7.1.tar.gz
- name: Setup environment MacOS
shell: bash

- name: Unpack SDK ${{ runner.os }} ${{inputs.sdk}}
if: runner.os == 'macOS'
run: |
tar xvf mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz
shell: bash
# MacOS runners have 3 cores
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
echo "OMP_NUM_THREADS=3" >> $GITHUB_ENV
echo "NPROCS=3" >> $GITHUB_ENV
echo "SED=gsed" >> $GITHUB_ENV

- name: Compile
run: |
# Linux runners have 4 cores
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
export OMP_NUM_THREADS=4
export NPROCS=4
export "MESASDK_ROOT=$(readlink -f mesasdk)"
source "${MESASDK_ROOT}/bin/mesasdk_init.sh"
export "MESA_DIR=$(readlink -f ./)"
# Save environment variables to Github environment
echo "OMP_NUM_THREADS=${OMP_NUM_THREADS}" >> $GITHUB_ENV
echo "NPROCS=${NPROCS}" >> $GITHUB_ENV
echo "MESASDK_ROOT=${MESASDK_ROOT}" >> $GITHUB_ENV
echo "MESA_DIR=${MESA_DIR}" >> $GITHUB_ENV
# Everything is run as root so we need to disable the root check in the install script
sed -i 's/\${EUID:-\$(id -u)}/1/' install
$SED -i 's/\${EUID:-\$(id -u)}/1/' install
# Turn off caching during build to save more space
sed -i 's/use_cache_for_eos = .true./use_cache_for_eos = .false./g' $MESA_DIR/eos/public/eos_def.f90
sed -i 's/use_cache = .true./use_cache = .false./g' $MESA_DIR/star/private/star_private_def.f90
$SED -i 's/use_cache_for_eos = .true./use_cache_for_eos = .false./g' $MESA_DIR/eos/public/eos_def.f90
$SED -i 's/use_cache = .true./use_cache = .false./g' $MESA_DIR/star/private/star_private_def.f90
./install
if [ ! -f lib/libbinary.a ]; then
exit 1
fi
shell: bash
54 changes: 54 additions & 0 deletions .github/actions/install-sdk-linux/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: 'install-sdk-linux'
description: 'Download and unpack the Linux MESA SDK and its required dependencies'

inputs:
sdk:
description: 'The version of the MESA SDK to install'
required: true

runs:
using: 'composite'
steps:
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install wget binutils make perl libx11-6 libx11-dev zlib1g zlib1g-dev tcsh
sudo apt-get -y autoremove
sudo apt-get clean
shell: bash

- uses: actions/cache@v4
id: cache
with:
path: |
mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz
key: linux-${{inputs.sdk}}

- name: Download SDK '${{ inputs.sdk }}'
shell: bash
if: ${{ (steps.cache.outputs.cache-hit != 'true') }}
run: |
declare -A version
version[24.7.1]="https://zenodo.org/records/13768913"
version[25.12.1]="https://zenodo.org/records/18163992"
version[26.3.2]="https://zenodo.org/records/19210930"

curl -O ${version[${{inputs.sdk}}]}/files/mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz

- name: Unpack SDK
run: |
tar xvf mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz
shell: bash

- name: Set SDK environment
if: ${{ (inputs.sdk != '26.3.2') }}
run: |
echo "MESASDK_ROOT=$(readlink -f mesasdk)" >> $GITHUB_ENV
shell: bash

- name: Set SDK environment
if: ${{ (inputs.sdk == '26.3.2') }}
run: |
echo "MESASDK_ROOT=$(readlink -f mesasdk-26.3.2)" >> $GITHUB_ENV
shell: bash
46 changes: 46 additions & 0 deletions .github/actions/install-sdk-macos/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: 'install-sdk-macos'
description: 'Download and unpack the MacOS MESA SDK and its required dependencies'

inputs:
sdk:
description: 'The version of the MESA SDK to install'
required: true

runs:
using: 'composite'
steps:
- name: Install dependencies
run: |
brew install --cask xquartz
brew install gnu-sed bash
shell: bash

- uses: actions/cache@v4
id: cache
with:
path: |
mesasdk-aarch64-macos-${{inputs.sdk}}.tar.gz
key: macos-${{inputs.sdk}}

- name: Download SDK
shell: bash
if: ${{ (steps.cache.outputs.cache-hit != 'true') }}
run: |
declare -A version
version[24.7.1]="https://zenodo.org/records/13769017/files"
version[25.12.1]="http://user.astro.wisc.edu/~townsend/resource/download/mesasdk/"
version[26.3.2]="https://zenodo.org/records/19210744/files"

curl -O ${version[${{inputs.sdk}}]}/mesasdk-aarch64-macos-${{inputs.sdk}}.pkg

- name: Unpack SDK
run: |
sudo installer -pkg mesasdk-aarch64-macos-${{inputs.sdk}}.pkg -target /
ln -s /Applications/mesasdk mesasdk
shell: bash

- name: Set SDK environment
run: |
echo "MESASDK_ROOT=$(readlink -f mesasdk)" >> $GITHUB_ENV
shell: bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Build on Linux with SDK
name: Build with SDK

on:
workflow_dispatch:
Expand All @@ -14,8 +14,9 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: ["22.6.1", "23.7.3", "24.7.1"] # pick 2 or 3 most recent.
runs-on: ubuntu-latest
sdk: ["24.7.1", "25.12.1", "26.3.2"] # pick 2 or 3 most recent.
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ TAGS
*~

## Colors
**/colors/data/.extraction_complete
colors/data/filters/
colors/data/stellar_models/
**/data/colors_data/.extraction_complete
data/colors_data/filters/
data/colors_data/stellar_models/
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ Enforcement
Instances of Code-of-Conduct violations should be reported by contacting
one or more of the following MESA Responsible Persons (MRPs):

- Lars Bildsten (bildsten@kitp.ucsb.edu)
- Frank Timmes (fxt44@mac.com)
- Anne Thoul (anne.thoul@uliege.be)
- Rich Townsend (rhtownsend@wisc.edu)
- Bill Wolf (wolfwm@uwec.edu)
- Meridith Joyce (meridith.joyce@gmail.com)
- Jared Goldberg (goldstar@msu.edu)

All reports will be reviewed and investigated and will result in a
response that is deemed necessary and appropriate to the circumstances.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ New contributions must be proposed through GitHub's *pull request*
(PR) system. The process is roughly:

1. fork the ``mesa`` repo (click *Fork* in the top-right of the GitHub interface),
2. clone your fork to your computer,
2. clone your fork to your computer (since the mesa repository contains large files, you'll need to have `git-lfs <https://git-lfs.com/>`_ installed),
3. create a new branch for your additions (e.g. ``git switch -c my-new-hook``),
4. make, commit and push your changes and
5. open a PR against the ``main`` branch.
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Modules for Experiments in Stellar Astrophysics (MESA)
:target: https://docs.mesastar.org/en/latest/
.. image:: https://img.shields.io/github/v/release/MESAHub/mesa
:alt: GitHub release (latest by date)
:target: https://zenodo.org/records/13353788
:target: https://zenodo.org/records/18023257
.. image:: https://img.shields.io/badge/zenodo-community-blue
:alt: Zenodo
:target: https://zenodo.org/communities/mesa/records?q=&l=list&p=1&s=10
Expand All @@ -27,10 +27,10 @@ Modules for Experiments in Stellar Astrophysics (MESA)
:title: Coverage
:alt: Coverage
:target: http://MESAHub.github.io/mesa
.. image:: https://github.com/MESAHub/mesa/actions/workflows/build-linux.yml/badge.svg
:title: BuildLinux
:alt: BuildLinux
:target: https://github.com/MESAHub/mesa/actions/workflows/build-linux.yml
.. image:: https://github.com/MESAHub/mesa/actions/workflows/build.yml/badge.svg
:title: Build
:alt: Build
:target: https://github.com/MESAHub/mesa/actions/workflows/build.yml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VincentVanlaer , this readme update is associated with changing the build-linux.yml file to a build.yml file. Do you know which pr introduced the build.yml file? Should we cherry pick the updated build.yml file into this pr?

Copy link
Copy Markdown
Member

@Debraheem Debraheem Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the actions.yml file also need amended as well, as the actions file in this pr is linux specific as well (no reference to mac os)? Once this is addressed, we can update those zenodo links in this pr and on main, and do one test -> merge.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was done in this commit: caed3e9. I can see if this can be included in this PR as well, then we can test all the different build combinations.

.. image:: https://github.com/MESAHub/mesa/actions/workflows/static-analysis.yml/badge.svg
:title: StaticAnalysis
:alt: StaticAnalysis
Expand All @@ -40,7 +40,7 @@ Modules for Experiments in Stellar Astrophysics (MESA)

**WARNING**: The default ``main`` branch is the development version of
MESA and is not guaranteed to function correctly. If you are using
MESA, you should use an `official release version <https://zenodo.org/records/13353788>`__.
MESA, you should use an `official release version <https://zenodo.org/records/18023257>`__.


Overview
Expand Down Expand Up @@ -86,7 +86,7 @@ Links
Download
========

* `MESA Official Release Version <https://zenodo.org/records/13353788>`__ for the latest release of MESA.
* `MESA Official Release Version <https://zenodo.org/records/18023257>`__ for the latest release of MESA.
* `MESA SDK <http://user.astro.wisc.edu/~townsend/static.php?ref=mesasdk>`__ for: `MacOS (ARM) <https://zenodo.org/records/13769017>`__, `MacOS (Intel) <https://zenodo.org/records/13768941>`__, `Linux (Intel/AMD) <https://zenodo.org/records/13768913>`__.


Expand Down
2 changes: 1 addition & 1 deletion clean
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rm -rf data/eosDT_data
rm -rf data/kap_data
rm -rf data/ionization_data
rm -rf data/chem_data
rm -rf data/colors_data
rm -rf data/colors_data/filters data/colors_data/stellar_models data/colors_data/.extraction_complete
rm -rf data/rates_data/cache

rm -rf data/rates_data/cache/*
Expand Down
2 changes: 1 addition & 1 deletion colors/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
colors/data/colors_data.txz filter=lfs diff=lfs merge=lfs -text
data/colors_data/colors_data.txz filter=lfs diff=lfs merge=lfs -text
Loading
Loading