hello_openmp, a C++ code which uses the OpenMP application program interface within a simple "Hello, world!" program.
This program is so trivial that there is no point in checking its parallel performance. What it is useful for is checking that the compiler works properly and that the OpenMP environment is set up correctly.
The program prints "Hello" from a nonparallel region, and then from a parallel region. The number of "Hello's" produced is an indication of how many threads of execution have been set up.
The information on this web page is distributed under the MIT license.
hello_openmp is available in a C version and a C++ version and a Fortran90 version.
openmp_test, a C++ code which uses the OpenMP application program interface for parallel computations in a shared memory environment.