-
Notifications
You must be signed in to change notification settings - Fork 248
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
linux/arm64/v8 Architecture images #425
Comments
@osallou any comments on this? Happy to help implement but its quite a large change. |
hi, Be also aware that some tools may not build on arm.... |
Hi @osallou hows the state of ARM looking? You probably know that Apple have stopped selling intel macs and my laptop is on the way out so its becoming critical for everyone at the Francis Crick that this is sorted. Is there a way I can get involved and help move it forward? |
Hi, |
Yes, the plan is to use some AWS infrastructure. |
Ok I think this is going to become a real issue very soon. So many people test their nextflow pipelines locally on macos using docker - on an M1 this is currently impossible. Is there any timeline at all for this, is it a funding issue or development issue etc? |
It's more a priority and time issue. If the nextflow community needs it, they are welcome to contribute. E.g. adding support to bioconda-utils etc ... |
Won t fix issue of arm based containers, need servers anyway |
Yes I am very happy to contribute if that will help and I am sure I can get a few others as well if you need man-power. @osallou are you saying that AWS provide your server infrastructure for free but that they currently don't allow you to spin up ARM instances? |
Aws will provide us compute resources among which we should have arm, but this is not yet the case |
OK is there a timeline for when AWS will provide these? |
I'd just like to second the urgent need for this - use of MacOS is incredibly common in the scientific community. If there's anything I can do to help please let me know. |
rebuilding everything for amr will take time anyway... but our main issue is to have an arm build server |
I don't know much biocontainers build infra, but docker build can target both arm and amd architecture irrespective of the host chipset via emulator. Would that not work for biocontainers building as well? |
Seems possible via buildx but on docker desktop only (windows/mac, and not free) We build with docker ce, on linux |
There are plenty choices nowadays to build containers such as podman, buildah, kaniko, etc but not sure about the multiarch support of these. I'll made some research about this. |
There's a nice post showing how to use Buildah to build and push a multi-arch container images. Also considering the changes in Docker license and the OSS nature of Biocontainers, think should consider moving away from Docker for container building. |
It has nothing to do with Docker. We are not building Containers here, we are building packages with conda. I think what we need is needed the following:
We have been working so far on the last item and a grant for the first three has not been granted in 2020. If anyone wants to help you are all very welcome. |
I see, out of curiosity what's your build infra now? why something like GitHub action does not fit your needs? |
We can use whatever public CI system that is available. But it needs to support the correct (point 3 above) ARM architecture, ideally RISC as well - and all of that in a substantial amount. Xref: |
All of that said, I would like to manage expectations here ... this is nothing that we can do in a few weeks. (We are already trying this for a few years). And there are larger discussions to be taken in the overall scientific community.
There are good reasons we want ARM/RISC containers and large ARM HP clusters is one of them. |
On mac, i think docker uses a microvm in fact, like on windows (but not 100% sure) |
And even for non conda packages, other ones needs to be compiled on arm, which may not work for all tools, on a base distro arm compatible too with all their dependencies. Building a tool made for x86 is not fully transparent for all tools |
So, think we are discussing two topics here:
|
Thanks for everyones input! its great to get some dialogue going around this. @pditommaso I will do some testing around this running nf-core pipelines in test mode on an M1 mac this week and get back you all. |
We have been doing some testing and it appears Docker Desktop has been upgraded as with the latest version the biocontainer images seem to run by default on nf-core pipelines without any extra config. We need to test some more pipelines but this is very promising! |
@delagoya Following up on this post Nextflow Summit. Thoughts on getting together a hackathon for a day or two to get started on the effort? |
I would be interested in participating in this |
@emiller88 absolutely! I need to get over the next few weeks of conferences, so earliest I will be coordinating activities is mid-December |
Hi,
We are starting to be issued with M1 macs at our institution and we are getting docker errors like:
I guess this is because either the program is not available as an arm compiled executable, or that biocontainers doesn't build against arm as part of its build process.
Could anyone comment on this?
The text was updated successfully, but these errors were encountered: