OpenCl fails

   5030   3   1
User Avatar
Member
21 posts
Joined: Aug. 2014
Offline
Hi all,

I eagerly installed H16 today and had see the following error pop up in an OpenCL Node just using Terrain: Mountain shelf tool. It´s a clean install.

OpenCL Exception: :19:10: fatal error: ‘interpolate.h’ file not found
#include “interpolate.h”
^

error: front end compiler failed build.clBuildProgram (-11)

Using the Help I noticed that OpenCL runs on the integrated Intel Onboard Card and not on my GTX1070. Playing with the environment variables led to more confusion on my side as more errors poped up after setting OCL Vendor or Device and starting from console.

The following is part of the Houdini System info.

Platform: windows-x86_64-cl19
Operating System: Windows 10 Pro x64
Number of Cores: 8
Physical Memory: 15.89 GB

OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 1070/PCIe/SSE2
OpenGL Version: 4.5.0 NVIDIA 378.66
OpenGL Shading Language: 4.50 NVIDIA
Detected: NVidia Consumer
8192 MB
378.66.0.0
OpenCL Platform Intel(R) OpenCL
Platform Vendor Intel(R) Corporation
Platform Version OpenCL 1.2
OpenCL Device Intel(R) HD Graphics 4000
OpenCL Type GPU
Device Version OpenCL 1.2

As I use the apprentice version I don´t know where to get help besides posting to the forum. If this is the wrong place to do so I appologize.

Any help would be fine as I was so eager to play around with the terrain tools coming from world machine.

THX in advance,

Schmauch
User Avatar
Member
4189 posts
Joined: June 2012
Offline
put this into the environment file:

HOUDINI_OCL_DEVICETYPE=“GPU”

ALSO:

HOUDINI_OCL_VENDOR=“NVIDIA Corporation”
Edited by anon_user_37409885 - Feb. 21, 2017 18:40:02
User Avatar
Member
21 posts
Joined: Aug. 2014
Offline
Thank you very much. That was the first time for me digging deeper…

Here is what did the job for me

- set the HOME variable in Windows environment variables
- after starting H16 the Houdini folder in HOME was populated
- still no houdini.env ( could be created by hand of course )
- started Houdini Commandline and used hconfig
- houdini.env was created
- entered the variables you suggested and it works

Perhaps it will help someone else,too

Thanks again..
User Avatar
Member
1 posts
Joined: April 2013
Offline
How to set environment variables?
Can you explain to me the manipulations?
thank you,
Luch
  • Quick Links