Request to build an image in linux/arm64 splishsplash environment
Hope this messages finds you well.
Could anyone help us to build an image with linux/arm64 environment that can successfully build splishsplash?
I have to use a linux/arm64 cluster to run script by a environment based on splishsplash. But I don't have sudoer permission in the cluster. I tried to use docker buildx to build linux/arm64 environment but it doesn't work in the cluster.
Best wishes, Binglun
As far as I'm aware, the only problem with building on ARM devices should be the AVX instructions that are used to accelerate the simulation. These can be turned off with a CMAKE flag -DUSE_AVX=Off. Can you share a bit more detail on the problem if that doesn't help?
As far as I'm aware, the only problem with building on ARM devices should be the AVX instructions that are used to accelerate the simulation. These can be turned off with a CMAKE flag
-DUSE_AVX=Off. Can you share a bit more detail on the problem if that doesn't help?
Thank you for your reply. The issues are from mainly 2 parts: missing wheels. & some source code is not support the arm64.
After I installed the missing wheels and remove the code that is not support for arm64, the simulation speed is very slow 5x 6x.
In my project, I actually use RL training in the simulator environment. Do you know how can I set to speed up the simulation?
I attached my solution for your convenience and other users:
- environment, I build container image .sif by docker buildx with:
- environment parts:
ignore the code in
A. CMake/avx.cmake
B. Full of SPlisHSPlasH/Utilities/AVX_math.h
C. 3 parts in extern/eigen/CMakeLists.txt