Hi
I use "SAVE" in Fortran-Modules as a "global" statement:
MODULE MYMODULE PARAMETER (LNG=21) REAL, dimension (1000 , LNG) :: NIEDZRY REAL, dimension (1000 , LNG) :: NIEDZRX save ...
Does anybody know, whether the position of "SAVE" is important? Is the above code equivalent to this one:
MODULE MYMODULE save PARAMETER (LNG=21) REAL, dimension (1000 , LNG) :: NIEDZRY REAL, dimension (1000 , LNG) :: NIEDZRX ...
I ask this question because I face some strange and very sporadic crashes in my program. These crashes occur in connection with these module-variables.
Benedikt
>ifort /logo Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 15.0.3.208 Build 20150407 Copyright (C) 1985-2015 Intel Corporation. All rights reserved.