I’m trying to compile a Fortran source file with optimization and saving local variables. However, it is likely that the file isn’t compiled correctly.
When I use a GNU g77 compiler, the compilation went well. In g77, “-fno-automatic” and “-O” options were used. While in pgf77, I used “-Msave” and “-fast” options. When I executed a compiled executable file, it was aborted.
Are “-fno-automatic” and “-O” options in GNU equivalent to “-Msave” and “-fast” in PGI, respectively?
I’d appreciate any suggestions and comments.