[Omp] Problems with optimisation

Yuan Lin Yuan.Lin at Sun.COM
Tue Jan 2 13:21:19 PST 2007


Have you tried -xopenmp=noopt?

If you think it is a compiler bug, we need to fix it. Do you mind
sending me (not the alias) the details of the problem, hopefully with
source code and makefile. It would be better if we can reproduce the
problem in house.

Thanks.


-- Yuan


Håkan Lane wrote On 01/02/07 12:47,:
> I get the following message when compiling with the f90 compiler and the -openmp option:
> 
> f90: Warning: Specify a supported level of optimization when using -xopenmp, -xopenmp will not set an optimization level in a future release. Optimization level changed to 3 to support -xopenmp.
> 
> I am suspecting that the automatic higher level of optimisation is bringing problems to my application. I am getting a nul pointer error even though the array is allocated in the calling routine. Is there any way to get around this problem? There is nothing unusual with the code, and it seems that it needs to run on a lower optimisation level. Thanks in advance.
> 
> Håkan Lane
> Ph. D. candidate, Chalmers University of Technology
> 



More information about the Omp mailing list