-
Notifications
You must be signed in to change notification settings - Fork 28
0. Building
For windows, we recommend to use the latest binary available on the : https://github.com/scanberg/viamd/releases/
For Linux, we recommend you to build VIAMD on your machine following the procedure below.
(Make sure the fetch the submodules as well)
git clone --recurse-submodules https://github.com/scanberg/viamd.git
- libx11-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libgtk-3-dev (recommended for ubuntu, use Zenity for kubuntu)
- pkgconf
- libhdf5-serial-dev (handling of hdf5 file for VeloxChem)
Example for Ubuntu:
sudo apt-get install libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libgtk-3-dev pkgconf libhdf5-serial-dev
- mesa*
- libXrandr*
- libXext*
- libX11*
- libXi*
- libstdc++-static
- hdf5-devel (handling of hdf5 file for VeloxChem)
Example for CentOS:
sudo yum libXrandr* libXext* libX11* libXi* mesa* libstdc++-static hdf5-devel
https://cmake.org/ (Example using terminal and default build configuration for system)
cd viamd
mkdir build
cd build
cmake ..
cmake --build .
cd bin
./viamd
git pull --recurse-submodules
Repeat step 4 to compile!
MacOs is not actively tested.
(Make sure the fetch the submodules as well)
git clone --recurse-submodules https://github.com/scanberg/viamd.git
For intel based MacOS, you will need to install the following libraries by using for instance the brew package manager.
brew install libx11
brew install libxrandr
brew install libxinerama
brew install libxcursor
brew install gtk+3
brew install pkg-config
brew install pkgconf
brew install hdf5
brew install cmake
mkdir build
cd build
cmake ..
cmake --build .
cd bin
./viamd
git pull --recurse-submodules
Repeat step 4 to compile!