[Beowulf] f77 in f90
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Prentice Bisbal prentice at ias.eduFri Jun 26 07:09:03 PDT 2009
- Previous message: [Beowulf] f77 in f90
- Next message: [Beowulf] Re: f77 in f90
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Beowulf] f77 in f90
- Next message: [Beowulf] Re: f77 in f90
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
