Hello,
As the tittle suggests, my question is in regards to the possibility of building Vapor v3 without OSPRay. If I have read some external documentation correctly, OSPRay is an Intel product, which limits its applicability. I have tried to turn it off using ccmake and cmake skips its dependencies. However, autotools still looks for its components when building the app. Any suggestion on how to proceed for non-Intel HW would be welcomed. Thanks.
Hi,
No, OSPRay is not necessary for building OSPRay. If you set BUILD_OSP to off, Vapor will build without OSPRay. We do not support autotools, but it builds correctly without OSPRay using make, Xcode, and Visual Studio. Also, OSPRay is not limited to Intel CPUs, it will work with non-intel hardware.
Hi @StasJ,
I set the OSPRay variable to off using ccmake but one of the programs was still searching for the header. Not sure if you mean trying something like -DBUILD_OSP=off but will try the whole installation again. When I wrote non-Intel, it should probably have read non x86_64 architectures. OSPRay probably works with AMD (haven’t tried yet) but I didn’t find any version for AArch64 processors.
Thanks.
You have to make sure to configure CMake with BUILD_OSP=off. I recommend recreating the build from scratch and pass in that parameter from the beginning. OSPray headers are only referenced once in the entire code base and it is wrapped in an ifdef for BUILD_OSP so it is likely that something is not configured properly in CMake:
include/vapor/OSPRay.h +2
#ifdef BUILD_OSPRAY
#include <ospray/ospray_util.h>
#endif
I just deleted my OSPRay library directory and built vapor to check and it works as expected.