Opened 11 years ago
Closed 11 years ago
#274 closed defect (invalid)
Sherpa crash
Reported by: | jjjgu@ucdavis.edu | Owned by: | support@sherpa-mc.de |
---|---|---|---|
Priority: | major | Milestone: | rel-2.0.0 |
Component: | Unknown | Version: | 2.0.beta2 |
Keywords: | crash | Cc: |
Description
Hi,
I am having problem running Sherpa. Following the instruction on
https://sherpa.hepforge.org/doc/SHERPA-MC-2.0.beta2.html ,
after installation, I went to some example directory and ran <prefix>/bin/Sherpa, and it gives me the following error:
terminate called after throwing an instance of 'std::bad_cast' what(): std::bad_cast
Exception_Handler::SignalHandler: Signal (6) caught. Cannot continue. Exception_Handler::Terminate(): Pre-crash status saved to '/Users/gu/Research_tools/SHERPA-MC-2.0.beta2/share/SHERPA-MC/Examples/Tops_plus_Jets/LHC_Tops_MCatNLO/StatusFri_Sep_13_06-14-31_2013'. Exception_Handler::Exit: Exiting Sherpa with code (2)
Actually, it doesn't matter which directory I am in, every time I run <prefix>/bin/Sherpa it gives me this error. I also tried an old version (1.4.3) and got the same thing. My system is OSX 10.6.8. My gcc & g++ version is (GCC) 4.2.1 and gfortran version is GNU Fortran (GCC) 4.3.0. Any help would be appreciated.
Best, Jiayin
Hi Jiayin
there are known issues with OSX compilers, especially older versions like yours. I'm afraid we cannot provide any assistance with this problem. You should try to install a consistent set of compilers at first, i.e. one where the version of g++ matches the version of gfortran. This is necessary for Sherpa because the C++ <-> Fortran interface is version dependent and might not work correctly in your case.
Best Stefan