Nicolas_orleans
[H]ard DCOTM May 2016
- Joined
- Oct 7, 2012
- Messages
- 352
Running ocores on Ubuntu 12.04 and higher
1. Go to http://stanford.edu/~yutongz/ocores/
2. Download latest version of ocores (currently v20), for GPU - Open CL version and/or CPU
3. Open a terminal and go to directory where you saved the binary
4. Make the binary executable
For GPU
For CPU
5. Launch ocore, YOUR_TOKEN is the token you get following Q4.1 in below post
For CPU
For GPU
Special case of multiple GPUs on same computer: you can control each of them in a different terminal window. First run:
For dual GTX770, it should return something like:
Then, to run gpu 0 in the first terminal:
And to run gpu 1 on the second terminal (make sure to go to right directory):
1. Go to http://stanford.edu/~yutongz/ocores/
2. Download latest version of ocores (currently v20), for GPU - Open CL version and/or CPU
3. Open a terminal and go to directory where you saved the binary
4. Make the binary executable
For GPU
Code:
chmod +x ocore_601_OpenCL_v20
Code:
chmod +x ocore_601_CPU_v20
5. Launch ocore, YOUR_TOKEN is the token you get following Q4.1 in below post
For CPU
Code:
./ocore_601_CPU_v20 --token YOUR_TOKEN
Code:
./ocore_601_OpenCL_v20 --token YOUR_TOKEN
Special case of multiple GPUs on same computer: you can control each of them in a different terminal window. First run:
Code:
./ocore_601_OpenCL_v20 --devices
For dual GTX770, it should return something like:
Code:
Open CL compatible devices
name: GeForce GTX 770 | platformId: 0 deviceId: 0
name: GeForce GTX 770 | platformId: 0 deviceId: 1
Then, to run gpu 0 in the first terminal:
Code:
./ocore_601_OpenCL_v20 --platformId 0 --deviceId 0 --token YOUR_TOKEN
And to run gpu 1 on the second terminal (make sure to go to right directory):
Code:
./ocore_601_OpenCL_v20 --platformId 0 --deviceId 1 --token YOUR_TOKEN
Last edited: