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

HMMER re-install on Mac M1 #283

Closed
yunso123 opened this issue Jul 7, 2022 · 4 comments
Closed

HMMER re-install on Mac M1 #283

yunso123 opened this issue Jul 7, 2022 · 4 comments

Comments

@yunso123
Copy link

yunso123 commented Jul 7, 2022

Hi,

I have been using HMMER that I installed with conda on my Mac M1 pro. Unfortunately, I had issues with conda, so I uninstalled and re-installed conda on Mac.

Since then, I am having problems to install HMMER again with conda and also from the source.
I get the following error message:

configure: Configuring HMMER3 for your system.
checking build system type... arm-apple-darwin21.5.0
checking host system type... arm-apple-darwin21.5.0
checking whether to compile using MPI... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking whether ln -s works... yes
checking for a sed that does not truncate output... /opt/homebrew/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether gcc can compile our Altivec/VMX code... no
checking whether gcc can compile our SSE code... no
configure: ::::::::::--- no vector instruction set ---::::::::::
configure: HMMER3 requires SSE or VMX vector instructions.
configure: Supported platforms are x86 (Intel/AMD) and PowerPC.
configure: error: No supported vectorization found for your machine.

Does anyone know what could the issues here?

Thanks a lot for you help.
Yunjeong

@npcarter
Copy link
Member

npcarter commented Jul 9, 2022 via email

@aspitaleri
Copy link

Hi, just following this thread. On M1 ARM Ventura type on terminal:

  1. arch -x86_64 ./configure --prefix=/usr/local/hmmer
  2. arch -x86_64 make
  3. arch -x86_64 make install

This will compile hmmer using Rosetta2.
Best

@horta
Copy link
Contributor

horta commented Feb 23, 2023

I've deployed Python wheels for HMMER binaries so you can use HMMER on Mac M1 (or Linux for that matter) like this:

pip install hmmer
hmmscan -h
hmmpress -h
# etc.

Or if you have pipx, you can even use HMMER without messing with yout environment:

pipx run --spec hmmer hmmpress -h
pipx run --spec hmmer hmmscan -h
# etc.

@npcarter , I'm happy to hand over the Python package name hmmer to you and help (if you wish) with deploying the next HMMER releases like I did.

@cryptogenomicon
Copy link
Member

Cool, thanks Danilo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants