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 / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui