|
Fortran Compilers at UM/MCSR
Intel Compiler (10.1) on Sequoia.
MIPSPro Fortran Compilers, version 7.4, on
sweetgum.
To compile with f77 on sweetgum, enter: f77 my.for, where 'my.for' is the user's program.
To include IMSL subroutines, the following syntax should be entered:
f90 $F90FLAGS -o temp temp.f $LINK_F90,
where 'temp.f' is the name of the user's Fortran program and 'temp' is the executable created
by the Fortran Compiler. To
run the executable enter:
./temp
All of the MIPSpro Compilers are located in /opt/MIPSpro/bin/ on sweetgum.
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.
|