RickKessler / SNANA

Supernova Analysis package
38 stars 23 forks source link

stack smashing #840

Closed liuchengqi closed 2 years ago

liuchengqi commented 2 years ago

I have followed the manual in Chapter 4.2 Getting Started Quickly. I did the command in my computer:

cd $SNDATA_ROOT/sample_input_files/SALT2 then: snlc_sim.exe sim_SDSS.input the error appears like: image

I also have tried snlc_sim.exe sim_DES.input, sim_HST.input ,and sim_SNLS.input, all have appeared the same errors except the snlc_sim.exe sim_SNLS.input.

I want to know what's going on? why stack smashing always appears? Thanks!

RickKessler commented 2 years ago

If this error is on your laptop, I cannot help. I ran the same command on our computing cluster and it works.

liuchengqi commented 2 years ago

In the sim_SDSS.input file, if I add a note before SIMGEN_DUMP: 4 ZCMB PEAKMJD SALT2c SALT2x1 like: image

then snlc_sim.exe sim_SDSS.input works.

I am a newer in SNANA, I also have read the manual, but I still don't know why the SIMGEN_DUMP can cause stack smashing. image