jacopo-chevallard / BEAGLE-general

Basic information to get started with the galaxy spectral modelling tool Beagle
https://www.iap.fr/beagle/
9 stars 0 forks source link

SIGSEGV error when fitting spectral indices #32

Closed alex-delavega closed 7 years ago

alex-delavega commented 7 years ago

I would like to include Ha and Hb in some fits (for now just Ha) and have attempted to do so in the additional files in the attached .zip. When running fit_3dhst_spec.param I acquire the same error as in #31 :

docker run --rm -it -v /Users/vega/Desktop/BEAGLE/BEAGLE-general-master:/opt/BEAGLE --env-file env.list beagletool/beagle:0.7.2 --parameter-file /opt/BEAGLE/params/fit_3dhst_spec.param --fit

  All the templates read.

 Reading Filter File: /opt/BEAGLE/build/FILTERBIN.RES
 271 filters defined, out of 500                                maximum     ...done
 ---> fixed                         sfh_type                                   0
 ---> fixed                         attenuation_type                           0
 ---> fitted                        tauV_eff                                   0
 ---> fixed                         mu                                         0
 ---> fitted                        tau                                        1
 ---> fitted                        metallicity                                1
 ---> fitted                        mass                                       1
 ---> fitted                        sfr                                        1
 n_fitted:            5

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

Backtrace for this error:
#0  0x7FD87EEF4E08
#1  0x7FD87EEF3F90
#2  0x7FD87E62649F
#3  0x494061 in __spectral_indices_MOD_load_observation_indices at spectral_indices.f90:449
#4  0x407143 in MAIN__ at BEAGLE.f90:386

Quantities are in default units. 3dhst_fit.zip

jacopo-chevallard commented 7 years ago

Can you try to put the same ID in the column ID of the FITS files gdn_whole.fits and gdn_whole_spectra.fits? Also, you may want to pull the latest version of Beagle from Docker

docker pull beagletool/beagle:0.7.10
alex-delavega commented 7 years ago

@jacopo-chevallard success! Thanks again!

jacopo-chevallard commented 7 years ago

:-) great ! I can probably update the manual to make this point clearer!