Skip to content

Instantly share code, notes, and snippets.

@kellydavid
Created March 28, 2017 23:07
Show Gist options
  • Save kellydavid/5bfa360ab054f47782d4b72c21c6856d to your computer and use it in GitHub Desktop.
Save kellydavid/5bfa360ab054f47782d4b72c21c6856d to your computer and use it in GitHub Desktop.
Building gridlab-d on ubuntu

Building gridlab-d on ubuntu (tested on 16.04.2 LTS)

  1. First install the following packages using apt-get :
  • autoconf
  • libtool
  • libxerces-c-dev
  • libcppunit-dev
  • libncurses5-dev
  • doxygen
  1. Then run autoreconf -isf

  2. Modify the configure script so that gcc flags are set to use optimisation level O3 rather than O2.

    sed -i 's/O2/O3/g' configure

  3. Run ./configure prefix=$PWD/install64 # passing the prefix parameter is optional

  4. make

  5. make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment