I nstalled cmdstan-2.20.0 from tarball and modified make/local as in https://github.com/stan-dev/math/wiki/OpenCL-GPU-Routines. However make build gives me this message. Please advise.

g++ -std=c++1y -pthread -Wno-sign-compare -I stan/lib/stan_math/lib/opencl_1.2.8 -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.69.0 -I stan/lib/stan_math/lib/sundials_4.1.0/include -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DSTAN_OPENCL -DOPENCL_DEVICE_ID= -DOPENCL_PLATFORM_ID= -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -D__CL_ENABLE_EXCEPTIONS -Wno-ignored-attributes -c -o bin/cmdstan/stansummary.o src/cmdstan/stansummary.cpp

In file included from stan/lib/stan_math/stan/math/prim/mat/fun/mdivide_left_tri.hpp:10:0,

from stan/lib/stan_math/stan/math/prim/mat/fun/mdivide_left_tri_low.hpp:6,

from stan/lib/stan_math/stan/math/prim/mat/fun/chol2inv.hpp:7,

from stan/lib/stan_math/stan/math/prim/mat.hpp:68,

from stan/src/stan/mcmc/chains.hpp:5,

from src/cmdstan/stansummary.cpp:5:

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp: In constructor ‘stan::math::opencl_context_base::opencl_context_base()’:

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp:104:30: error: expected primary-expression before ‘>=’ token

if (OPENCL_PLATFORM_ID >= platforms_.size()) {

^~

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp:108:48: error: expected primary-expression before ‘]’ token

platform_ = platforms_[OPENCL_PLATFORM_ID];

^

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp:115:28: error: expected primary-expression before ‘>=’ token

if (OPENCL_DEVICE_ID >= devices_.size()) {

^~

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp:119:42: error: expected primary-expression before ‘]’ token

device_ = devices_[OPENCL_DEVICE_ID];

^

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp: In member function ‘std::__cxx11::string stan::math::opencl_context::description() const’:

stan/lib/stan_math/stan/math/opencl/opencl_context.hpp:227:48: error: expected primary-expression before ‘<<’ token

msg << "Platform ID: " << OPENCL_DEVICE_ID << “\n”;