# nag_modules: Modules Supplied with the NAG Fortran Compiler

## Table of Contents

- 1 Name
- 2 Synopsis
- 3 Description
- 4 See Also
- 5 Bugs

## 1 Name

`nag_modules` — Overview of modules supplied with the NAG Fortran compiler.

## 2 Synopsis

A number of pre-defined modules are provided with the NAG Fortran compiler for use in user programs. These modules are pre-compiled, the pre-compiled module form (‘`.mod`’ files) being stored in the NAG Fortran compiler library directory (normally `/usr/local/lib/NAG_Fortran`).

Each module is supplied with its own man page containing full usage details.

## 3 Description

F90_GC
  Procedures and variables controlling the garbage collector.
F90_IOSTAT
  Parameter definitions for input/output error codes (IOSTAT variables).
F90_KIND
  Parameter definitions for kind numbers.
F90_PRECONN_IO
  File preconnection control.
F90_STAT
  Parameter definitions for ALLOCATE/DEALLOCATE error codes (STAT variables).
F90_UNIX
  A selection of Unix system functions. This has been made obsolete by the provision of the F90_UNIX_* modules, which comprise a partial API to the functions detailed in ISO/IEC 9945-1:1990 Portable Operating System Interface (POSIX) - Part 1: System Application Program Interface (API) [C Language].
F90_UNIX_DIR
  Unix directory operations.
F90_UNIX_DIRENT
  Operations for reading Unix directory entries.
F90_UNIX_ENV
  Unix environment functions.
F90_UNIX_ERRNO
  Unix error codes.
F90_UNIX_IO
  Unix I/O functions. Incomplete.
F90_UNIX_FILE
  Unix file characteristics.
F90_UNIX_PROC
  Unix process primitives.
IEEE_ARITHMETIC
  The IEEE arithmetic module from TR 15580.
IEEE_EXCEPTIONS
  The IEEE exceptions module from TR 15580.
IEEE_FEATURES
  The IEEE features module from TR 15580.
ISO_C_BINDING
  The standard C interoperability module.
ISO_FORTRAN_ENV
  The standard Fortran environment module.

## 4 See Also

f90_gc(3), f90_iostat(3), f90_kind(3), f90_preconn_io(3), f90_stat(3), f90_unix(3), f90_unix_dir(3), f90_unix_dirent(3), f90_unix_env(3), f90_unix_errno(3), f90_unix_file(3), f90_unix_io(3), f90_unix_proc(3), nagfor(1), ieee_arithmetic(3), ieee_exceptions(3), ieee_features(3), iso_c_binding(3), iso_fortran_env(3).

## 5 Bugs

Please report any bugs found to ‘support@nag.co.uk’ or ‘support@nag.com’, along with any suggestions for improvements.