piti-diablotin / qAgate

Qt interface for agate: https://github.com/piti-diablotin/agate
GNU General Public License v3.0
6 stars 8 forks source link
abinit abinitio-simulations agate dft

Build Status Downloads DOI

qAgate

qAgate is the new Qt interface for agate. It includes all the features of Agate with a new user friendly look. It also includes sommes "external" tools to help some users with fast analysis.

Installation

First you need to install agate. Then you can choose to install qAgate with the following PPA for ubuntu or to compile it yourself. No matter how you installed agate, make sure to be up to date with both agate and qAgate while the API of agate is not fully finished.

Ubuntu

Personal Repository

The PPA contains package for all maintained Ubuntu distributions. Simply run

sudo add-apt-repository ppa:piti-diablotin/abiout
sudo apt update
sudo apt install libagate-dev qagate

and you are done ! Simply execute qAgate in a terminal.

From sources

First you need to install some dependancies (works for all maintained Ubuntu versions)

  sudo apt install libfreetype6-dev libboost-dev qtbase5-dev qt5-qmake libqt5opengl5-dev libssh-dev git
  # if Ubuntu <= 18.04 
  sudo apt install qt5-default

Note that you can install libagate-dev with its dependencies.

  sudo apt install libagate-dev

Then you clone this repository and compile

  git clone https://github.com/piti-diablotin/qAgate.git
  cd qAgate
  qmake qAgate.pro
  make
  sudo make install

That's it. You can now run it with qAgate

The qmake step can be replaced by qmake "PREFIX_AGATE=/usr/local" if agate is installed in /usr/local/.

MacOS

DMG

A .dmg file is now available in the release page Download the .dmg file, open it and drag-and-drop the app in you Applications folder or in your dock.

Homebrew

By Cask

Simply install the available cask with

brew install --cask qagate

qAgate will be available in your application launcher.

By Formulae

You can just install qAgate with brew with

  brew install qagate

The .app will be place in /usr/local/Cellar/qagate/X.X.X/bin You can then make a symlink to /Applications/ if you want.

For instance for version 1.1.1 ln -s /usr/local/Cellar/qagate/1.1.1/bin/qAgate.app /Applications/. The app will then appear in the launcher.

From sources

qAgate can be compiled with homebrew. Here is an example supposing agate has been compiled and installed in /usr/local following this HowTo

  brew install freetype git libssh qt
  git clone https://github.com/piti-diablotin/qAgate.git
  cd qAagate
  qmake
  make
  sudo make install

Tips: If agate, libssh or freetype are installed in a custom repository you can specify this directory with the environement variable PREFIX_AGATE PREFIX_SSH PREFIX_FREETYPE. You can set the installation prefix with the variable PREFIX