Skip to content

Comparision between serial and parallel monte carlo integration using openMP

License

Notifications You must be signed in to change notification settings

drito256/monte_carlo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

monte_carlo

Comparison between serial and parallel monte carlo integration using openMP

To compile serial code use:

gcc monte_carlo_serial.c -lm -o serial

And run it with:

./serial [number_of_points] 

where number_of_points is the number of points used in integration of a function

To compile parallel code use:

gcc monte_carlo_parallel.c -lm -o -fopenmp parallel 

And run it with:

./parallel [number_of_points]

About

Comparision between serial and parallel monte carlo integration using openMP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages