-
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
The same problem still exists in the Openseespymac version. Is it possible to solve the issue in macs? #128
Comments
Is it a mac issue or OpenSeesPy issue? |
I guess Mac version of OpenSeesPy has not been compiled recently. The bug has been fixed only recently in the latest version. In Linux and Windows OS, while using latest version of OpenSeesPy, the command is working fine.
|
I see. I am planning to update the mac version for arm64 processors, but not sure how many users are still using intel |
Since people started finding other workarounds such as use of Rosetta terminal, I think the update would still be super useful! |
Openseespy currently doesn't work with mac version for arm64 processors. Hence, as i mac user, i use Rosetta terminal which provides the ability to use intel-based applications on new Macs with arm64 processors. It would be great if you update the Mac version for arm64 processors. |
This can be solved with a workaround because Miniconda also creates x86 environments.
conda create -n my_x86_env -y
conda install python=3.10
conda install numpy pip install also the openseespy for mac Once this environment is active, whatever you pip install will always be pulled from x86 architecture. The rest is easier for Anaconda users. Once this environment is created, it will automatically appear in the "Environments" list of the Anaconda. Click that environment, then go to Home of Anaconda and install Spyder over that environment. The rest is business as usual. I think the same can be done also in PyCharm by using this new environment, but I have not tried that one. x86 version of course runs slower, by the way. P.S.: A part of my solution was taken from here: |
@ihsanenginbal thanks for the information. Using a conda environment finds solutions to using openseespy in macs. The problem here actually is that the latest "openseespymac" version has not been updated since Jul 22, 2022. Hence, new changes in openseespy commands that were implemented after this date, cannot be used and cause problems. |
Hello,the openseesmac on M1 has been solved? |
hi i saw your solution before but i can not apply can you explain more with photo |
Hi! I definitively see it as a worthy endeavor. The base use for OpenSeesPy using Intel is probably small by now, given that the M1 processor was launched in 2020. Moreover, even through Rosetta, OpenSeesPy runs pretty fast on the M1/M2/M3 Macs that I think they deserve their native version. |
Thank you for posting that solution, it was really useful. |
@zhuminjie Is there any progress on this? |
Same question as @serkanhasanoglu. I've performed some testing running pushover analyses of 3D frames and the Arm versions are quite fast. An M3 Pro processor runs as fast as a Ryzen 9 7950X even with the emulation overload, so it is possible that it may beat it if run natively. |
The same problem still exists in the Openseespymac version. Is it possible to solve the issue in macs?
Originally posted by @serkanhasanoglu in #121 (comment)
The text was updated successfully, but these errors were encountered: