I'm developing a scientific code, so of course speed is of the essence. Now because of that portability is not really an issue and so I know how many openmp threads I will have available already when compiling the program. Can I use this information to perform any additional optimization? If yes, how do I do so?
Since it was pointed out that this question is very broad. I want to reduce it a bit to automatic, i.e. compiler optimization. So setting compiler flags or similar things.
Cheers
-A