# Qpar-adjust-stack

Tells the compiler to generate code to adjust the stack size for a fiber-based main thread. This feature is only available for ifort.

## Syntax

Linux and macOS: | None

Windows: | /Qpar-adjust-stack:n

## Arguments

n | Is the stack size (in bytes) for the fiber-based main thread. It must be a number equal to or greater than zero.

## Default

/Qpar-adjust-stack:0 | No adjustment is made to the main thread stack size.

## Description

This option tells the compiler to generate code to adjust the stack size for a fiber-based main thread. This can reduce the stack size of threads.

For this option to be effective, you must also specify option /Qparallel.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Offload Compilation, OpenMP*, and Parallel Processing Options

## See Also

parallel, Qparallel compiler option