Using openMP in FORTRAN?

Use this forum to discuss the book: Using OpenMP - Portable Shared Memory Parallel Programming, by Barbara Chapman, Gabriele Jost and Ruud van der Pas Read the for book info and to download the examples. Post your feedback about the book and examples to this forum
Forum rules
The OpenMP Forums are now closed to new posts. Please visit Stack Overflow if you are in need of help:

Using openMP in FORTRAN?

Post by parkerchuks »

Here is the general layout of what I'm doing: I am doing an optimization problem where I'm running parallel monte carlo calculations which should produce N (the number of nodes) double precision numbers. I then need to pass all those to the master thread and determine the lowest one and then restart the whole process with the data produced with that thread until exit conditions are met. Can someone help me out with the psuedo code with particular emphasis on the !$OMP commands I need to use for this. Thanks!


Re: Using openMP in FORTRAN?

Post by imediaconverter »

any one using openMP in Delphi?

Posts: 28
Joined: Wed Oct 31, 2012 2:39 am

Re: Using openMP in FORTRAN?

Post by Oldboy »

imediaconverter wrote:any one using openMP in Delphi?
Yet I have not seen any OpenMP for Free Pascal and Delphi but you have one alternative. You can see a comparison here: ... mandelbrot
OpenMP for fortran and C/C++ is more effective
Just mandelbrot is tricky as the output file must be stored in a better way (like some kind of image)
Take a look at John Burkardt's Home Page!