Problem with Perl interpreter
I have a problem with Demeter package. Up to yesterday everything was fine. Now when I try to start any program (Athena, Artemis...) I receive error message: Perl interpreter has stopped working (The application was unable to start correctly (0xc0000005)). Installation of perl (strawberry-perl-5.22.0.1-64bit.msi) didn't solve the problem. Unfortunately all the log files ("C:\Users\<username>\AppData\Roaming\Demeter\<name>.log") are empty. I am using the Demeter 0.9.24 on 64-bit Windows 7. I would be really grateful for help in solving this problem. Thank you in advance, Wojciech -- ALBA Synchrotron http://www.albasynchrotron.es Wojciech Olszewski BL22 - CLAESS: Core Level Absorption & Emission Spectroscopies - Experiments Division ALBA SYNCHROTRON LIGHT SOURCE Ctra. BP 1413 km. 3,3 | 08290 | Cerdanyola del Vallès| Barcelona | Spain http://www.albasynchrotron.es/AboutUs/Access (+34) 93 592 4059 www.albasynchrotron.es http://www.albasynchrotron.es| wolszewski@cells.es mailto:wolszewski@cells.es **Please, do not print this e-mail unless it is absolutely necessary. **Si heu rebut aquest correu per error, us informo que pot contenir informació confidencial i privada i que està prohibit el seu ús. Us agrairíem que ho comuniqueu al remitent i l'elimineu. Gràcies. Si ha recibido este correo por error, le informo de que puede contener información confidencial y privada y que está prohibido su uso. Le agradeceré que lo comunique a su remitente y lo elimine. Gracias. If you have received this e-mail in error, please note that it may contain confidential and private information, therefore, the use of this information is strictly forbidden. Please inform the sender of the error and delete the information received. Thank you.
On 11/13/2015 02:26 PM, Wojciech Olszewski wrote:
I have a problem with Demeter package. Up to yesterday everything was fine. Now when I try to start any program (Athena, Artemis...) I receive error message: Perl interpreter has stopped working (The application was unable to start correctly (0xc0000005)). Installation of perl (strawberry-perl-5.22.0.1-64bit.msi) didn't solve the problem. Unfortunately all the log files ("C:\Users\<username>\AppData\Roaming\Demeter\<name>.log") are empty. I am using the Demeter 0.9.24 on 64-bit Windows 7. I would be really grateful for help in solving this problem.
Hi Wojciech, Why are you installing perl independently of Demeter? Do you have some other use on your computer that requires you to install perl? Installing another version of Strawberry Perl is almost certain to clobber Demeter. Demeter is currently using perl 5.18, which is not binary compatible with 5.22. So, when you install the other version of perl things will break. If you take care to install a very recent version of Demeter to a different installation directory than you use to install Strawberry 5.22, it is possible that the two can be made to co-exist. If you install them to the same installation folder -- say C:\strawberry -- then Demeter is guaranteed to be broken be due to the binary incompatibility. So ... did you install the other version of perl prior to noticing that Demeter was broken? If so, there are ways to proceed, but it may get a bit complicated. At the very least, you can uninstall both packages completely then resinstall Demeter. That should leave you with a functioning Demeter, but it may break other software. Did you install Strawberry 5.22 because you have some other use for perl on your computer? If so, can your other software work with the version of perl that comes with Demeter? That is, do you really need Strawberry 5.22? Executive summary: I think you problem is binary compatibility between perl version, of which you seem to have two on your computer. If all of that doesn't solve your problem, it's going to take a lot more effort to troubleshoot the problem. Good luck! B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 535A Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
Hi Wojciech, Bruce, Don't know if this is relevant, but I've definitely seen conflicts with Perl interpreters when trying to develop Epics applications on Windows, as Epics builds need Perl with Strawberry recommended for Windows. I've been able to have both C:\Strawberry and C:\Demeter as long as C:\Strawberry is not in the normal PATH, and only gets put in the PATH for Epics work. --Matt
On 11/13/2015 03:42 PM, Matt Newville wrote:
Hi Wojciech, Bruce,
Don't know if this is relevant, but I've definitely seen conflicts with Perl interpreters when trying to develop Epics applications on Windows, as Epics builds need Perl with Strawberry recommended for Windows.
I've been able to have both C:\Strawberry and C:\Demeter as long as C:\Strawberry is not in the normal PATH, and only gets put in the PATH for Epics work.
The other option is to use the perl that you install to use with EPICS and use that to build Demeter from source. It's not fun, but here are my (rather spartan) notes on how I work my way up to using Inno to build the Windows installer: https://github.com/bruceravel/demeter/blob/master/win/notes.org Thinking about it, it seems like it would be prudent for me to stay synced with what EPICS is using. That would obviate this problem. Perhaps I could offer an installer package that install Demeter+it's specific dependencies on top of the Strawberry. Something to think about. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 535A Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
Hi Bruce and Matt, Are there any obvious examples of where Sterns criteria is shown to be incorrect? Meaning that 2delkdelR/pi +2 has been shown to over predict the number of available independent parameters? I have often been asked this by students/users and failed to explain it well, except for taking of talking sources or error such as systematic, spline, etc. Thanks! -Riti
Hi Riti,
On Fri, Nov 13, 2015 at 6:25 PM, Ritimukta Sarangi
Hi Bruce and Matt, Are there any obvious examples of where Sterns criteria is shown to be incorrect? Meaning that 2delkdelR/pi +2 has been shown to over predict the number of available independent parameters? I have often been asked this by students/users and failed to explain it well, except for taking of talking sources or error such as systematic, spline, etc. Thanks! -Riti
That's an excellent question. To be honest, I don't think this has been tested in great detail, with the main issue being "when can you truly tell that you've used too many parameters". We typically rely on "when adding a variable doesn't improve reduced chi-square" as that measure. But, the definition of reduced chi-square that we use includes a value for N_idp already, so we're more or less *imposing* the Stern rule. I think lots of us have observed cases where the Stern rule is definitely optimistic. And that might be understandable because the Stern rule doesn't include a separate measure of the noise in the data, or what the distribution of "the effect" of the parameters would be on the signal. That is, one can always increase the R range to 20 Angstroms, and so increase N_idp. But if you're trying to fit 25 variables for the part of the signal between 1.5 and 2.5 Ang, there is probably going to be very hard to get good measures of all 25 variables. The Stern rule sort of doesn't account for this, except in the sense of giving guidance. It would be interesting the revisit this with a better statistical treatments of information. There are, for example, statistical values like the Akaike Information criterion ( https://en.wikipedia.org/wiki/Akaike_information_criterion) and related values that might be useful for better understanding when one is using too many parameters. --Matt
participants (4)
-
Bruce Ravel
-
Matt Newville
-
Ritimukta Sarangi
-
Wojciech Olszewski