MESAHub / MESAHub/mesa

profile_interval control has unexpected dependance on history_interval

Open
#528 8 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Fortran
Stars
249
Forks
82
Avg merge
1d 3h
Merged PRs (30d)
3

Description

I happened to have these settings while working today:
```
profile_interval = 1
history_interval = 10
```
Instead of writing a profile every step, MESA only wrote one every 10 steps. Right now MESA will only save a profile if it is also writing to the history file for that step. I don't think this is consistent with the documentation of how these controls are supposed to work, so we should probably change it.

Contributor guide

Open the contributing guide

Research direction

Start by locating the code paths that handle profile_interval and history_interval, then reproduce the settings shown in the issue. Confirm that profile output occurs every profile_interval step independently of history output, and add or update coverage for the two different intervals.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
hpc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.