-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cmake compiler error in example_kinetics.py #136
Comments
@mattpetrucci what's the minimal setup to reproduce the user's environment (as I'm nsetting new one up on a mac sequoia or linux) a link to the proper page on opencap side would be a good place to start. Thank you |
@aymanhab Good question, the expectation is that the instructions from the README for the repo (https://github.com/stanfordnmbl/opencap-processing) should work out of the box |
@mattpetrucci quick follow up:/update
|
@aymanhab The cluster is on Ubuntu 24.04 per the user. |
Thanks @mattpetrucci I don't have access to that linux version, so I'm trying the mac version now. Do you know if the opensimAD stack works in native arm64 environment or only on intel x86_64 on osx? |
@aymanhab It should work on arm64. |
On arm64 osx Sequoia, I can install OpenSim, run example.py successfully but running example_kinetics.py fails with the following compile time errors Not sure if there's an OpenSimAD on arm64 that's not picked up, or if no such build for OpenSimAD exists. |
@aymanhab I don't have a build for arm64. Would you like to help build one? Let me know if a call would be helpful. |
An arm64 build would be awesome, but if it's easier for now, might want to see if making an x86_64 conda environment works first (https://stackoverflow.com/questions/71515117/how-to-set-up-a-conda-osx-64-environment-on-arm-mac). I wonder if that's what folks on mac have been doing, since there's no arm64 build for opensimAD. |
Thanks @carmichaelong and @antoinefalisse I'll try x86_64 first and update the readme page with the status on mac, then try to build arm64 per @antoinefalisse but at least we set the expectations for users on mac osx with currently available tools. |
Update, even with x86_64 environment on Apple silicon, kinetics still fails since cmake which uses its own logic, defaults to arm64 build environment. So practically kinetics is broken on all recent macs. I'll document this before moving to solutions or workarounds. I realize we can force cmake to use x86_64 and will try that but would be good to document what we have as of now. |
The immediate issue with osx -x86_64 has been resolved in PR #138, documentation updated, the remaining items are in separate issues. so this issue can be closed AFAIK. |
Users are running into a cmake compiler error on Mac OS Sonoma as well as within a Linux.
https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=2385&t=19158&p=0&start=0&view=&sid=439a26f62161a6257d5ce058d21127d2
The text was updated successfully, but these errors were encountered: