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

saving common variables, Fortran Compiler 9.0, VS2003 Standard, w/Vista

cfann61
Beginner
346 Views

After compiling in Win98, and transitioning to XP, I found that some of the subroutines needed a SAVE to keep common variables. I am now using Vista, and I believe more subroutines need the SAVE function. Should I put a SAVE in all subroutines or is there a global property I can set to do this for me?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
346 Views
Hmm - 9.0 is not supported on Vista and neither is VS2003. Nevertheless, our implementation always treats COMMON as SAVE. My guess is that you have not properly identified the cause of the problem you're seeing.
0 Kudos
Reply