Copyright notes: The p4vasp is distributed under the General Public License version 2 (GPL2).
For more information and support visit www.p4vasp.at.
Binary distribution contains a single executable file. Place this file at a convenient location (e.g. Desktop) and add it to the system PATH. P4vasp is a portable application - it can be started from a usb drive.
For local installation run:
$ ./install-local.sh
For global installation run:
$ ./install.sh
install/install-ubuntu-dependencies.shuninstall.sh residing in the P4VASP_HOME directory. $ tar -xvzf p4vasp-x.x.x.tgz
$ cd p4vasp-x.x.x
$ make local
install/Configuration.mk $ make install
$ make bashrc
install/install-ubuntu-dependencies.sh $ sudo bash /usr/lib/p4vasp/uninstall.sh
$ tar -xvzf p4vasp-x.x.x.tgz
$ cd p4vasp-x.x.x
$ make config
$ make install
$ xcode-select --install
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install fltk:
$ brew install fltk
$ brew install python@2 pip gcc gtk+ pygtk —with-libglade && pip install pyopengl numpy
$ patch -p0 -i MacOS.patch
src and odpdom directory: $ cp Makefile.MacOS Makefile
$ cp odpdom/Makefile.MacOS odpdom/Makefile
$ cp src/Makefile.MacOS src/Makefile
$ make local && make && make install
~/p4vasp/binStart with: p4v
Look at the documentation in the doc/intro/intro.html
(or /usr/lib/p4vasp/doc/intro.html, when installed),
if you need some clues how to deal with the p4v GUI.
Some people prefer command-line tools and automatic scripts
to a graphical interface. For those, there are some simple
scripts in the utils directory (/usr/lib/p4vasp/utils).
They are also a good example for the p4vasp-API.
docker run --rm -d -v $HOME/.Xauthority:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix:0 -v $HOME/your-p4v-data-dir:/home/user/p4vdata garo/p4v
In case of a Can't open display: unix:0 error, run xhost +
P4vasp package embeds the odpdom library, that is available also as a separate project and a slightly modified version of the piddle library. Both odpdom and piddle are available under the LGPL License (see odpdom/COPYING).
This package as well may contain other packages (in ext directory) under various open-source licenses: fltk, sqlite and pysqlite. These packages are provided for convenience only to make the installation easier.
Content type
Image
Digest
Size
228.5 MB
Last updated
about 5 years ago
docker pull garo/p4vasp