Contents
- 1. Getting Started
- 2. Porting Guide
- 2.1. Introduction
- 2.2. How to use this guide
- 2.3. Quick-start porting checklist
- 2.4. Classic vs beta: same name, different compiler DNA.
- 2.5. Optimization levels and floating-point behavior
- 2.6. Command-line option differences
- 2.7. Front-end strictness, diagnostics, and output formatting changes
- 2.7.1. Example: logical comparisons
- 2.7.2. Example: irrelevant attributes
- 2.7.3. Example: C_LOC arguments without POINTER or TARGET
- 2.7.4. Example: default formatted output
- 2.7.5. Example: type/kind/rank Enhanced Interface Checks [-Wexternal-interface-mismatch]
- 2.7.6. Example: INTENT Enhanced Interface Checks error: argument is not definable
- 2.7.7. Other argument checking, attributes
- 2.7.8. Format of messages
- 2.8. Language and data type differences
- 2.9. Compiler Directives Differences
- 2.10. Preprocessing and predefined macros
- 2.11. Modules and module hashes
- 2.12. Runtime environment and ABI differences
- 2.13. Stack usage and memory placement
- 2.14. Libraries, NVPL, and PIE/linking behavior
- 2.15. Build systems and CMake
- 2.16. Performance expectations and tuning
- 2.17. OpenACC
- 2.18. OpenMP
- 2.19. Working with us: reporting issues and feedback
- 3. Use Command-line Options
- 4. Multicore CPU Optimization
- 5. Using Function Inlining
- 6. Using GPUs
- 6.1. Overview
- 6.2. Terminology
- 6.3. Execution Model
- 6.4. Memory Model
- 6.5. Fortran pointers in device code
- 6.6. Calling routines in a compute kernel
- 6.7. Supported Processors and GPUs
- 6.8. CUDA Versions
- 6.9. Compute Capability
- 6.10. PTX JIT Compilation
- 6.11. Supported Intrinsics
- 7. Using OpenACC
- 8. Using OpenMP
- 9. Using Stdpar
- 10. PCAST
- 11. Using MPI
- 12. Creating and Using Libraries
- 13. Environment Variables
- 13.1. Setting Environment Variables
- 13.2. HPC Compiler Related Environment Variables - General
- 13.2.1. HPC Compiler Environment Variables - General
- 13.2.1.1. DEFAULT_UTF8
- 13.2.1.2. FORT_CHECK_POINTER_DEALLOCATION
- 13.2.1.3. FORT_FMT_RECL
- 13.2.1.4. FORT_CONVERT
- 13.2.1.5. FORT_CONVERT_UNIT
- 13.2.1.6. FORT_NO_EMPTY_ALLOCATION
- 13.2.1.7. FORT_TRUNCATE_STREAM
- 13.2.1.8. LD_LIBRARY_PATH
- 13.2.1.9. MANPATH
- 13.2.1.10. NO_STOP_MESSAGE
- 13.2.1.11. PATH
- 13.2.1.12. NVCOMPILER_FPU_STATE
- 13.2.1.13. NVCOMPILER_TERM
- 13.2.1.14. NVCOMPILER_TERM_DEBUG
- 13.2.1.15. PWD
- 13.2.1.16. TMP
- 13.2.1.17. TMPDIR
- 13.2.1. HPC Compiler Environment Variables - General
- 13.3. HPC Compiler Related Environment Variables - CUDA Selection
- 13.4. Using Environment Modules on Linux
- 13.5. Stack Traceback and JIT Debugging
- 14. Distributing Files - Deployment
- 15. Inter-language Calling
- 15.1. Overview of Calling Conventions
- 15.2. Inter-language Calling Considerations
- 15.3. Functions and Subroutines
- 15.4. Upper and Lower Case Conventions, Underscores
- 15.5. Compatible Data Types
- 15.6. Argument Passing and Return Values
- 15.7. Array Indices
- 15.8. Examples
- 15.9. Interoperability with iso_c_binding and ISO_Fortran_binding.h
- 16. Programming Considerations for 64-Bit Environments
- 16.1. Data Types in the 64-Bit Environment
- 16.2. Large Static Data in Linux
- 16.3. Large Dynamically Allocated Data
- 16.4. Compiler Options for 64-bit Programming
- 16.5. Practical Limitations of Large Array Programming
- 16.6. Medium Memory Model and Large Array in Fortran
- 16.7. Large Array and Small Memory Model in Fortran