Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mcmctree not running when using a Mac M1 silicon #45

Open
DoveOfGlass opened this issue Mar 18, 2024 · 3 comments
Open

Mcmctree not running when using a Mac M1 silicon #45

DoveOfGlass opened this issue Mar 18, 2024 · 3 comments
Labels
fixed-dev good first issue Good for newcomers MacOSX-issues Issues with the latest Mac OSX chips pending-merge-main

Comments

@DoveOfGlass
Copy link

Hello everyone! :)

I just installed PAML in my Mac (Mac mini (M1, 2020)). Baseml and others work, but mcmctree gives me an error related to hardware incompatibility: "zsh: illegal hardware instruction /Users/palomaruizdd/paml/bin/mcmctree", after reading the tree correctly.

I have tried using Roseta 2 (and I have checked the path and the permits, they are fine), and I have compiled and tried two different versions of PAML (4.8 and 4.10), but the error persists. Any clues? Is there any compatible version of mcmctree with Mac M1?

I have used it previously installing it with miniconda, but it does not seem to be available anymore.

Thank you for all the help!!
Paloma

@sabifo4
Copy link
Collaborator

sabifo4 commented Mar 18, 2024

Hi there,

Thanks for reporting this problem! You may need to download the dev branch of the PAML GitHub repository and recompile the programs if the currently executable files are not compatible with your Mac M1. You can follow the next steps:

  1. Change to the dev branch in the main GitHub repository (by default, you should see the branch is main).
  2. Press the green button with the word Code , then you should see that a zip file called paml-dev.zip starts being downloaded.
  3. From then onwards, you can follow the same instructions given in the installation procedures for UNIX/Linux in the PAML Wiki, which will compile all PAML programs.
  4. Once you have the new MCMCtree executable file, give it executable permissions and try to run a test analysis with this binary.

Please let us know if this approach works so that we can close this issue or suggest other alternatives :)

All the best,
S.

@sabifo4 sabifo4 added the good first issue Good for newcomers label Mar 18, 2024
@sabifo4
Copy link
Collaborator

sabifo4 commented Mar 28, 2024

I will now close this issue as I assume everything worked and the user forgot to post a reply here. If there are further issues, please reopen :)

@sabifo4 sabifo4 closed this as completed Mar 28, 2024
@sabifo4 sabifo4 added fixed Issue sorted MacOSX-issues Issues with the latest Mac OSX chips fixed-dev pending-merge-main and removed fixed Issue sorted labels Jun 23, 2024
@sabifo4 sabifo4 reopened this Jun 26, 2024
@DoveOfGlass
Copy link
Author

Hi everyone!!! :)

Sorry for the (super) late response! I had not have access to my computer in a long time. Thank you very very much S for the help :)

I tried what you suggested, and yes, compiling the paml-dev worked in my Mac M1.

Baseml worked straight away. I had a little bit problem with mcmctree (Mac is very picky sometimes XD). The classic: mcmctree was not finding baseml.

Just in case there are more Mac users having the same problem: what worked for me was exporting the path for paml-dev and BASEML to my .bashprofile, applying the changes and running mcmctree from the main user. Now everything is running smoothly!

I hope that this is helpful for anyone :)))

All the best!
Paloma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-dev good first issue Good for newcomers MacOSX-issues Issues with the latest Mac OSX chips pending-merge-main
Projects
None yet
Development

No branches or pull requests

2 participants