![[user]](https://www.spec.org/auto/accel2023/images/user.png)
The OpenMPI C driver configured for use with the NVIDIA HPC C compiler (nvc).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
The OpenMPI Fortran driver configured for use with the NVIDIA HPC Fortran compiler (nvfortran).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generate code for the medium memory model in the linux86-64 execution environment. The default small memory model of the linux86-64 environment limits the combined area for a user's object or executable to 1GB, with the Linux kernel managing usage of the second 1GB of address for system routines, shared libraries, stacks, etc. Programs are started at a fixed address, and the program can use a single instruction to make most memory references. The medium memory model allows for larger than 2GB data areas, or .bss sections. Program units compiled using either -mcmodel=medium or -fpic require additional instructions to reference memory. The effect on performance is a function of the data-use of the application. The -mcmodel=medium switch must be used at both compile time and link time to create 64-bit executables. Program units compiled for the default small memory model can be linked into medium memory model executables as long as they are compiled -fpic, or position-independent.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Linker option to disable global optimizations that become possible when the linker resolves addressing in the program. Relax may cause linking errors when using large data objects (>2GB).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Don't include Fortran main program object module.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
This section contains descriptions of flags that were included implicitly by other flags, but which do not have a permanent home at SPEC.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable support for 64-bit indexing and single static data objects larger than 2GB in size. This option is default in the presence of -mcmodel=medium. Can be used separately together with the default small memory model for certain 64-bit applications that manage their own memory space.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Level-two optimization (-O2 or -O) specifies global optimization. The -fast option generally will specify global optimization; however, the -fast switch will vary from release to release depending on a reasonable selection of switches for any one particular release. The -O or -O2 level performs all level-one local optimizations as well as global optimizations. Control flow analysis is applied and global registers are allocated for all functions and subroutines. Loop regions are given special consideration. This optimization level is a good choice when the program contains loops, the loops are short, and the structure of the code is regular.
The NVHPC compilers perform many different types of global optimizations, including but not limited to:
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Level-one optimization specifies local optimization (-O1). The compiler performs scheduling of basic blocks as well as register allocation. This optimization level is a good choice when the code is very irregular; that is it contains many short statements containing IF statements and the program does not contain loops (DO or DO WHILE statements). For certain types of code, this optimization level may perform better than level-two (-O2) although this case rarely occurs.
The NVHPC compilers perform many different types of local optimizations, including but not limited to:
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point reciprocal square root (1/sqrt). Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point square root. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point division. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to allow floating-point expression reordering, including factoring. Can result in improved performance at the expense of numerical accuracy.
Flag description origin markings:
For questions about the meanings of these flags, please contact the tester.
For other inquiries, please contact info@spec.org
Copyright 2023-2025 Standard Performance Evaluation Corporation
Tested with SPEC accel2023 v2.0.18.
Report generated on 2025-10-15 12:59:53 by SPEC accel2023 flags formatter v112 .