[Mesa-users] [EXT] custom write photos

Amadeusz Miszuda amiszuda.astro at gmail.com
Wed Nov 5 22:00:16 UTC 2025


Hi Mathieu,

I have not, but I believe it won't get me the binary run photo, right?

Amadeusz

> On 5 Nov 2025, at 18:40, Mathieu Renzo via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> 
> Hi Amadeusz,
> 
> Have you tried calling the function `star_write_photo` defined in `$MESA_DIR/star/public/star_lib.def`?
> That should be straightforward from run_star/binary_extras.f90, and I have used it in the past (but can't find a snippet at the moment)
> 
> Mathieu
> 
> On 11/5/25 09:18, Amadeusz Miszuda via Mesa-users wrote:
>> External Email
>> 
>> 
>> Hi All,
>> 
>> I am trying to force MESA to write additional photos at specific moments of evolution from the run_binary_extras. Since I don’t see any controls, I have tried several options, including will_do_photo = .true. or calling the do_saves_for_binary subroutine, but they all fail, sometimes due to some compilation reasons, as:
>> Undefined symbols for architecture arm64:
>>   "_do_saves_for_binary_", referenced from:
>>       ___run_binary_extras_MOD_extras_binary_finish_step in run_binary_extras.o
>> ld: symbol(s) not found for architecture arm64
>> collect2: error: ld returned 1 exit status
>> make: *** [binary] Error 1
>> 
>> FAILED
>> 
>> Does anyone know a simple way to achieve that? Any help would be appreciated.
>> 
>> Thanks!
>> Amadeusz
>> 
>> 
>> 
>> 
>> —————————————————— 
>> Dr Amadeusz Miszuda
>> Postdoctoral Researcher
>> Nicolaus Copernicus Astronomical Centre 
>> Polish Academy of Sciences,
>> Warsaw, Poland
>> 
>> 
>> _______________________________________________
>> mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>> 
> -- 
> Mathieu Renzo <https://www.as.arizona.edu/~mrenzo/>
> Assistant Professor
> University of Arizona - Steward Observatory
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251105/855c6b57/attachment.htm>


More information about the Mesa-users mailing list