amjad ali wrote: > Hi, all, > > I am parallelizing a serial-fortran77 code having .f source files. I am > planning to save the fortran source file as .f90 instead of .f files. > Then I would use the mpif90 compiler. The fortran77 constructs in the > code are understood by mpif90 compiler (i feel so).
You're feelings are correct. F90 is a superset of F77, so any correct F77 code is also correct F90 code. > > Will there be any performance loss (or gain) in compiling the fortran77 > code with mpif90 (where the code will be containing some fortran90 > constructs as well)? Any opinion? I doubt it. Most modern Fortran compilers do F77 and F90 (ifort and gfortran for example), so the same optimization logic is being used. > > An advantage with mpif90 is that I can use ALLOCATABLE arrays for some > basic array variables; saving memory. -- Prentice _______________________________________________ Beowulf mailing list, [email protected] sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
