Fortran Compiler

A robust and highly tested Fortran compiler, valued for its checking capabilities and detailed error reporting.

Trial now Contact our experts

“The NAG Compiler is often my best tool when debugging complex Fortran code”.


One of my favourite sets of compiler flags is -g -O0 -C=all -mtrace -gline -ieee=stop. 
The excellent memory tracing and array bound checks, in combination with the analysis of floating point arithmetic, e.g. division by zero or floating point overflow, and reliable tracebacks to the line of code where an issue occurs, makes my life much easier.

I love the NAG Compiler for its efficiency in finding sources of errors, verifying implementations, and assuring excellent code quality.”

Judith Rommel, University of Cambridge

Fewer Mistakes

The NAG Fortran Compiler will save you effort by finding errors and diagnosing non-standard or questionable usage early.


Daily Compiler verification ensures correctness and performance.


The NAG Fortran Compiler has been ported to many platforms and is validated by a world-class test Suite. It is engineered for portability, robustness, and generated code performance.


New functionality is added to the NAG Fortran Compiler on a regular basis ensuring customers have access to enhancements in a timely way.

Fortran Builder

NAG offer an Integrated Development Environment (IDE) supplied with the NAG Fortran Compiler for Microsoft Windows.

Building projects using the NAG Fortran Builder is simple. Subsequent builds only recompile those files that have been changed and their dependencies. If the default options are not suitable, it is easy to change them using Project Settings. Incorporated in Fortran Builder is a GUI debugger to help solve any runtime problems.

Fortran Builder compiles and automatically links with a licensed NAG Fortran Library. It also comes with precompiled LAPACK Libraries. The help system within Fortran Builder not only gives general advice but will also suggest the right compiler options for your scenario. It also includes an extensive Fortran language guide.


Want to Learn More About the NAG Fortran Compiler?

Talk to us

More Insights


To learn more about what NAG can help you with, visit our Insights page.

Try the NAG Fortran Compiler


Want to see how the NAG Fortran Compiler can work with your application? Take a trial today.

Learn More


Our expert consultants are at
hand to answer any questions
you may have.

    Please fill out all of the following questions

    What solvers are you interested in trying? (multiple choice)

    By clicking the button below you agree to our Privacy Policy

    This will close in 20 seconds