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

ARM compatibility #3

Open
ajlail98 opened this issue Jun 28, 2024 · 1 comment
Open

ARM compatibility #3

ajlail98 opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ajlail98
Copy link
Contributor

Currently the pipeline doesn't work with ARM, but it would be very helpful to be able to use this on Apple Silicon computers.

@nrminor nrminor self-assigned this Jul 10, 2024
@nrminor nrminor added the bug Something isn't working label Jul 10, 2024
@nrminor
Copy link
Owner

nrminor commented Jul 10, 2024

Quick update on this @ajlail98:

So far, I've had poor luck getting the containerized version of the pipeline working because of some limitations to the emulator Docker uses to "pretend" that an ARM architecture is actually an x86 architecture. However! I did figure out a successful workaround through through a pixi shell, which you can reproduce with the following steps when you have a chance.

  1. Make sure pixi is installed with x86 instructions with: PIXI_ARCH=x86_64 curl -fsSL https://pixi.sh/install.sh | bash
  2. In the same folder as the oneroof project files (most importantly, pyproject.toml), run pixi shell. This will install all of the project's dependencies and launch a subshell in your terminal where those dependencies will be available.
  3. In that subshell, you can use your nextflow run command as per usual.

I'll keep working on getting Docker to work, but this slightly hackier approach should work for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants