Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.08 KB

Fibonacci prime

Codacy Badge license

Description

This project was developed during a Distributed Systems discipline. The project was made to run in Clusters. The purpose is to find the numbers in the Fibonacci sequence and check if they are prime numbers.

Dependencies

  • OpenMPI - Message Passing Interface
  • GMP - GNU Multiple-Precision Library

How to compile

  $ mpicc -I/opt/local/include -L/opt/local/lib -lgmp main.c -o main

How to run

  $ mpirun -np N ./main

Where 'N' is the number of threads.

Results

In this study, the application was executed the first time with one thread and the second time with four threads.

Serial x Parallel