GPU compilation error

Hi Stan Community!

I successfully used cmdstan-2.30.1 to compile a Stan model for use with GPU using OpenCL. However, trying to do so for another model resulted in multiple errors I am not sure how to handle, all seem to be related to the stan_math library. My complication call is this:

make STAN_OPENCL=TRUE STAN_THREADS=TRUE FULL/PATH/TO/MODEL
and I have also tried:
make STAN_OPENCL=TRUE OPENCL_DEVICE_ID=0 STAN_THREADS=TRUE FULL/PATH/TO/MODEL

As I am unable to copy the terminal output from the remote node I am working on, I share a screenshot that I hope will be helpful.

The specific model I am trying to compile is a model that uses wiener_lpdf().

If you have any clue what might be causing this, I would love to get your help with this.

Many thanks,
Roey

@rok_cesnovar

1 Like