[Mesa-users] The last beyond inlist (extending MESA) tutorial
Aaron Dotter
aaron.dotter at gmail.com
Tue Oct 9 10:22:17 EDT 2018
Hi Koushik,
It looks like you're using a tutorial routine from the web (Josiah's 2013
Summer School?). That code was written for MESA rev. 5271.
What revision are you using? If you don't use the same one as in the
tutorial, you stand a decent chance that the API has changed somewhat and
you'll have to correct it to be consistent with whatever revision you're
using.
Aaron
On Tue, Oct 9, 2018 at 10:16 AM Koushik Sen via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Hi everyone,
>
> I am following the steps to introduce a user defined use_other_neu
> subroutine to model nuetrino losses as given in the website but I am
> running into this error when doing ./mk
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> koushik at koushik-Inspiron-5767:~/code/mesa/star/tutorial$ ./mk
> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=12
> -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp
> -fbounds-check -Wuninitialized -Warray-bounds -ffree-form -x f95-cpp-input
> -I/home/koushik/code/mesa/include -I/home/koushik/code/mesasdk/include -c
> ../src/run_star_extras.f
> ../src/run_star_extras.f:89:25:
>
> s% other_neu => tutorial_other_neu
> 1
> Error: Interface mismatch in procedure pointer assignment at (1): INTENT
> mismatch in argument 'loss'
> /home/koushik/code/mesa/star/work_standard_makefile:38: recipe for target
> 'run_star_extras.o' failed
> make: *** [run_star_extras.o] Error 1
>
> FAILED
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> I have attached the inslist and run_star_extras.f file with the mail.
>
> Note: when I am commenting out the s% other_neu => tutorial_other_neu the
> code is compiling but including that line, the code isn't.
>
> Yours faithfully,
> Koushik
> _______________________________________________
> 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/20181009/6e51284c/attachment.html>
More information about the Mesa-users
mailing list