Search code examples
dynamic-linkingopenfoamopenvino

How to compile OpenVINO-Code in OpenFOAM?


I am currently using OpenVINO's inference engine for Deep Learning Inference in the field of Computational Fluid Dynamics. The CFD-software I am using is OpenFOAM, it does not support CMake, instead the user must use so called wmake.

In order to compile code for a Third Party software like OpenVINO I have to provide all required header files and libraries for the compilation. However I am not sure how to find out all those reqired by OpenVINO's inference engine.

Can somebody explain me how to find out the correct headers to include and libraries to link?

Thanks in advance!


Solution

  • To compile project with OpenVino you would need

    1. Includes: OV_LOCATION\deployment_tools\inference_engine\include
    2. Libraries: OV_LOCATION\deployment_tools\inference_engine\lib

    To run on CPU, from OV_LOCATION\deployment_tools\inference_engine\bin you would need: inference_engine, mkl_tiny_tbb, MKLDNNPlugin, tbb shared libraries.