inab / WfExS-backend

Workflow Execution Service Backend
Apache License 2.0
16 stars 6 forks source link

Consider supporting other processor architectures through multiarch/qemu-user-static #35

Closed jmfernandez closed 1 year ago

jmfernandez commented 1 year ago

Project https://github.com/multiarch/qemu-user-static offers a somewhat portable way to use containers which were built for other processor architectures. A clever usage of this development could extend the usability and lifespan of x86_64 containers in arm64 HPC environments, for instance.

jmfernandez commented 1 year ago

Installer were generalized since commit 4574603e309fbd14737afff9200fed5ce783ff6d, so the installation of apptainer and gocryptfs in other processor architectures like arm64 works. A successful proof of concept in a Raspberry PI was achieved with the cosifer workflow, whose only container is available only for amd64. Last, commits bd23120441cc11bbd03d73f14f9c0f43c993d750 and 732e267cbcf34868378b6f9201fc7aa1d4bd3e8c propagate the metadata about the containers processor architecture and operating system to the internal data structures and generated RO-Crates, so they are now properly gathered (instead of assuming they are the same as the host one)