[mesa-users] seg faults

Jacqueline Goldstein jgoldstein at astro.wisc.edu
Fri Sep 5 10:39:35 EDT 2014


I am evolving a star with an initial mass of 2 solar masses with a central lower limit species stopping condition. 
I have inconsistently received seg faults, once around the 300th model, and another time around the 640th model.
For reference, please find below my inlist_project, and the final outputs of the seg faults. 
To note, the ‘reduce dt because of …’ changes from ‘varcontrol’ to ‘dH_div_H’ around the 420th model.

Sincerely,
Jacqueline


###############################################################################################################################################
&star_job
  ! begin with a pre-main sequence model
    create_pre_main_sequence_model = .false.

&controls
  ! starting specifications
    initial_mass = 2 ! in Msun units

  ! stop when the center mass fraction of h drops below this limit
    xa_central_lower_limit_species(1) = 'h'
    xa_central_lower_limit(1) = 1d-9
    when_to_stop_rtol = 0.1

###############################################################################################################################################
__________________________________________________________________________________________________________________________________________________

       step    lg_Tcntr    Teff       lg_LH     lg_Lnuc     Mass       H_rich     H_cntr     N_cntr     Y_surf     X_avg     eta_cntr  zones retry
   lg_dt_yr    lg_Dcntr    lg_R       lg_L3a    lg_Lneu     lg_Mdot    He_core    He_cntr    O_cntr     Z_surf     Y_avg     gam_cntr  iters bckup
        age    lg_Pcntr    lg_L       lg_LZ     lg_Psurf    lg_Dsurf   C_core     C_cntr     Ne_cntr    Z_cntr     Z_avg     v_div_cs     dt_limit
__________________________________________________________________________________________________________________________________________________

        630   7.787732   4697.446   1.813974   1.813974   2.000000   1.740922   0.000000   0.012119   0.284024   0.598174   7.240562   1448      0
   4.737488   5.089219   1.088115  -7.936705   0.648517 -99.000000   0.259078   0.980475   0.001116   0.020121   0.381725   0.476051      4      0
 9.9455E+08  21.048426   1.817158  -7.901176   3.821246  -7.655039   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.825E-09          dH/H

reduce dt because of dH_div_H  1141   630     0.258564977     4.736257164
        631   7.787787   4696.898   1.814779   1.814779   2.000000   1.740836   0.000000   0.012119   0.284024   0.598156   7.247695   1451      0
   4.736257   5.089946   1.088621  -7.932245   0.649322 -99.000000   0.259164   0.980475   0.001116   0.020121   0.381743   0.476257      4      0
 9.9460E+08  21.049513   1.817968  -7.897914   3.820692  -7.655542   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.823E-09          dH/H

reduce dt because of dH_div_H  1146   631     0.258644212     4.734576850
        632   7.787842   4696.360   1.815556   1.815556   2.000000   1.740759   0.000000   0.012119   0.284024   0.598139   7.254803   1455      0
   4.734577   5.090671   1.089118  -7.927786   0.650100 -99.000000   0.259241   0.980475   0.001116   0.020121   0.381761   0.476461      4      0
 9.9466E+08  21.050596   1.818764  -7.894662   3.820148  -7.656037   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.812E-09          dH/H

reduce dt because of dH_div_H  1149   632     0.258733350     4.732478750
        633   7.787897   4695.749   1.816337   1.816337   2.000000   1.740667   0.000000   0.012119   0.284024   0.598121   7.261880   1452      0
   4.732479   5.091392   1.089615  -7.923356   0.650882 -99.000000   0.259333   0.980475   0.001116   0.020121   0.381779   0.476665      4      0
 9.9471E+08  21.051673   1.819533  -7.891426   3.819604  -7.656524   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.817E-09          dH/H

reduce dt because of dH_div_H  1148   633     0.258812585     4.730646337
        634   7.787951   4695.210   1.817142   1.817142   2.000000   1.740583   0.000000   0.012119   0.284024   0.598103   7.268930   1447      0
   4.730646   5.092110   1.090114  -7.918948   0.651687 -99.000000   0.259417   0.980475   0.001116   0.020121   0.381797   0.476868      4      0
 9.9477E+08  21.052745   1.820330  -7.888205   3.819059  -7.657019   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.823E-09          dH/H

reduce dt because of dH_div_H  1144   634     0.258911628     4.729223234
        635   7.788005   4694.675   1.817923   1.817923   2.000000   1.740497   0.000000   0.012119   0.284024   0.598085   7.275960   1449      0
   4.729223   5.092825   1.090608  -7.914546   0.652469 -99.000000   0.259503   0.980475   0.001116   0.020121   0.381815   0.477070      4      0
 9.9482E+08  21.053814   1.821121  -7.884990   3.818518  -7.657512   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.821E-09          dH/H

reduce dt because of dH_div_H  1146   635     0.258990862     4.727811439
        636   7.788059   4694.139   1.818723   1.818723   2.000000   1.740412   0.000000   0.012119   0.284024   0.598067   7.282970   1452      0
   4.727811   5.093537   1.091103  -7.910166   0.653269 -99.000000   0.259588   0.980475   0.001116   0.020121   0.381832   0.477272      4      0
 9.9487E+08  21.054878   1.821912  -7.881794   3.817977  -7.658003   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.825E-09          dH/H

reduce dt because of dH_div_H  1149   636     0.259080001     4.725977142
        637   7.788113   4693.607   1.819501   1.819501   2.000000   1.740308   0.000000   0.012119   0.284024   0.598049   7.289953   1451      0
   4.725977   5.094247   1.091594  -7.905799   0.654048 -99.000000   0.259692   0.980475   0.001116   0.020121   0.381850   0.477473      4      0
 9.9493E+08  21.055938   1.822697  -7.878606   3.817440  -7.658491   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.822E-09          dH/H

        638   7.788173   4693.002   1.820430   1.820430   2.000000   1.740215   0.000000   0.012119   0.284024   0.598030   7.297729   1454      0
   4.772496   5.095036   1.092151  -7.900944   0.654976 -99.000000   0.259785   0.980475   0.001116   0.020121   0.381870   0.477696      4      0
 9.9499E+08  21.057117   1.823587  -7.875070   3.816830  -7.659044   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.840E-09    varcontrol

        639   7.788234   4692.436   1.821430   1.821430   2.000000   1.740122   0.000000   0.012119   0.284024   0.598009   7.305924   1452      0
   4.795131   5.095863   1.092744  -7.895918   0.655975 -99.000000   0.259878   0.980475   0.001116   0.020121   0.381891   0.477932      4      0
 9.9505E+08  21.058353   1.824563  -7.871406   3.816183  -7.659640   0.000000   0.000104   0.002100  1.953E-02  2.010E-02  0.849E-09          dH/H

reduce dt because of dH_div_H  1143   639     0.259396938     4.758703031

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

Backtrace for this error:
#0  0x10ec3c742
#1  0x10ec3ced0
#2  0x7fff8b4ce5a9
#3  0x10be873a1
#4  0x10bf38426
#5  0x10bf3e457
#6  0x10bff4515
#7  0x10c007050
#8  0x10bd7e828
#9  0x10bd7e8c8
#10  0x10bd7e901
./rn: line 9:  2382 Segmentation fault: 11  ./star
Thu Sep  4 15:34:56 CDT 2014

###############################################################################################################################################
__________________________________________________________________________________________________________________________________________________

       step    lg_Tcntr    Teff       lg_LH     lg_Lnuc     Mass       H_rich     H_cntr     N_cntr     Y_surf     X_avg     eta_cntr  zones retry
   lg_dt_yr    lg_Dcntr    lg_R       lg_L3a    lg_Lneu     lg_Mdot    He_core    He_cntr    O_cntr     Z_surf     Y_avg     gam_cntr  iters bckup
        age    lg_Pcntr    lg_L       lg_LZ     lg_Psurf    lg_Dsurf   C_core     C_cntr     Ne_cntr    Z_cntr     Z_avg     v_div_cs     dt_limit
__________________________________________________________________________________________________________________________________________________

        300   7.649522   5377.555   1.207579   1.207579   2.000000   1.792394   0.000000   0.012119   0.280003   0.604536   2.372560   1123      0
   5.017446   4.220285   0.637673 -15.813571   0.039253 -99.000000   0.207606   0.980475   0.001116   0.020000   0.375358   0.335907      3      0
 9.5694E+08  19.796564   1.151168 -13.148410   4.271512  -7.263467   0.000000   0.000104   0.002100  1.953E-02  2.011E-02 -0.709E-10    varcontrol

save LOGS/profile9.data for model 300
save photos/x300 for model 300

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

Backtrace for this error:
#0  0x10a88a742
#1  0x10a88aed0
#2  0x7fff8b4ce5a9
#3  0x107adb3a1
#4  0x107b8c426
#5  0x107b92457
#6  0x107c48515
#7  0x107c5b050
#8  0x1079d2828
#9  0x1079d28c8
#10  0x1079d2901
./rn: line 9:  2930 Segmentation fault: 11  ./star
Fri Sep  5 08:26:45 CDT 2014





More information about the Mesa-users mailing list