Hi Timothée,

Timothee Mathieu <[email protected]> writes:

> I am not sure if I understand everything about AVX, I tried to tune
> the compilation to CPU without AVX with
> https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-architecture/
> in order to get reproducible results, but it did not work, maybe
> because only a few of the dependency packages are tunable. Is there a
> way to force everything to use AVX and not AVX-512? I understand that
> AVX-512 is meant to be faster but I think in my case before being
> faster I want to see if it is possible to be reproducible.

As the article above suggests, packages in Guix are in general built for
the “baseline” x86_64 instruction set (so without AVX-512 extensions).

Sometimes that requires small modifications to the package’s build
system because some of them explicitly pass flags like ‘-march=native’,
which ends up producing code for whatever extensions the build machine
supports rather than for the baseline instruction set.

It may be that you need to tweak your mujoco package along these lines?

HTH,
Ludo’.

Reply via email to