Solcore on Mac OS X

Solcore has been heavily tested under Mac OS X, so there should be no problems. However, using NGSPICE requires some details, as shown below.

Installing NGSpice on MacOSX

  • Download NGSpice from
  • Installing the binary package on mac os X will result in the executable residing in /Applications/ngspice/bin/ngspice
  • You an set the path using ``` `>>>import solcore.config_tools as config
  • If NG spice throws an error  `dyld: Library not loaded: /opt/X11/lib/libXaw.7.dylib `* then you will likely need to install xquartz. It can be downloaded from from
    • run the installer and restart the computer.
  • You can test the NGSpice installation using