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?

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya