C++ Example compiles but does not run properly

I was able to build cpp/example, it runs, with ray service started

, but end up completely silent no output. Looks like none of the subsequent operation ever executes.

see the output and the code change side by side.

Never mind. The problem is gone with following operations: refreshed python environment using pyenv, installed ray from python folder, then recomplile. Now it works.

Root cause still unknown.


You could look at this link:C++ API: running example and cluster_mode_test segfaults on Mac OS

Let me know if you have any questions.