Closed aron600 closed 6 years ago
Hi, did you follow these instructions and download the templates? From he error message it looks like you either didn't download them, or you put them in a location that cannot be found by Beagle
I did follow the instructions. I compared the templates on my computer with the bank and it appears a couple of them and the readme were not downloaded. It now runs, but I receive this segfault error after it ran for almost an hour with several multinest outputs:
Total Samples: 6830
Nested Sampling ln(Z): -17.551746
Acceptance Rate: 0.311880
Replacements: 2137
Total Samples: 6852
Nested Sampling ln(Z): -17.548256
ln(ev)= -17.471369917582123 +/- 0.25097208834539730
Total Likelihood Evaluations: 6852
Sampling finished. Exiting MultiNest
Param 1 posterior mean: 9.63707352
Param 2 posterior mean: 5.54818535
Param 3 posterior mean: 0.248488635
Param 4 posterior mean: 9.69446373
Param 5 posterior mean: -1.11403418
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[ERROR: Photometric object `` not found! ]
[FUNCTION: "getPhotBandList" ]
[MODULE: "PhotObjListMod" ]
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7ff953fddef7 in ???
#1 0x7ff953fdd12d in ???
#2 0x7ff95370d4af in ???
#3 0x65f848 in print_backtrace
at /root/src/github.com/jacopo-chevallard/BEAGLE/build/dependencies/astrofortran-src/src/lib_messages.f90:841
#4 0x6615df in __lib_messages_MOD_print_error
at /root/src/github.com/jacopo-chevallard/BEAGLE/build/dependencies/astrofortran-src/src/lib_messages.f90:791
#5 0x453302 in __photobjlistmod_MOD_getphotbandlist
at /root/src/github.com/jacopo-chevallard/BEAGLE/src/PhotObjListMod.f90:251
#6 0x4083d2 in beagle
at /root/src/github.com/jacopo-chevallard/BEAGLE/src/BEAGLE.f90:447
#7 0x404a44 in main
at /root/src/github.com/jacopo-chevallard/BEAGLE/src/BEAGLE.f90:6
my terminal command was:
docker run --rm -it -v /Users/Eric/BEAGLE-general:/BEAGLE_virtual_workdir --env-file /Users/Eric/BEAGLE-general/env.list beagletool/beagle:0.18.5 --parameter-file /BEAGLE_virtual_workdir/params/fit_photometry_example.param --fit
The program worked as expected, in fact the last error message is just due to the fact that there are no more objects to fit ! I'll close this issue then
A last thing: please, take a look on how to format your issues https://guides.github.com/features/mastering-markdown/, in particular the use of the triple back ticks to insert the output of a program and avoid the creation of spurious references to other issues (which are created when sing the #
symbol)
I installed BEAGLE following the checklist but am unable to run get it to run without an error. I have used the sample and also tried following successful examples in the issues section. Currently i'm trying
docker run --rm -it -v /Users/Eric/BEAGLE-general:/BEAGLE_virtual_workdir --env-file /Users/Eric/BEAGLE-general/env.list beagletool/beagle:0.18.5 --parameter-file /BEAGLE_virtual_workdir/params/fit_photometry_example.param --fit
My error is
I need to specify the path to the env.list file, if I simply use "--env-file env.list" I get the following error
docker: open env.list: no such file or directory. See 'docker run --help'.