Posted on June 17, 2009 by kurniawano
We can set either in the code or through environment variable. If we use environtment variable, we simply type
$ setenv OMP_NUM_THREADS 6
where 6 is the number of cpus we want to use.
Filed under: Uncategorized | Tagged: c/c++, parallel | Leave a Comment »
Posted on January 14, 2009 by kurniawano
I am developing C/C++ codes in Linux, and luckily Eclipse has a plugin called CDT to be used for C/C++ language. To install Eclipse and CDT plugin in Kubuntu/Ubuntu, just type:
sudo apt-get install eclipse eclipse-cdt
Filed under: Uncategorized | Tagged: c/c++, kubuntu, linux, programming, ubuntu | Leave a Comment »