Installing ocland

ocland is in a beta development stage, so is not designed to production yet, but is in a good development stage to can test it.

You can find an installtion guide in the wiki page.

ocland software is hosted on GitHUB, so to can download it probably you want to install git. In Debian based Linux distributions you can type:

apt-get install git

And then you can download the software typing:

git clone

That will generate the ocland folder with the source code inside.

The main way to compile and install ocland is using CMake. To install the server (with the daemon to launch it at the operating system start), the client (with the ICD to act as an OpenCL platform), and the examples, the following commands can be used:

cd ocland
cmake .
make install

Testing ocland
Since you have installed the daemon for the server, you can launch it rebooting your computer, but alternatively you can launch it manually without rebooting, just type the following command:


Now open a new terminal in the bin subfolder and create the ocland servers file (The ocland file must not be created in the same folder where the server is running, or the server will enter in an infinite loop):

echo > ocland

And launch the test example:



2 Responses to Installing ocland

  1. ritesh says:

    while cloning the ocland i am getting following error:
    ubuntu@ritz-CTC4:~/Desktop> git clone git://
    Cloning into ocland…
    fatal: The remote end hung up unexpectedly

    Help me how to get over this error.. thanks

  2. jlcercos says:

    Hi ritesh!
    Sorry, but this tutorial is a little bit outdated… I will update it today!
    Anyway, you can clone it (version 0.2) with the commands:

    git clone 0.2
    mv 0.2 ocland

    And compile it using cmake. Probably you want to use ccmake (to can set the options):

    cd ocland
    ccmake .

    And finally compile and install it typing:

    make install

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s