rcthomas / es

Elementary Supernova Spectrum Synthesis
http://c3.lbl.gov/es
Other
12 stars 8 forks source link

syn++ failing #15

Open abostroem opened 6 years ago

abostroem commented 6 years ago

Hi,

I just installed syn++ on Mac OS 10.12.6. I didn't encounter any issues with the configure or make steps. However, when I try to run the example I get the following error:

syn++ demo.yaml

libc++abi.dylib: terminating with uncaught exception of type YAML::TypedKeyNotFound<std::1::basic_string<char, std::__1::char_traits, std::1::allocator > >: yaml-cpp: error at line 2, column 1: key not found Abort trap: 6

The only thing I've modified in the demo.yaml file is the path to the atomic data.

I tried to read the yaml file in using Python (to make sure there wasn't anything funny with the format) and that succeeded.

Any thoughts or help would be much appreciated.

Thank you, Azalee

rcthomas commented 6 years ago

Hi @abostroem email me your modified but failing demo.yaml so I can try to reproduce the problem, if you are still having it.

rcthomas commented 6 years ago

I think you're using the synapps input file as input to syn++ and that won't work. Have a look for syn++.yaml in the source distribution, for instance from src/syn++/syn++.yaml and see if you can get that to create a spectrum for you.

sky5265 commented 2 years ago

Hello, I am having a similar issue. I have set up the program on my computer, and it is fully compiled, but I keep getting a segmentation fault error message.

I am in fact using the src/syn++/syn++.yaml file, but I get the error:

computing spectrum 1 of 3

[1] 10430 segmentation fault syn++ --verbose ./syn++.yaml > spec.dat

Help would be greatly appreciated!