Re: [Ifeffit] Installing Demeter on Mac (Apple M1)
Dear Anthony,
I’m the official MacPorts maintainer of Demeter. Although I have an M1 mac, I have not even tried to install it there. This fact might give you an idea of how active my efforts have been lately. (Sorry about that, community. Volunteers who use Demeter in their daily life on a Mac would be most welcome to take over or share the load here!)
I suspect your immediate problem is with your shell’s path. Can you…
1. Make sure demeter installed what you expect it to install? Try “port contents demeter | less”. I expect to find /opt/local/bin/athena in the list of contents.
2. Make sure the directory where athena is installed is “in your path”. Specifically, try “echo $PATH” and make sure that /opt/local/bin is in the colon-separated list of path elements.
3. If athena is installed, but not in the path, you can do “/opt/local/bin/athena” to start it. For future convenience, you can read up on how to add to your PATH variable via zsh startup files.
However, even after all that, you might still have a problem. The root of the bigger problem is that ifeffit is no longer actively maintained, but it’s required for Demeter. The authors of the two packages have discussed the problem with me, but we have not come up with any satisfactory solution. You might investigate whether Larch (ifeffit’s successor) could help solve your problems outside of Athena? (That’s available in a port named py-xraylarch, which we added earlier in 2022. Or you can use pypi/pip to install Larch using Python’s package management outside of the MacPorts framework.) In principle, Larch might be capable of being mixed in to Demeter as a replacement for ifeffit, but in practice it would take some real work. (Or so the authors think.)
Bruce, Matt: please correct any misunderstandings I’ve expressed in the previous paragraph!
Best wishes,
Joe Fowler
NIST Boulder Labs
On Dec 4, 2022, at 6:22 PM, ifeffit-request@millenia.cars.aps.anl.govmailto:ifeffit-request@millenia.cars.aps.anl.gov wrote:
Send Ifeffit mailing list submissions to
ifeffit@millenia.cars.aps.anl.govmailto:ifeffit@millenia.cars.aps.anl.gov
To subscribe or unsubscribe via the World Wide Web, visit
https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmillenia.ca...
or, via email, send a message with subject or body 'help' to
ifeffit-request@millenia.cars.aps.anl.govmailto:ifeffit-request@millenia.cars.aps.anl.gov
You can reach the person managing the list at
ifeffit-owner@millenia.cars.aps.anl.govmailto:ifeffit-owner@millenia.cars.aps.anl.gov
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ifeffit digest..."
Today's Topics:
1. Installing Demeter on Mac (Apple M1) (agironda)
From: agironda
participants (1)
-
Fowler, Joseph W. (Assoc)