uDeviceX requires libraries and command line tools. In the following the library are installed in $HOME/prefix and command line tools are in $HOME/bin.

1. Install necessary libraries

1.1. libconfig

Library for parsing input configuration scripts

git clone https://github.com/hyperrealm/libconfig.git
cd libconfig
autoreconf
./configure --prefix=$HOME/prefix/libconfig --disable-cxx
make
make install

Also add the last line (export …​) to $HOME/.profile file.

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/prefix/libconfig/lib/pkgconfig
export PKG_CONFIG_PATH

1.2. atest

An tool to run regression tests

git clone https://gitlab.ethz.ch/mavt-cse/atest.git
cd atest
make install

1.3. bop

Library for dumping data in Bricks of Particles

git clone https://github.com/amlucas/bop.git
cd bop
./configure --prefix $HOME/prefix/bop
make MPICXX=CC -j
make -s test
make install

1.4. off

Library for triangular mesh representation

git clone https://gitlab.ethz.ch/mavt-cse/off.git
cd off
make install

2. Install uDeviceX

The source code

git clone https://gitlab.ethz.ch/mavt-cse/uDeviceX.git
cd uDeviceX
make install PREFIX=$HOME
cd src
./configure
u.make -j PREFIX=$HOME

3. To modify the code

Tool that updates file dependencies used to compile uDeviceX

git clone https://gitlab.ethz.ch/mavt-cse/comma.git
cd comma
make; make install
make tests