Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

6004CEM Week 3 Labs

This repository contains a set of lab tasks related to OpenMP programming in C++. OpenMP is a library for parallel programming in C, C++ and Fortran. The tasks are designed to help you learn and understand the basics of OpenMP programming.

Getting Started

These instructions will get you a copy of the project up and running on hamarabi.

Installing

  • Clone the repository to hamarabi.
  • Navigate to the directory containing the repository using the terminal.

Tasks

The repository contains the following lab tasks:

  1. Parallel Nested Loops
  2. Static Scheduling
  3. Guided Scheduling
  4. Dynamic Scheduling
  5. Critical Section

Running the Tasks

To run the tests, simply execute this command:

g++ -fopenmp filename.cpp -o outputfile.o && ./outputfile.o

Replace "filename.cpp" with the name of the file you want to compile and "outputfile" with the desired name for the executable file.

Contributing

Contributions are welcome! If you would like to contribute, please fork the repository, make your changes and submit a pull request.

Authors

  • Dr. Norlaily Yaacob
  • Boyan Yordanov