Closed rsparks3 closed 6 months ago
From the error message:
(have 'arm64', need 'x86_64'))
Looks like you're running an Intel x64 installation of MATLAB. In that case, you need to download/use our x64 package instead.
To check, try running this on MATLAB:
archstr = computer('arch')
Per MATLAB's help, it should return one of these:
'maci64' - 64-bit macOS platform 'maca64' - 64-bit macOS platform, Apple silicon
If it returns maci64
, you have a x64 MATLAB install, running through Rosetta. As a reminder:
Native Apple silicon MATLAB is available for MATLAB R2023b and up.
If your MATLAB is indeed R2023b and up, try reinstalling MATLAB, ensuring the ARM/Apple Silicon version of the installation is used.
I think I have installed opendss properly as I can run opendsscmd in terminal and it will allow me to run DSS commands.
We don't use or require opendsscmd are all. Currently, I personally don't recommend using opendsscmd outside of Windows since EPRI doesn't support it and there are many known issues on Linux/macOS.
Installing the apple silicon version of matlab worked great! Thank you so much for your help. I'll also get rid of opendsscmd, I had previously installed it thinking it was required for this.
Hello! I am trying to run the 13Bus example on MacOS (arm64), and I am getting an error. I have the folder containing +DSS_MATLAB added to MATLAB path, and then when I run examples/13Bus/run.m, I get the following error:
I tried downloading dss_capi v0.14.5 and using the .dylib files from that, but I get the exact same error. I think I have installed opendss properly as I can run
opendsscmd
in terminal and it will allow me to run DSS commands.Has anyone seen this error or can point me in the right direction? Thanks a bunch.