[mesa-users] Trouble With 'Other' Hooks

Spencer C Wallace spencerw at email.arizona.edu
Mon Dec 8 16:41:52 EST 2014


Hello,

I recently upgraded to MESA r7184 and noticed that some of the code I added
to 'run_star_extras.f' in one of my work directories no longer runs.

I had added some code to the 'other_mixing' hook. I no longer see an
'other_mixing' procedure in 'star/public/star_data.inc', so I instead
decided to use 'other_D_mix'. I put together a quick test function in
'run_star_extras.f' but I'm getting a segmentation fault when I try to run
the model.

Attached is the inlist and 'run_star_extras.f' that I'm using. The
directory compiles without issue, but when I run the model I get the
following error:

Program received signal SIGSEGV: Segmentation fault - invalid memory
reference.

Backtrace for this error:
#0  0x7F3E7C678517
#1  0x7F3E7C678B10
#2  0x7F3E7B74F49F
#3  0x405BE3 in __run_star_extras_MOD_extras_controls
#4  0x41C24C in __run_star_support_MOD_before_evolve_loop
#5  0x41CBC8 in __run_star_support_MOD_run1_star
#6  0x405D2E in __run_star_MOD_do_run_star
#7  0x405DCB in MAIN__ at run.f:0
./rn: line 9: 26224 Segmentation fault      (core dumped) ./star

Hopefully there is a silly mistake somewhere?

Spencer Wallace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141208/1b9a1dd5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist
Type: application/octet-stream
Size: 763 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141208/1b9a1dd5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f
Type: text/x-fortran
Size: 10594 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141208/1b9a1dd5/attachment.bin>


More information about the Mesa-users mailing list