Installing DSIM cloud CLI (mdc) on Mac OS

EmuGuru
EmuGuru Altair Community Member

I encountered an issue using DSim Cloud CLI on my Mac with an M3 processor. I found a workaround, and I'm creating this community note in case it helps others in the future.

The issue: After installing DSim Cloud CLI, I got the following error when invoking the "mdc" executable:

$ mdc --version

bash: /usr/local/bin/mdc: Bad CPU type in executable


It appears mdc on Mac is not natively compiled for ARM architecture. The solution was to run the following command to enable x86 binary translation with Rosetta:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

After this, the mdc command works normally for me.

Are there any plans to compile mdc natively for newer Mac processors? Thanks!

Tagged:

Best Answer

  • Shaun_Altair
    Shaun_Altair
    Altair Employee
    Answer ✓

    We have looked into building an osx-arm64 version of mdc, but are blocked on moving forward with that at this time. It is on our radar and when in the future it becomes feasible it will be done. For now the Rosetta workaround will remain as the method of using the DSim Cloud CLI on osx-arm64. We will update our System Requirements document with this note.

    https://help.metrics.ca/support/solutions/articles/154000158534-system-requirements

Answers

  • Shaun_Altair
    Shaun_Altair
    Altair Employee
    Answer ✓

    We have looked into building an osx-arm64 version of mdc, but are blocked on moving forward with that at this time. It is on our radar and when in the future it becomes feasible it will be done. For now the Rosetta workaround will remain as the method of using the DSim Cloud CLI on osx-arm64. We will update our System Requirements document with this note.

    https://help.metrics.ca/support/solutions/articles/154000158534-system-requirements