[Ifeffit] "PCA not enabled" on Mac version of Demeter: Athena
frank.schima at nist.gov
Tue Oct 7 15:18:15 CDT 2014
On Oct 7, 2014, at 1:29 PM, Bruce Ravel <bravel at bnl.gov<mailto:bravel at bnl.gov>> wrote:
On 10/07/2014 02:43 PM, Schima, Frank wrote:
I’m going to need specific steps to reproduce the issue.
As I understood the issue from Ellen's first message, the problem is that Athena is not able to find the modules "PDL::Lite" (which should be installed when "PDL" is installed) and/or "PDL::Stats::GLM".
If I force Athena to fail to load one of them, then selecting "Principle Components Analysis" from the main menu will look like the first attachment.
If Athena can find those two modules, the selecting "Principle Components Analysis" will look like the second attachment.
The test in Athena is really simple. If those two modules can be loaded successfully, then the PCA tool will display properly. If not, that message is the graceful fall back. My guess is that one or both of those perl modules is not being found on Ellen's computer.
A simple way to test from the command line whether the modules can be loaded is to do
perl -e 'use PDL::Lite'
perl -e 'use PDL::Stats::GLM'
If they cannot be found, then perl spits up an error message. If they can, then nothing happens.
Nothing happens for me. So they are installed. At this point it looks like an issue with her Macports install.
I would start by verifying that she is correctly using perl 5.16 in Macports. What is the output of the following?
$ port installed perl5
Here is my output.
The following ports are currently installed:
perl5 @5.12.4_0+perl5_16 (active)
Then the Macports perl needs to be in your path. What is the output of the following?
$ echo $PATH
My output is:
Bruce Ravel ------------------------------------ bravel at bnl.gov<mailto:bravel at bnl.gov>
National Institute of Standards and Technology
Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
Upton NY, 11973
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov<mailto:Ifeffit at millenia.cars.aps.anl.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ifeffit