Provides environment for Coverage Control problem.
System packages:
- CUDA nvcc
- Boost
- OpenMP
- gnuplot-noxPython packages: See environment.yml
Workspace directory: ${HOME}/CoverageControl_ws.
Add the following lines to your .bashrc file and then source ~/.bashrc or open a new terminal:
export COVERAGECONTROL_WS="${HOME}/CoverageControl_ws/"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${COVERAGECONTROL_WS}/install/lib/"May need to add the following as well if not using pip to install python package:
export PYTHONPATH="${PYTHONPATH}:${COVERAGECONTROL_WS}/install/lib/"Clone the repository:
mkdir -p ${COVERAGECONTROL_WS}/src
git clone [email protected]:AgarwalSaurav/CoverageControl.git ${COVERAGECONTROL_WS}/src/CoverageControlInstall C++ packages:
cd ${COVERAGECONTROL_WS}/src/CoverageControl/
bash setup.sh -iInstall python API (can be done within conda environment):
cd ${COVERAGECONTROL_WS}/src/CoverageControl
pip install .Go to CoverageControl/core/scripts/python and check if the file coverage.py works. It contains minimal examples.
When the backend C++ code updates:
cd ${COVERAGECONTROL_WS}/src/CoverageControl
git pull
bash setup.sh -u
pip install .pip uninstall pyCoverageControl
rm -r ${COVERAGECONTROL_WS}/