[Mesa-users] Segfault when running the tutorial
Croxmor Moraga
rodrigo.moraga.merino at gmail.com
Tue Aug 20 18:16:47 EDT 2019
I am a new user of mesa. I have installed it already.
My operating system is ubuntu 18.10
mesa version is mesa-r11701. I am facing this problem while running
the tutorial. My gnu fortran version is 8.3.0
The error ocurs when i am running the simulation from the 15 M pre
main sequence star you display in your page, and when i let the
simulation continue to the main sequence step, before it can reach the
step number 1050 as it should be as it says in your tutorial; it
launchs the next error:
rodrigo at rodrigo-VirtualBox:~/Documentos/Trabajo/work$ ./rn
DATE: 2019-08-20
TIME: 17:24:07
version_number 11701
read inlist_project
The terminal output contains the following information
'step' is the number of steps since the start of the run,
'lg_dt' is log10 timestep in years,
'age_yr' is the simulated years since the start run,
'lg_Tcntr' is log10 center temperature (K),
'lg_Dcntr' is log10 center density (g/cm^3),
'lg_Pcntr' is log10 center pressure (ergs/cm^3),
'Teff' is the surface temperature (K),
'lg_R' is log10 surface radius (Rsun),
'lg_L' is log10 surface luminosity (Lsun),
'lg_LH' is log10 total PP and CNO hydrogen burning power (Lsun),
'lg_L3a' is log10 total triple-alpha helium burning power (Lsun),
'lg_gsurf' is log10 surface gravity,
'lg_LNuc' is log10 nuclear power excluding photodisintegration (Lsun),
'lg_LNeu' is log10 total neutrino power (Lsun),
'lg_Psurf' is log10 surface pressure (gas + radiation),
'Mass' is the total stellar baryonic mass (Msun),
'lg_Mdot' is log10 magnitude of rate of change of mass (Msun/year),
'lg_Dsurf' is log10 surface density (g/cm^3),
'H_env' is the amount of mass where H is the most abundant iso,
'He_core' is the largest mass where He is most abundant iso.
'C_core' is the largest mass where C is most abundant iso.
'H_cntr' is the center H1 mass fraction,
'He_cntr' is the center He4 mass fraction,
'C_cntr' is the center C12 mass fraction,
'N_cntr' is the center N14 mass fraction,
'O_cntr' is the center O16 mass fraction,
'Ne_cntr' is the center Ne20 mass fraction,
'X_avg' is the star average hydrogen mass fraction,
'Y_avg' is the star average helium mass fraction,
'Z_avg' is the star average metallicity,
'gam_cntr' is the center plasma interaction parameter,
'eta_cntr' is the center electron degeneracy parameter,
'zones' is the number of zones in the current model,
'iters' is the number of newton iterations for the current step,
'retry' is the number of step retries required during the run,
'bckup' is the number of step backups required during the run,
'dt_limit' is an indication of what limited the timestep.
All this and more are saved in the LOGS directory during the run.
create pre-main-sequence model
species mass 8
1.5000000000000000D+01
relax_num_steps
------ lot of steps later......
net name basic.net
use_gold_tolerances T
kappa_file_prefix gs98
kappa_lowT_prefix lowT_fa05_gs98
OMP_NUM_THREADS 6
------
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_yr lg_Pcntr lg_L lg_gsurf lg_Psurf lg_Dsurf
C_core C_cntr Ne_cntr Z_cntr Z_avg v_div_cs
dt_limit
__________________________________________________________________________________________________________________________________________________
1040 7.593948 2.480E+04 4.566353 4.566353 15.000000
15.000000 0.097124 0.012601 0.280000 0.524071 -6.178112
990 0
4.728910 0.877287 1.017305 -24.292873 3.399125 -99.000000
0.000000 0.883445 0.000460 0.020000 0.456017 0.022930 5
0
9.9951E+06 16.436441 4.565831 3.579371 3.384004 -9.333606
0.000000 0.000180 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1041 7.596021 2.472E+04 4.568650 4.568650 15.000000
15.000000 0.090585 0.012603 0.280000 0.522735 -6.176527
993 0
4.728987 0.883596 1.021294 -24.172587 3.401418 -99.000000
0.000000 0.889985 0.000456 0.020000 0.457353 0.023252 5
0
1.0049E+07 16.441691 4.568147 3.571392 3.377492 -9.339272
0.000000 0.000182 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1042 7.598264 2.464E+04 4.570966 4.570966 15.000000
15.000000 0.083963 0.012606 0.280000 0.521393 -6.174500
990 0
4.728639 0.890426 1.025257 -24.043594 3.403729 -99.000000
0.000000 0.896607 0.000451 0.020000 0.458695 0.023590 5
0
1.0102E+07 16.447539 4.570488 3.563467 3.371032 -9.344924
0.000000 0.000183 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1043 7.600684 2.456E+04 4.573314 4.573314 15.000000
15.000000 0.077312 0.012608 0.280000 0.520045 -6.171967
990 0
4.728220 0.897813 1.029184 -23.905413 3.406073 -99.000000
0.000000 0.903259 0.000447 0.020000 0.460043 0.023944 5
0
1.0156E+07 16.454049 4.572866 3.555613 3.364647 -9.350551
0.000000 0.000184 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1044 7.603364 2.449E+04 4.575705 4.575705 15.000000
15.000000 0.070505 0.012610 0.280000 0.518688 -6.168744
986 0
4.728876 0.906025 1.033057 -23.753613 3.408460 -99.000000
0.000000 0.910067 0.000442 0.020000 0.461400 0.024321 5
0
1.0209E+07 16.461493 4.575297 3.547866 3.358381 -9.356127
0.000000 0.000186 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1045 7.606360 2.442E+04 4.578146 4.578146 15.000000
15.000000 0.063540 0.012612 0.280000 0.517317 -6.164695
983 0
4.731016 0.915214 1.036827 -23.585223 3.410897 -99.000000
0.000000 0.917033 0.000438 0.020000 0.462772 0.024725 5
0
1.0263E+07 16.470075 4.577793 3.540327 3.352340 -9.361582
0.000000 0.000187 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
1046 7.609773 2.435E+04 4.580662 4.580662 15.000000
15.000000 0.056379 0.012614 0.280000 0.515924 -6.159521
996 0
4.735179 0.925684 1.040440 -23.395107 3.413411 -99.000000
0.000000 0.924194 0.000433 0.020000 0.464165 0.025158 5
0
1.0317E+07 16.480163 4.580383 3.533100 3.346640 -9.366842
0.000000 0.000189 0.002099 1.943E-02 1.991E-02 0.000E+00
varcontrol
failed in allocate for Load1_eoselm_Table
Load1_eoselm_Table ierr 5014 2 10
2.0000000000000000
/home/rodrigo/mesa-r11701/data/eosDT_data/mesa-eosELM_zbar_02_abar_04.data
failed while reading header info
/home/rodrigo/mesa-r11701/data/eosDT_data/mesa-eosELM_zbar_02_abar_04.data
4.500000
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7f9ba57d80ff in ???
#0 0x7f9ba57d80ff in ???
#0 0x7f9ba57d80ff in ???
#0 0x7f9ba57d80ff in ???
#0 0x7f9ba57d80ff in ???
#1 0x9302c0 in __eoselm_eval_MOD_do_interp_with_2nd_derivs
#1 0x9302c0 in __eoselm_eval_MOD_do_interp_with_2nd_derivs
at ../private/eoselm_eval.f90:974
at ../private/eoselm_eval.f90:974
#2 0x93152a in __eoselm_eval_MOD_get_elm_for_ia_iz_table
#2 0x93152a in __eoselm_eval_MOD_get_elm_for_ia_iz_table
at ../private/eoselm_eval.f90:429
at ../private/eoselm_eval.f90:429
#3 0x931ef2 in do_interp2
at ../private/eoselm_eval.f90:367
#3 0x931ef2 in do_interp2
#4 0x931ef2 in __eoselm_eval_MOD_get_elm_for_iz
at ../private/eoselm_eval.f90:367
#1 0x9302c0 in __eoselm_eval_MOD_do_interp_with_2nd_derivs
at ../private/eoselm_eval.f90:306
#4 0x931ef2 in __eoselm_eval_MOD_get_elm_for_iz
#1 0x9302c0 in __eoselm_eval_MOD_do_interp_with_2nd_derivs
at ../private/eoselm_eval.f90:974
at ../private/eoselm_eval.f90:974
at ../private/eoselm_eval.f90:306
#5 0x932675 in do_interp2
at ../private/eoselm_eval.f90:242
#6 0x932675 in __eoselm_eval_MOD_get_elm_table_results
at ../private/eoselm_eval.f90:175
#7 0x93288e in __eoselm_eval_MOD_get_elm_for_eosdt
at ../private/eoselm_eval.f90:84
#5 0x932675 in do_interp2
at ../private/eoselm_eval.f90:242
#6 0x932675 in __eoselm_eval_MOD_get_elm_table_results
at ../private/eoselm_eval.f90:175
#7 0x93288e in __eoselm_eval_MOD_get_elm_for_eosdt
at ../private/eoselm_eval.f90:84
#2 0x93152a in __eoselm_eval_MOD_get_elm_for_ia_iz_table
at ../private/eoselm_eval.f90:429
#1 0x9302c0 in __eoselm_eval_MOD_do_interp_with_2nd_derivs
at ../private/eoselm_eval.f90:974
#2 0x93152a in __eoselm_eval_MOD_get_elm_for_ia_iz_table
at ../private/eoselm_eval.f90:429
#3 0x931ef2 in do_interp2
at ../private/eoselm_eval.f90:367
#4 0x931ef2 in __eoselm_eval_MOD_get_elm_for_iz
at ../private/eoselm_eval.f90:306
#5 0x932675 in do_interp2
at ../private/eoselm_eval.f90:242
#6 0x932675 in __eoselm_eval_MOD_get_elm_table_results
at ../private/eoselm_eval.f90:175
#2 0x93152a in __eoselm_eval_MOD_get_elm_for_ia_iz_table
at ../private/eoselm_eval.f90:429
#7 0x93288e in __eoselm_eval_MOD_get_elm_for_eosdt
at ../private/eoselm_eval.f90:84
#3 0x931ef2 in do_interp2
at ../private/eoselm_eval.f90:367
#4 0x931ef2 in __eoselm_eval_MOD_get_elm_for_iz
at ../private/eoselm_eval.f90:306
#5 0x932675 in do_interp2
#3 0x931ef2 in do_interp2
at ../private/eoselm_eval.f90:367
at ../private/eoselm_eval.f90:242
#6 0x932675 in __eoselm_eval_MOD_get_elm_table_results
at ../private/eoselm_eval.f90:175
#7 0x93288e in __eoselm_eval_MOD_get_elm_for_eosdt
at ../private/eoselm_eval.f90:84
#4 0x931ef2 in __eoselm_eval_MOD_get_elm_for_iz
at ../private/eoselm_eval.f90:306
#5 0x932675 in do_interp2
at ../private/eoselm_eval.f90:242
#6 0x932675 in __eoselm_eval_MOD_get_elm_table_results
at ../private/eoselm_eval.f90:175
#7 0x93288e in __eoselm_eval_MOD_get_elm_for_eosdt
at ../private/eoselm_eval.f90:84
#8 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#9 0x8fc38e in __eosdt_eval_MOD_get_level5_elm_with_helm_for_eosdt
at ../private/eosdt_eval.f90:649
#10 0x8fb5ef in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1424
#11 0x8fc7c7 in __eosdt_eval_MOD_get_level4_dt2_for_eosdt
at ../private/eosdt_eval.f90:566
#12 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#13 0x8fcd21 in __eosdt_eval_MOD_get_level3_for_eosdt
at ../private/eosdt_eval.f90:359
#14 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
#8 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#9 0x8fc38e in __eosdt_eval_MOD_get_level5_elm_with_helm_for_eosdt
at ../private/eosdt_eval.f90:649
at ../private/eosdt_eval.f90:1401
#15 0x8fd022 in __eosdt_eval_MOD_get_level2_for_eosdt
#10 0x8fb5ef in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1424
#11 0x8fc7c7 in __eosdt_eval_MOD_get_level4_dt2_for_eosdt
at ../private/eosdt_eval.f90:566
#8 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
#12 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
at ../private/eosdt_eval.f90:1363
#9 0x8fc38e in __eosdt_eval_MOD_get_level5_elm_with_helm_for_eosdt
#13 0x8fcd21 in __eosdt_eval_MOD_get_level3_for_eosdt
at ../private/eosdt_eval.f90:649
at ../private/eosdt_eval.f90:359
#10 0x8fb5ef in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1424
#11 0x8fc7c7 in __eosdt_eval_MOD_get_level4_dt2_for_eosdt
at ../private/eosdt_eval.f90:274
#14 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:566
at ../private/eosdt_eval.f90:1401
#12 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#15 0x8fd022 in __eosdt_eval_MOD_get_level2_for_eosdt
#16 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:274
#13 0x8fcd21 in __eosdt_eval_MOD_get_level3_for_eosdt
at ../private/eosdt_eval.f90:1401
at ../private/eosdt_eval.f90:359
#17 0x8ff9e0 in __eosdt_eval_MOD_get_level1_for_eosdt
#16 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:218
#14 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
at ../private/eosdt_eval.f90:1401
#18 0x8ffeac in __eosdt_eval_MOD_get_eosdt_results
at ../private/eosdt_eval.f90:144
#17 0x8ff9e0 in __eosdt_eval_MOD_get_level1_for_eosdt
#15 0x8fd022 in __eosdt_eval_MOD_get_level2_for_eosdt
at ../private/eosdt_eval.f90:218
at ../private/eosdt_eval.f90:274
#18 0x8ffeac in __eosdt_eval_MOD_get_eosdt_results
at ../private/eosdt_eval.f90:144
#16 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
#17 0x8ff9e0 in __eosdt_eval_MOD_get_level1_for_eosdt
at ../private/eosdt_eval.f90:218
#18 0x8ffeac in __eosdt_eval_MOD_get_eosdt_results
at ../private/eosdt_eval.f90:144
#8 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#9 0x8fc38e in __eosdt_eval_MOD_get_level5_elm_with_helm_for_eosdt
at ../private/eosdt_eval.f90:649
#10 0x8fb5ef in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1424
#11 0x8fc7c7 in __eosdt_eval_MOD_get_level4_dt2_for_eosdt
at ../private/eosdt_eval.f90:566
#12 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#13 0x8fcd21 in __eosdt_eval_MOD_get_level3_for_eosdt
at ../private/eosdt_eval.f90:359
#14 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
#15 0x8fd022 in __eosdt_eval_MOD_get_level2_for_eosdt
at ../private/eosdt_eval.f90:274
#16 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
#17 0x8ff9e0 in __eosdt_eval_MOD_get_level1_for_eosdt
at ../private/eosdt_eval.f90:218
#18 0x8ffeac in __eosdt_eval_MOD_get_eosdt_results
at ../private/eosdt_eval.f90:144
#8 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#9 0x8fc38e in __eosdt_eval_MOD_get_level5_elm_with_helm_for_eosdt
at ../private/eosdt_eval.f90:649
#10 0x8fb5ef in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1424
#11 0x8fc7c7 in __eosdt_eval_MOD_get_level4_dt2_for_eosdt
at ../private/eosdt_eval.f90:566
#12 0x8fb45b in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1363
#13 0x8fcd21 in __eosdt_eval_MOD_get_level3_for_eosdt
at ../private/eosdt_eval.f90:359
#14 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
#15 0x8fd022 in __eosdt_eval_MOD_get_level2_for_eosdt
at ../private/eosdt_eval.f90:274
#16 0x8fb9d2 in __eosdt_eval_MOD_combine_for_eosdt
at ../private/eosdt_eval.f90:1401
#17 0x8ff9e0 in __eosdt_eval_MOD_get_level1_for_eosdt
at ../private/eosdt_eval.f90:218
#18 0x8ffeac in __eosdt_eval_MOD_get_eosdt_results
at ../private/eosdt_eval.f90:144
#19 0x8de647 in __eos_lib_MOD_eosdt_get
#19 0x8de647 in __eos_lib_MOD_eosdt_get
at ../public/eos_lib.f90:558
at ../public/eos_lib.f90:558
#19 0x8de647 in __eos_lib_MOD_eosdt_get
at ../public/eos_lib.f90:558
#19 0x8de647 in __eos_lib_MOD_eosdt_get
at ../public/eos_lib.f90:558
#19 0x8de647 in __eos_lib_MOD_eosdt_get
at ../public/eos_lib.f90:558
#20 0x4e268a in __micro_MOD_eos_get
at ../private/micro.f90:705
#20 0x4e268a in __micro_MOD_eos_get
#20 0x4e268a in __micro_MOD_eos_get
at ../private/micro.f90:705
#20 0x4e268a in __micro_MOD_eos_get
at ../private/micro.f90:705
at ../private/micro.f90:705
#20 0x4e268a in __micro_MOD_eos_get
at ../private/micro.f90:705
#21 0x4e4632 in __micro_MOD_do_eos_for_cell
at ../private/micro.f90:536
#21 0x4e4632 in __micro_MOD_do_eos_for_cell
at ../private/micro.f90:536
#21 0x4e4632 in __micro_MOD_do_eos_for_cell
#21 0x4e4632 in __micro_MOD_do_eos_for_cell
at ../private/micro.f90:536
at ../private/micro.f90:536
#21 0x4e4632 in __micro_MOD_do_eos_for_cell
at ../private/micro.f90:536
#22 0x42cee3 in __star_utils_MOD_foreach_cell._omp_fn.1
#22 0x42cee3 in __star_utils_MOD_foreach_cell._omp_fn.1
at ../private/star_utils.f90:68
#22 0x42cee3 in __star_utils_MOD_foreach_cell._omp_fn.1
at ../private/star_utils.f90:68
at ../private/star_utils.f90:68
#22 0x42cee3 in __star_utils_MOD_foreach_cell._omp_fn.1
at ../private/star_utils.f90:68
#22 0x42cee3 in __star_utils_MOD_foreach_cell._omp_fn.1
at ../private/star_utils.f90:68
#23 0x7f9ba5e1263d in gomp_thread_start
at /root/sdk2/build/gcc/libgomp/team.c:120
#23 0x7f9ba5e1263d in gomp_thread_start
#23 0x7f9ba5e1263d in gomp_thread_start
at /root/sdk2/build/gcc/libgomp/team.c:120
#23 0x7f9ba5e09cfe in GOMP_parallel
at /root/sdk2/build/gcc/libgomp/parallel.c:168
#23 0x7f9ba5e1263d in gomp_thread_start
at /root/sdk2/build/gcc/libgomp/team.c:120
at /root/sdk2/build/gcc/libgomp/team.c:120
#24 0x44097a in __star_utils_MOD_foreach_cell
at ../private/star_utils.f90:69
#25 0x4e6eab in do_eos
at ../private/micro.f90:442
#26 0x4e6eab in set_eos
at ../private/micro.f90:189
#27 0x4e6eab in __micro_MOD_set_micro_vars
at ../private/micro.f90:85
#24 0x7f9ba5989163 in start_thread
at /build/glibc-B9XfQf/glibc-2.28/nptl/pthread_create.c:486
#24 0x7f9ba5989163 in start_thread
at /build/glibc-B9XfQf/glibc-2.28/nptl/pthread_create.c:486
#24 0x7f9ba5989163 in start_thread
at /build/glibc-B9XfQf/glibc-2.28/nptl/pthread_create.c:486
#24 0x7f9ba5989163 in start_thread
at /build/glibc-B9XfQf/glibc-2.28/nptl/pthread_create.c:486
#25 0x7f9ba58b1dee in ???
#26 0xffffffffffffffff in ???
#25 0x7f9ba58b1dee in ???
#26 0xffffffffffffffff in ???
./rn: línea 9: 5149 Violación de segmento (`core' generado) ./star
DATE: 2019-08-20
TIME: 17:28:29
And i don't know what to do, since all the other threads of this error
are for older versions of mesa, and the compiling and installation of
mesa and mesasdk didn't show any sign of error, so i can't find it's
source. Please help me, i am using mesa for research purposes, to
study the giants mass loss. ANd I need that the programm runs ok.
Thanks for your consideration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190820/8215679d/attachment-0001.html>
More information about the Mesa-users
mailing list