Porting from power station(4) to intel fortran compiler(11/2003) -


Need to take the necessary care when porting the FORTRAN CODE from the Fortran Compiler (2003)?

All the variables in the power station which I have seen as global variables (even as local variables ). Where they have different opportunities for local and global level in Intel Fortune (2003) then I need to create all the local variables for the Global World. In 2003, in 2003, all options of making local variables global (by virtue) ) is. Because in my code the ruins of variables, instead of specifying all the local variables in the global (in the normal block), can someone recommend a good solution for it?

In addition to that, would I have to handle any other issues while codeing up to Intel Fortran from PowerStation compiler (11/2003)?

I do not know those two compilers in particular, but it would be very strange if you have all your The variable has to be kept in common blocks. What evidence is that all the variables are global? The potential problem with local variables in subprograms (sub-frequents and functions) with old compilers versus new compiler is whether the value of a variable remains in the invocation of the subprogram. Fortran standard only guarantees this behavior if the variable is declared with the "Save" feature, some older compilers have made all the variables continuously (static memory), whether "save" was used or not. This bug can cause old programs to be kept in the new compiler, if the programmer has left "Save" many new compilers provide a compiling option to stabilize all the variables (eg, with the current Intel Fortran compiler / QWeave) or you can add "subvate" to each subprogram - "save" with any variable will maintain all the variables


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -