Difference between revisions of "Ubuntu Installation"
(Created page with "= GridPACK Binary Package Installation on Ubuntu Linux 16.04 LTS = GridPACK is relatively easy to install on an [https://www.ubuntu.com/ Ubuntu Linux] system. Working package...") |
|||
Line 1: | Line 1: | ||
− | |||
− | GridPACK is relatively easy to install on an [https://www.ubuntu.com/ Ubuntu Linux] system. Working packages for [https://www.gridpack.org/wiki/index.php/Software_Required_to_Build_GridPACK GridPACK prerequisites] are available from standard repositories. | + | GridPACK is relatively easy to install on an [https://www.ubuntu.com/ Ubuntu Linux] system. Working packages for [https://www.gridpack.org/wiki/index.php/Software_Required_to_Build_GridPACK GridPACK prerequisites] are available from standard repositories. If you do not need to modify the GridPACK source, e.g. just use the GridPACK example applications or build your own application, you can install the binary package from the [https://launchpad.net/~wperkins/+archive/ubuntu/gridpack-ppa GridPACK PPA]. |
− | + | Currently, only Ubuntu 16.04 is supported, which is the current long term support (LTS) release. If you are installing Ubuntu on a system or virtual machine, download the [https://www.ubuntu.com/download/desktop 16.04 LTS ''Desktop'' distribution] and follow the [https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0 installation instructions]. | |
+ | |||
+ | == GridPACK Installation on Ubuntu Linux 16.04 LTS == | ||
+ | |||
+ | Add the PPA to your system, and install GridPACK with | ||
<pre>sudo add-apt-repository ppa:wperkins/gridpack-ppa | <pre>sudo add-apt-repository ppa:wperkins/gridpack-ppa |
Revision as of 14:37, 5 January 2018
GridPACK is relatively easy to install on an Ubuntu Linux system. Working packages for GridPACK prerequisites are available from standard repositories. If you do not need to modify the GridPACK source, e.g. just use the GridPACK example applications or build your own application, you can install the binary package from the GridPACK PPA.
Currently, only Ubuntu 16.04 is supported, which is the current long term support (LTS) release. If you are installing Ubuntu on a system or virtual machine, download the 16.04 LTS Desktop distribution and follow the installation instructions.
GridPACK Installation on Ubuntu Linux 16.04 LTS
Add the PPA to your system, and install GridPACK with
sudo add-apt-repository ppa:wperkins/gridpack-ppa sudo apt-get update sudo apt-get install gridpack-dev
To use GridPACK, you will also need to install CMake:
sudo apt-get install cmake
Make sure your installation works by building and running one of the several example applications, e.g. power flow:
mkdir tmpbuild cd tmpbuild cmake /usr/share/gridpack/example/powerflow make mpiexec -np 4 ./powerflow.x
Also, you can run the installed powerflow application on this same input:
mpiexec -np 4 /usr/bin/pf.x
GridPACK can be removed with
sudo apt-get purge gridpack-dev sudo apt autoremove