Supported Operating System
- Ubuntu 18.04, 20.04
Supported Compiler
- g++-7
- g++-9
Required Software
- Anaconda
git clone [email protected]:darglein/ADOP.git
cd ADOP
git submodule update --init --recursive --jobs 0
cd ADOP
./create_environment.sh
- We need a source build because the packaged pytorch was build using the old C++ ABI.
cd ADOP
./install_pytorch.sh
conda activate adop
git clone [email protected]:darglein/ADOP.git
cd ADOP
git submodule update --init --recursive --jobs 0
# 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
- 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