Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 Discussions

-save option or not in OpenMP application

yunpeng2000
Beginner
543 Views
Hi,

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?

Regards,
yunpeng2000
0 Kudos
1 Reply
TimP
Honored Contributor III
543 Views
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.
0 Kudos
Reply