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

ERROR: No input parameter for a `fitted` parameter type is present! #66

Open npirzkal opened 6 years ago

npirzkal commented 6 years ago

I am trying to run beagle and getting this error. It occurs with param files that used to work, and using version 0.10.x. I have downloaded 0.18.2 and get the same error. I also get the same error using the new example file /fit_photometry_example.param This is using Docker under OSX 10.13.2 and I have not been able to find why this migth be occuring.

eclake commented 6 years ago

Hi, sorry - just replied to your e-mail and then saw this here. Hmm, that's strange if it's also happening with the fit_photometry_example.param, please can you send the command you're using to call BEAGLE?

npirzkal commented 6 years ago

Hi,

I have been using:

docker run —rm -it -v /Users/npirzkal/Dropbox/BEAGLE-general:/BEAGLE_virtual_workdir --env-file env.list beagletool/beagle:0.11.2 --parameter-file /BEAGLE_virtual_workdir/params/$1.param --fit

and with the new version:

docker run —rm -it -v /Users/npirzkal/Dropbox/BEAGLE-general:/BEAGLE_virtual_workdir --env-file env.list beagletool/beagle:0.18.4 --parameter-file /BEAGLE_virtual_workdir/params/fit_photometry_example.param --fit

N

On Dec 12, 2017, at 4:29 PM, eclake notifications@github.com wrote:

Hi, sorry - just replied to your e-mail and then saw this here. Hmm, that's strange if it's also happening with the fit_photometry_example.param, please can you send the command you're using to call BEAGLE?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jacopo-chevallard/BEAGLE-general/issues/66#issuecomment-351166551, or mute the thread https://github.com/notifications/unsubscribe-auth/AHNknBKamRATTP_2TFe8P7dUZoUJf40Uks5s_tQbgaJpZM4Q_b5E.

jacopo-chevallard commented 6 years ago

Hi Nor, can you write here the error you're getting?

npirzkal commented 6 years ago

Here is the full result:

docker run --rm -it -v /Users/npirzkal/Dropbox/BEAGLE-general:/BEAGLE_virtual_workdir --env-file env.list beagletool/beagle:0.18.4 --parameter-file /BEAGLE_virtual_workdir/params/fit_photometry_example.param ---> fixed sfh_type 0 ---> fitted mass 0 ---> fitted redshift 0 ---> dependent nebular_logU 0 ---> fixed nebular_xi 0 ---> dependent nebular_Z 0 ---> fixed attenuation_type 0 ---> fitted tauV_eff 0 ---> fixed mu 0 ---> fitted tau 1 ---> fitted metallicity 1 n_fitted: 5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [ERROR: No input parameter for a fitted parameter type is present! ] [FUNCTION: "set_galaxy_parameters" ] [MODULE: "parameters_handling" ]

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

Backtrace for this error:

0 0x7fd5807e4ef7 in ???

1 0x7fd5807e412d in ???

2 0x7fd57ff144af in ???

3 0x660cd8 in print_backtrace

at /root/src/github.com/jacopo-chevallard/BEAGLE/build/dependencies/astrofortran-src/src/lib_messages.f90:841

4 0x662a6f in __lib_messages_MOD_print_error

at /root/src/github.com/jacopo-chevallard/BEAGLE/build/dependencies/astrofortran-src/src/lib_messages.f90:791

5 0x44c514 in set_galaxy_parameters

at /root/src/github.com/jacopo-chevallard/BEAGLE/src/parameters_handling.f90:455

6 0x44ce4f in __parameters_handling_MOD_set_and_change_galaxy_parameters

at /root/src/github.com/jacopo-chevallard/BEAGLE/src/parameters_handling.f90:294

7 0x407137 in beagle

at /root/src/github.com/jacopo-chevallard/BEAGLE/src/BEAGLE.f90:486

8 0x404a44 in main

at /root/src/github.com/jacopo-chevallard/BEAGLE/src/BEAGLE.f90:6