Diamond error with humann3

I install the Humann3 and tried to run it and then came across with an error for diamond.

CRITICAL ERROR: Can not call software version for diamond

Then I went and download the diamond version 0.9.36 and tried to run it gives this error again. I downgraded to 0.9.24 version, Then I get an error to update to 0.9.36 version.

When I try to get version as diamond --version. I get an error: Illegal instruction (core dumped).

None of the suggestions on the forum solved my problem.

Could you please help with that?
Thank you.