Posts
Installation of OpenMPI
- Get link
- X
- Other Apps
Assignment No. 1 Name : Introduction to OpenMP Theory: What is OpenMP OpenMP(Open Multi-Processing/Open Massage Passing) is an API (application programming interface) that supports multi-platform shared memory multiprocessing programming in C , C++ , Fortran, on most processor architectures and operating systems, including Linux, Unix, AIX, Solaris, Mac OS X, and Microsoft Windows platforms. The OpenMP API consists of a set of (1) compiler directives, (2) library routines, and (3) environment variables that influence run-time behavior. OpenMP Parallelism Fork-join parallelism Master thread spawns a set of threads as needed. Parallel region • The parallel region is the basic parallel construct in OpenMP. • A parallel region defines a section of a program. • Program begins execution on a single thread (the master thread). • When the first parallel region is encountered, the master thread creates a team of threads (fork/j...