Skip to content

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