[mesa-users] inlist_project error

方其亮 astro-fangql at pku.edu.cn
Tue Dec 15 10:13:13 EST 2015


Thank you for your advice! I will try.


-----原始邮件-----
发件人:"Pablo Marchant" <pamarca at gmail.com>
发送时间:2015-12-15 23:05:17 (星期二)
收件人: "方其亮" <astro-fangql at pku.edu.cn>
抄送: "Robert Farmer" <rjfarmer at asu.edu>, "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
主题: Re: [mesa-users] inlist_project error


I've found it is almost always way more straightforward, safe and easy to reinstall MESA instead of updating it.



On Tue, Dec 15, 2015 at 4:01 PM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
Hi Rob:
    Thank you so much! I think there's something wrong with my version. I downloaded it from this website  
http://w.astro.berkeley.edu/~eliot/Astro252/instructions.html#sec-1-2 ,it seems that they're using the version 4740.Could you please tell me how to update my mesa?Or shoule I reinstall it?
    Thank you very much!
- Fang Qiliang

-----Original Messages-----
From:"Robert Farmer" <rjfarmer at asu.edu>
Sent Time:2015-12-15 18:46:21 (Tuesday)
To: "方其亮" <astro-fangql at pku.edu.cn>
Cc: "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
Subject: Re: Re: Re: Re: Re: [mesa-users] inlist_project error



Can you check the version of mesa you are using?

Look at $MESA_DIR/data/version_number


The pgstar commands your are using (MAIN_) don't exist in 7624


Rob



On Fri, Dec 11, 2015 at 12:34 PM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
Hi :
This is my inlist_project.


! inlist to evolve a 10 solar mass star


! For the sake of future readers of this file (yourself included),
! ONLY include the controls you are actually using.  DO NOT include
! all of the other controls that simply have their default values.


&star_job


  ! begin with a pre-main sequence model
    create_pre_main_sequence_model = .true.


  ! save a model at the end of the run
    save_model_when_terminate = .true.
    save_model_filename = 'M10Z004.mod'


  ! display on-screen plots
    pgstar_flag = .true.
  
  


/ !end of star_job namelist




&controls


  ! starting specifications
    initial_mass = 10 ! in Msun units
    initial_Z=0.04
    max_age=2d10
    num_adjusted_dt_steps_before_max_age = 2000
/ ! end of controls namelist






&pgstar
         
      ! top level controls


         !pause = .true. 
            ! if true, the code waits for user to enter a RETURN on the command line
      
      ! main window
      
         MAIN_win_flag = .true.
         
         show_TRho_Profile_with_main = .true.
      
         show_HR_TRho_with_main = .true. ! if false, use aspect ratio > 1
         MAIN_win_width = 8
         MAIN_win_aspect_ratio = 1.2 ! aspect_ratio = height/width
      
         xaxis_by = 'by_mass' ! select xaxis for main window
            
         show_main_win_text_info = .true.
         
         ! xaxis limits -- to override system default selections
         !main_xmin = -12 !0.4
         !main_xmax = 0.5
         
         logxq_cutoff = -12.1 ! min value when using logxm for xaxis
         !main_logL_max = 7
         !main_logL_min = 0
         
         ! control for plot showing abundances
         log_mass_frac_ymax = 0.7 ! making this > 0 helps readability
         log_mass_frac_ymin = -7.5
         num_abundance_line_labels = 5
      
         log_abund_vary = 0.1 ! don't show species if it would vary by < this in plot
      
         ! file output
         !MAIN_file_flag = .true.
         MAIN_file_dir = 'png'
         MAIN_file_prefix = 'main'
         MAIN_file_cnt = 2 ! output when mod(model_number,main_file_cnt)==0
               
               
         




/ ! end of pgstar namelist
Thanks.
-Fang
-----原始邮件-----
发件人:"Robert Farmer" <rjfarmer at asu.edu>
发送时间:2015-12-10 19:39:54 (星期四)
收件人: "方其亮" <astro-fangql at pku.edu.cn>
抄送: "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
主题: Re: Re: Re: Re: [mesa-users] inlist_project error



Yes



On Thu, Dec 10, 2015 at 11:33 AM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
You mean I should send you the inlist_project?
-Fang


-----原始邮件-----
发件人:"Robert Farmer" <rjfarmer at asu.edu>
发送时间:2015-12-10 18:58:51 (星期四)
收件人: "方其亮" <astro-fangql at pku.edu.cn>
抄送: "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
主题: Re: Re: Re: [mesa-users] inlist_project error



Sorry, i need to see the inlist with the error in it inlist_project


Rob



On Thu, Dec 10, 2015 at 10:54 AM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
Hi all:
    Sorry for replying so late.
    This is the inlist file of my mesa program. I'm using MESA for my graduate course to see how stars of different masses evolve.
#inlist:
    &star_job


      read_extra_star_job_inlist1 = .true.
      extra_star_job_inlist1_name = 'inlist_project'


/ ! end of star_job namelist






&controls


      read_extra_controls_inlist1 = .true.
      extra_controls_inlist1_name = 'inlist_project'


/ ! end of controls namelist






&pgstar


      read_extra_pgstar_inlist1 = .true.
      extra_pgstar_inlist1_name = 'inlist_project'


/ ! end of pgstar namelist


    Thanks.
-Fang


-----原始邮件-----
发件人:"Robert Farmer" <rjfarmer at asu.edu>
发送时间:2015-12-09 17:58:17 (星期三)
收件人: "方其亮" <astro-fangql at pku.edu.cn>, "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
抄送:
主题: Re: Re: [mesa-users] inlist_project error



Please keep all replies on list by clicking reply-all


Can you send your inlist you are using?


Rob



On Wed, Dec 9, 2015 at 1:07 AM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
Hi:
    Thank you for your help. I tried your advice but still didn't work. What's more, the command demonstrated on homepage "Lnuc_div_L_zams_limit=0.99d0." and command "dt_years_for_steps_before_max_age"  also don't work.
    Thanks.
-Fang


-----原始邮件-----
发件人:"Robert Farmer" <rjfarmer at asu.edu>
发送时间:2015-12-08 21:41:16 (星期二)
收件人: "方其亮" <astro-fangql at pku.edu.cn>
抄送: "mesa-users at lists.sourceforge.net users" <mesa-users at lists.sourceforge.net>
主题: Re: [mesa-users] inlist_project error



Hi

You dont need to reinstall mesa it's telling you it cant find the variable, 7624 does have this control but it is an integer not a float (as it is a number of steps) so try setting it as:

num_adjusted_dt_steps_before_max_age=2000


if you want 2d3 steps before max_age



Rob



On Tue, Dec 8, 2015 at 12:54 PM, 方其亮 <astro-fangql at pku.edu.cn> wrote:
Hi MESA users:
    I'm new to MESA. Recently I tried to control the step with  num_adjusted_dt_steps_before_max_age = 2d3. However, error aroused "Fortran runtime error: Cannot match namelist object name num_adjusted_dt_steps_before_max_age".
    The operating system I use is Ubuntu 14.04.3 LTS
    The version of MESA is 7624
    The version of mesasdk-x86_64-linux-20150908.tar.gz
    What should I do? It seems that some command is missing. Should I install MESA all over again?
    I hope these information is enough for you to work with.
    Thanks in advance.
-Fang
  

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa-users













------------------------------------------------------------------------------

_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa-users





--

Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD student, Argelander-Institut für Astronomie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20151215/3a29ee4b/attachment.html>


More information about the Mesa-users mailing list