[Mesa-users] Compiling MESA error

Josiah Schwab jwschwab at ucsc.edu
Tue May 12 21:01:09 EDT 2020


>
> I had tried everything to fix it, but it doesn't work, what can I do?
> (attached is the run_star_extars routine)
>

When you upgrade to a new version, you should read the release notes. (
https://lists.mesastar.org/pipermail/mesa-users/2020-March/011168.html)
See below for the relevant bit.

Josiah

 ``other_wind`` hook

~~~~~~~~~~~~~~~~~~~

The interface of the ``other_wind`` hook changed from

    subroutine other_wind_interface(id, Lsurf, Msurf, Rsurf, Tsurf, w, ierr)
       use const_def, only: dp
       integer, intent(in) :: id
       real(dp), intent(in) :: Lsurf, Msurf, Rsurf, Tsurf ! surface values (cgs)
       real(dp), intent(out) :: w ! wind in units of Msun/year (value is >= 0)
       integer, intent(out) :: ierr
    end subroutine other_wind_interface

to

    subroutine other_wind_interface(id, Lsurf, Msurf, Rsurf, Tsurf, X,
Y, Z, w, ierr)
       use const_def, only: dp
       integer, intent(in) :: id
       real(dp), intent(in) :: Lsurf, Msurf, Rsurf, Tsurf, X, Y, Z !
surface values (cgs)
       real(dp), intent(out) :: w ! wind in units of Msun/year (value is >= 0)
       integer, intent(out) :: ierr
    end subroutine other_wind_interface


Existing user routines will need to be updated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200512/a8546d15/attachment.htm>


More information about the Mesa-users mailing list