Skip to content

Latest commit

 

History

History

fibonacci

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Calculating Fibonacci numbers in parallel

Fibonacci numbers are a sequence of integers defined by the recurrence relation Fn = Fn-1 + Fn-2 with the initial values F0=0, F1=1.

The code fibonacci.cpp or fibonacci.F90 contains (a very bad!!) recursive algorithm for calculating a Fibonacci number n. Parallelize the code with OpenMP tasks.