Supported Operating System
- Ubuntu 18.04, 20.04
Supported Compiler
- g++-7
- g++-9
Required Software
- Anaconda
Basic Setup
git clone [email protected]:darglein/ADOP.git
cd ADOP
git submodule update --init --recursive --jobs 0
If you want the adop_viewer
to work:
sudo apt install xorg-dev
cd ADOP
./create_environment.sh
cd ADOP
./install_pytorch_precompiled.sh
conda activate adop
# Set this to either g++-7 or 9
export CC=gcc-9
export CXX=g++-9
export CUDAHOSTCXX=g++-9
mkdir build
cd build
export CONDA=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
cmake -DCMAKE_PREFIX_PATH="${CONDA}/lib/python3.9/site-packages/torch/;${CONDA}" ..
make -j10
- download supplemental data as seen in root directory README.md
conda activate adop
export CONDA=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA/lib
./build/bin/adop_viewer --scene_dir scenes/boat
- Install Steam and SteamVR
- Add openvr to the adop environment
conda activate adop
conda install -y -c schrodinger openvr
- Compile ADOP again
- On remote servers without Xorg we recommend the headless build.
- Add the following flag to the
cmake
command of ADOP: -DADOP_HEADLESS=ON
- Note,
adop_viewer
can not be build headless.
libNVxxxx.so
not found when launching an executable- Add the
lib/
directory of the conda environment toLD_LIBRARY_PATH
- Example:
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:~/anaconda3/envs/adop/lib
- Add the