Skip to content

This is my first approach to an openmp version of the code. Still has to be crosschecked against purely serial version.#1

Open
annube wants to merge 2 commits into
urbach:masterfrom
annube:master
Open

This is my first approach to an openmp version of the code. Still has to be crosschecked against purely serial version.#1
annube wants to merge 2 commits into
urbach:masterfrom
annube:master

Conversation

@annube

@annube annube commented May 3, 2012

Copy link
Copy Markdown

Most of the loops over all the grid points have been parallelised with openmp. There is a new command line variable for adjusting the number of threads openmp uses: "--omp_nthreads " . Furthermore OMP has to be defined to enable openmp instructions either via the -DOMP compiler option or a config.h (which doesnt exist so far).
Some statements only necessary for verbose output in the loops are compiled conditionally ( #ifdef DEBUG). I have included a cmake make-file into the commit that I use for development.

@urbach

urbach commented May 4, 2012

Copy link
Copy Markdown
Owner

could you provide a description/documentation of what you did and how to use it, please!

@annube

annube commented May 5, 2012

Copy link
Copy Markdown
Author

Ok. But where should I do this?? I could provide a file openmp.txt in
the source directory or something like this.

@urbach

urbach commented May 5, 2012

Copy link
Copy Markdown
Owner

hier, beim pull request. Schau mal da oben, da kannst Du dem pull request eine Beschreibung beifuegen...

… is defined. A warning will be displayed if OMP was not defined but the a value was given with the --omp_nthreads command line option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants