Repository navigation
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 ..
To configure and enable the handling of VeloxChem files:
cd viamd
mkdir build
cd build
cmake -DVIAMD_ENABLE_VELOXCHEM=ON -DMD_ENABLE_VLX=ON ..
cmake --build .
cd bin
./viamd
git pull --recurse-submodules
Repeat step 4 to compile!
For macOS, we recommend using the latest binary available on the release page.
NOTE: To be able to run this, you will have to do some magic in a terminal to be able to run the app bundle since we do not have code signing.
xattr -dr com.apple.quarantine viamd.app
If you want to build on Mac, follow the procedure below:
(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!