An open API service indexing awesome lists of open source software.

https://github.com/aminul-islam-niloy/parallel-processing-using-mpi-cuda

Parallel Processing Lab using cpp (mpi,cuda)
https://github.com/aminul-islam-niloy/parallel-processing-using-mpi-cuda

Last synced: 3 months ago
JSON representation

Parallel Processing Lab using cpp (mpi,cuda)

Awesome Lists containing this project

README

        

# Parallel-Processing-Using-MPI-CUDA
Certainly! Here's a simple template for a README file for your Parallel Processing Lab:

# Parallel Processing Lab

## Table of Contents

1. [Matrix Multiplication](#matrix-multiplication)
2. [Word Count and Sorting](#word-count-and-sorting)
3. [Phonebook Search](#phonebook-search)
4. [Pattern Occurrence Count](#pattern-occurrence-count)

## Matrix Multiplication

### Using MPI

```bash
mpiexec -n ./matrix_multiplication_mpi


```

- ``: Number of MPI processes.
- ``, ``, ``, `

`: Matrix dimensions.

### Using CUDA

```bash
./matrix_multiplication_cuda


```

- ``, ``, ``, `

`: Matrix dimensions.

Output: Time taken for multiplication.

## Word Count and Sorting

### Using MPI

```bash
mpiexec -n ./word_count_mpi
```

- ``: Number of MPI processes.
- ``: Input file containing text.

### Using CUDA

```bash
./word_count_cuda
```

- ``: Input file containing text.

Output: Total time, top 10 occurrences.

## Phonebook Search

### Using MPI

```bash
mpiexec -n ./phonebook_search_mpi
```

- ``: Number of MPI processes.
- ``: Phonebook file.
- ``: Name to search for.

Output: Total time, matching names and contact numbers.

## Pattern Occurrence Count

### Using MPI

```bash
mpiexec -n ./pattern_occurrence_mpi
```

- ``: Number of MPI processes.
- ``: Input file containing text.
- ``: Pattern to search for.

### Using CUDA

```bash
./pattern_occurrence_cuda
```

- ``: Input file containing text.
- ``: Pattern to search for.