MESAHub / MESAHub/mesa

create_merger_model unable to load second star

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

Description

**Describe the bug**

````
All this and more are saved in the LOGS directory during the run.
add_reaction_for_handle failed in reaclib_parse_handle
invalid rate file
read_rates_from_files for num= 1
set_net failed in net_tables
do_read_saved_model failed in set_net for net_name = pp_and_cno_extras.net
load failed in do_read_saved_model
star_read_model ierr -1
create_merger_model ierr -1
do_load1_star ierr -1
do_before_evolve_loop ierr -1
do_before_evolve_loop ierr -1
DATE: 2022-08-22
TIME: 15:31:55
````

**Additional context**
Reported by Nicholas Rui on mesa-users

https://lists.mesastar.org/pipermail/mesa-users/2022-August/013988.html

For now I will move the merger controls into the star_job_dev_defaults until its working and we have a test case to make sure it works and stays working.

Contributor guide

Open the contributing guide

Research direction

Start with the LOGS output and trace the reported failure through create_merger_model, do_load1_star, and the set_net/reaclib parsing calls. Review the merger controls and their proposed location in star_job_dev_defaults, then create or run a regression case for loading a second star. Done means the second star loads without the invalid rate-file failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.