[Mesa-users] Segfault when running tutorial

Anindya Ganguly anindyaganguly12 at gmail.com
Thu Nov 1 14:46:14 EDT 2018


Respected Sir

I am a new user of mesa.I have installed it already.
My operating system is ubuntu 16.04 LTS
mesa version is mesa-r10398.I am facing this problem while compiling
tutorial. My gnu fortran version is 7.3.0

anindya at anindya-rono:~/Desktop/MESA_DIR/mesa-r10398/tutorial$ gedit
inlist_project
anindya at anindya-rono:~/Desktop/MESA_DIR/mesa-r10398/tutorial$ ./mk
gfortran -fopenmp -o ../star run_star_extras.o run_star.o  run.o
-L/home/anindya/Desktop/MESA_DIR/mesa-r10398//lib -lstar -lionization -latm
-lcolors -lmlt -lnet -leos -lkap -lrates -lneu -lchem -linterp_2d
-linterp_1d -lnum -lf2crlibm -lcrlibm -lmtx -lconst -lutils
`mesasdk_lapack_link` `mesasdk_blas_link` `mesasdk_hdf5_link`
`mesasdk_pgplot_link` -lz
anindya at anindya-rono:~/Desktop/MESA_DIR/mesa-r10398/tutorial$ ./rn
DATE: 2018-11-02
TIME: 00:09:15
                                         version_number       10398
 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_LZ' is log10 total burning power excluding LH and L3a and
photodisintegrations (Lsun),
      '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
 use_eosPTEH_for_low_density T
 use_eosPTEH_for_high_Z T
                                          species  mass           8
1.5000000000000000D+01

                                        relax_num_steps

       retry log10(dt/yr), log10(dt), retry_factor     1     1
-5.602060        1.897052        0.500000
 first model is slow to converge: num tries          70
 first model is slow to converge: num tries          80
 first model is slow to converge: num tries          90
 first model is slow to converge: num tries         100
 first model is slow to converge: num tries         110
 first model is slow to converge: num tries         120
 first model is slow to converge: num tries         130
          1   5.479739   3327.593 -21.749180 -21.749180  15.000000
15.000000   0.700000   0.001008   0.280000   0.700000 -12.925080
1077      1
  -5.301030  -5.414822   2.521541 -99.000000 -23.147049 -99.000000
0.000000   0.280000   0.009360   0.020000   0.280000   0.013156    137
0
 5.0000E-06   8.245848   4.085084 -99.000000   3.083430  -8.231930
0.000000   0.003442   0.002099  2.000E-02  2.000E-02  0.290E+04
retry


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

Backtrace for this error:
#0  0x7feb68e074af in ???
#1  0x5431af in do_history_info
    at ../private/history.f90:383
#2  0x54ecd4 in get_hist_values
    at /home/anindya/Desktop/MESA_DIR/mesa-r10398/star/make/pgstar.f90:1641
#3  0x54ecd4 in __pgstar_MOD_update_pgstar_data
    at /home/anindya/Desktop/MESA_DIR/mesa-r10398/star/make/pgstar.f90:1619
#4  0x5896d2 in __relax_MOD_do_internal_evolve
    at ../private/relax.f90:3838
#5  0x58a9cb in __relax_MOD_do_relax_num_steps
    at ../private/relax.f90:3243
#6  0x599f1c in model_builder
    at ../private/init.f90:1282
#7  0x59ac44 in __init_MOD_create_pre_ms_model
    at ../private/init.f90:1041
#8  0x41a754 in __star_lib_MOD_star_create_pre_ms_model
    at ../public/star_lib.f90:372
#9  0x42b7b0 in __run_star_support_MOD_do_load1_star
    at ../job/run_star_support.f90:1800
#10  0x431c3a in __run_star_support_MOD_before_evolve_loop
    at ../job/run_star_support.f90:325
#11  0x4324a8 in __run_star_support_MOD_run1_star
    at ../job/run_star_support.f90:98
#12  0x416b40 in __run_star_MOD_do_run_star
    at /home/anindya/Desktop/MESA_DIR/mesa-r10398//star/job/run_star.f:26
#13  0x416be3 in run
    at ../src/run.f:16
#14  0x416c1a in main
    at ../src/run.f:2
./rn: line 9:  4874 Segmentation fault      (core dumped) ./star
DATE: 2018-11-02
TIME: 00:09:51


I shall be highly obliged if you kindly help me to solve the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20181102/2be5f2bd/attachment.html>


More information about the Mesa-users mailing list