Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

annube
Copy link

@annube annube commented May 3, 2012

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
Copy link
Owner

urbach commented May 4, 2012

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

@annube
Copy link
Author

annube commented May 5, 2012

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

@urbach
Copy link
Owner

urbach commented May 5, 2012

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