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 with reading *.4color file on Ubuntu #16

Closed brandherd closed 8 years ago

brandherd commented 8 years ago

I am running Ubuntu 14.04 and having this error message below when using Docker Beagle 0.3.5.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
         [ERROR: More than 1 *4color file found for the same metallicity!! ]
 [FUNCTION: "read_templates_nebular_emission" ]
 [MODULE: "io_nebular_emission" ]
 [BACKTRACE:   
#0  0x7F3059217777
#1  0x536B34 in print_backtrace at lib_messages.f90:299
#2  0x4582B4 in __io_nebular_emission_MOD_read_templates_nebular_emission at io_nebular_emission.f90:582
#3  0x435E94 in __iotemplates_MOD_initialize_templates at iotemplates.f90:145 (discriminator 2)
#4  0x414830 in beagle at BEAGLE.f90:193
 ]
 [ ***************************************** ]
 [ ----> EXITING FUNCTION / SUBROUTINE <---- ]                                
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rmendsley commented 8 years ago

Hello, I am getting the same error. Since the issue has been tagged with a Docker label, does this mean that the issue is primarily coming from Docker and not BEAGLE? I am running this on Ubuntu 16.04 LTS.

docker run --rm -it -v /home/rendsley/Desktop/BEAGLE-general:/BEAGLE_virtual_workdir --env-file env.list eclake/beagle:0.3.5 1 /BEAGLE_virtual_workdir/params/fit_photometry_example.param ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [ERROR: More than 1 *4color file found for the same metallicity!! ] [FUNCTION: "read_templates_nebular_emission" ] [MODULE: "io_nebular_emission" ] [BACKTRACE:

0 0x7F823E445777

1 0x536B34 in print_backtrace at lib_messages.f90:299

2 0x4582B4 in __io_nebular_emission_MOD_read_templates_nebular_emission at io_nebular_emission.f90:582

3 0x435E94 in __iotemplates_MOD_initialize_templates at iotemplates.f90:145 (discriminator 2)

4 0x414830 in beagle at BEAGLE.f90:193

] [ ***** ] [ ----> EXITING FUNCTION / SUBROUTINE <---- ]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[ +++++ ERROR DETECTED: Do you want to continue with the execution of the program? (y/n)] n

jacopo-chevallard commented 8 years ago

can you try by pulling, and using, the newest version of Docker-Beagle (we still need to update the wiki!), i.e. replacing eclake/beagle:0.3.5 with eclake/beagle:0.5.7_test ?

rmendsley commented 8 years ago

Unfortunately, that doesn't seem to help with this issue, but maybe the updated error output can help:

rendsley@noether:~/Desktop/BEAGLE-general$ docker pull eclake/beagle:0.5.7_test 0.5.7_test: Pulling from eclake/beagle

2f0243478e1f: Already exists d8909ae88469: Already exists 820f09abed29: Already exists 01193a8f3d88: Already exists dc902ce4210d: Already exists 4d050fad4039: Already exists c6807db99db8: Already exists f3941609553f: Already exists 06e7ed880664: Already exists 0ea9a970f2d9: Already exists f31857380b56: Already exists 43d574f7641c: Already exists eab2b9f30c59: Already exists 9712c6e107a5: Already exists 13548344d435: Already exists 9e904c212b41: Already exists 255ad94dfb2f: Pull complete 026a48018747: Pull complete Digest: sha256:d7c3011336faeeeb0ca3127c06a42b65afb5439696ab5c85623faaa1811c8f41 Status: Downloaded newer image for eclake/beagle:0.5.7_test

rendsley@noether:~/Desktop/BEAGLE-general$ docker run --rm -it -v /home/rendsley/Desktop/BEAGLE-general:/BEAGLE_virtual_workdir --env-file env.list eclake/beagle:0.5.7_test 1 /BEAGLE_virtual_workdir/params/fit_photometry_example.param ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [ERROR: More than 1 _4color file found for the pattern cb2013_z0001y249_4color ] [FUNCTION: "read_templates_nebular_emission" ] [MODULE: "io_nebular_emission" ] [BACKTRACE:

0 0x7F9E2C15FE08

1 0x54F45C in print_backtrace at lib_messages.f90:329

2 0x450E06 in **io_nebular_emission_MOD_read_templates_nebular_emission at io_nebular_emission.f90:589 (discriminator 6)

3 0x4A098A in __iotemplates_MOD_initialize_templates at iotemplates.f90:145 (discriminator 3)

4 0x405BCE in MAIN** at BEAGLE.f90:196

] [ ***** ] [ ----> EXITING FUNCTION / SUBROUTINE <---- ]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [ *_* STOPPING PROGRAM *** ] Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG

eclake commented 8 years ago

Is there any chance there could be some hidden files in the templates folder if it was tarred on a mac and then untarred on linux? @rmendsley - please could you double check that there are no files in your templates directory with ._ at the front and let us know ...

rmendsley commented 8 years ago

That is exactly what happened haha. My apologies, I did not know that could happen. Thank you for the help! I'll fix all of the files and let you know if that doesn't work.

jacopo-chevallard commented 8 years ago

Yuppie @eclake, well done!! @rmendsley the OS X developers should apology, these files are created automatically when creating a tar archive on a Mac... dunno why!