OpenMP compiler settings

OpenMP compiler settings

I have a program that produces different results when compiled with /Qopenmp, even with no OpenMP directives in the source code.  I have already fixed a couple of variables that were not set before they were used and an array that was not declared the right size, but still have differences in some models.  These models may not be stable, but I'm trying to rule out any other complier settings that could change the results.  The help tells me that the OpenMP option also sets the automatic option.  Are there any other compiler settings that are changed by /Qopenmp?

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

The /automatic option is the most likely cause of differences, as this uses stack-allocation instead of static allocation.  If you have uninitialized variables, this will change the program's behavior. There really aren't any other effects.

Steve - Intel Developer Support

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!