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

Local variables to be saved/static

jayb
Beginner
305 Views

I am porting a legacy application to Intel Fortran.  On g77, it required the -no-automatic switch so that local variables would be saved/static, i.e., the values retained between invocations, rather than recursive.  I did some research and found the -save switch; I want to verify that this is what I need.

JayB

0 Kudos
1 Reply
Steven_L_Intel1
Employee
305 Views

Yes, that's correct.

0 Kudos
Reply