|
Fortran Compilers at UM/MCSR
Intel Compiler (10.1) on Sequoia.
Portland Group and MPICH Fortran compilers on mimosa.
The MPI-enabled, Portland Group Fortran 77 Compiler may be invoked by typing:
/usr/local/apps/pgi-7.2/linux86/7.2/bin/pgf77 my.f
/usr/local/apps/pgi-7.2/linux86/7.2/bin/pgf90 my.f
where 'my.f' is the user's program. If there are no compilation errors this creates an
executable file called a.out.
More compilers on mimosa.
Intel Fortran Compilers (7.1, 8.0,
9.0 and 9.1) on Redwood
Before you can use the Fortran compiler on redwood, you must first load the
appropriate Intel compiler module. Then, to compile:
ifort myfile.f if using the 8.0 or 9.0/9.1 compilers, OR
efc myfile.f if using the 7.1 compiler.
With Intel Fortran compilers, the invocation syntax is the same regardless of whether your source file is F77, F90, etc.
To run the compiled file, type ./a.out
g77 on willow.
To compile with g77, enter: g77 my.for, where 'my.for' is the user's Fortran
program. If there are no compilation errors this creates an executable file
called a.out. To execute the Fortran program, enter: ./a.out.
Sun's Forte f90 on willow.
Forte is an f90 Fortran Compiler. To activate Forte enter: f90
my.for, where
'my.for' is the user's Fortran program. If there are no compilation errors
this creates an executable file called 'a.out' . To execute the Fortran
program, enter: ./a.out.
MCSR's Fortran compilers and platforms are available for instructional or research use
for all students, faculty, and staff of Mississippi's eight public
universities. Users should decide which compiler is best suited for their
application. Compilers on SUN are for fast jobs with a quick turn around, while
compilers on sweetgum and magnolia are designed for larger, more computationally
intensive jobs.
|