Pages

Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Working with OpenMP

Here I will discuss the OpenMP and its usage in high performance computing using different languages.

Here are some links to learn and apply OpenMP.

OpenMP on Ubuntu (from medium.com)

OpenMP is the language or API that is used to communicate with different processors (or cores) in the same node (note that a node is a collection of number of processors). Any high performance computing use OpenMP because to use more than a processor for a single job, you need to use OpenMP.

Save this program in a file helloSerial.c and run.


{example program with serial running which include the time taken to complete}


Now, check this program helloParellel.c

{simple parellel program which include the time take to complete}

The parallel program is faster. Why?


Some frequently asked questions.

What is a processor?
What is a node?
What is a thread?
What is a core?
What is dual core in laptops?

Using Ubuntu Software Center in Windows 10 Ubuntu Bash Terminal

As we know, Windows 10 has optional update for Ubuntu Bash.
But, after installing, it may be efficient if software center is used.
To check if package is available, type:
software-center --version
To open from terminal
software-center
To display a package detail 
software-center <packagename>
To install from terminal
sudo apt-get install software-cente
(approximately, 600 MB of packages will be downloaded and may take few minutes to 10 minutes)

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...