-save option or not in OpenMP application

-save option or not in OpenMP application


I am doing a fortran90 OpenMP application in SGI Altix system with ifort 8.1. According to Intel OpenMP application development manual, local variables must be put in stack and do not use -save option. So when I compile it without -save option, the result is always zero. But if I compile it with -save option, I always have core dump problem.

What is the problem?


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You can't have saved local variables in parallel regions. If your code does not work in serial execution according to Fortran standard, you must fix that before attempting to parallelize.

Leave a Comment

Please sign in to add a comment. Not a member? Join today