Home

GFortran

GFortran is the GNU Fortran compiler, part of the GNU Compiler Collection (GCC). It is free software released under the GNU General Public License and runs on multiple platforms, including Linux, Windows, and macOS. GFortran translates Fortran source code into native machine code and is widely used in scientific, engineering, and numerical computing for its portability, compatibility with GCC tooling, and performance.

GFortran implements a substantial portion of the Fortran language standards. It has strong support for Fortran

As part of GCC, gfortran benefits from a unified compiler backend, cross-language interoperability, consistent software packaging,

95
and
features
from
later
revisions,
with
ongoing
development
to
cover
additional
capabilities
from
Fortran
2003
and
Fortran
2008,
and
some
elements
from
newer
standards.
The
compiler
supports
common
Fortran
primitives
such
as
modules,
derived
types,
allocatable
and
automatic
arrays,
array
operations,
interface
blocks,
and
various
procedure
attributes.
It
provides
interoperability
with
C
through
the
ISO_C_BINDING
module,
enabling
calls
between
Fortran
and
C
and
other
languages.
OpenMP
support
is
available
via
the
-fopenmp
option
for
shared-memory
parallelism,
and
users
can
leverage
GCC’s
optimization
infrastructure
for
performance,
including
link-time
optimization
when
available.
Debugging
and
development
tooling
integrate
with
standard
utilities
such
as
gdb
and
common
build
environments.
and
broad
platform
support.
It
is
widely
used
in
academic
research,
government
and
industry
scientific
computing,
and
in
high-performance
computing
environments.
Development
is
coordinated
with
GCC
releases,
ensuring
compatibility
with
other
languages
in
the
GCC
ecosystem
and
with
a
broad
ecosystem
of
numerical
libraries
and
applications
written
in
Fortran.