[mesa-users] Trouble With 'Other' Hooks
Robert FARMER
rjfarmer at asu.edu
Mon Dec 8 16:49:27 EST 2014
Hi
Try adding the:
type (star_info), pointer :: s
ierr = 0
call star_ptr(id, s, ierr)
if (ierr /= 0) return
to the extras control (and remove the s from the function arguments).
See for instance star/test_suit/other_physics_hooks
Rob
On Mon, Dec 8, 2014 at 2:41 PM, Spencer C Wallace <
spencerw at email.arizona.edu> wrote:
> 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
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141208/74c44010/attachment.html>
More information about the Mesa-users
mailing list