A newer version of this document is available. Customers should click here to go to the newest version.
fopenmp-default-allocator, Qopenmp-default-allocator
Tells the compiler that all ALLOCATE statements should be treated as though there were an explicit OpenMP ALLOCATE directive that preceded them.
Syntax
Linux:  |  
      -fopenmp-default-allocator[=keyword]  |  
     
Windows:  |  
      /Qopenmp-default-allocator[:keyword]  |  
     
Arguments
keyword  |  
      Is an allocation specification. It can be any of the following: 
  |  
     
Default
OFF  |  
      If this option is not specified, the compiler follows standard allocation behavior for ALLOCATE statements.  |  
     
Description
This option tells the compiler that all Fortran ALLOCATE statements should be treated as though there were an explicit OpenMP ALLOCATE directive (!$OMP ALLOCATE) that preceded them. It provides an allocation shortcut.
Only keyword omp_target_shared_mem requires you to also specify an OpenMP-enabling option, such as [q or Q]openmp. The other possible keywords do not require an OpenMP-enabling option.
When allocating large amounts of memory into target-shared memory, you may experience running-out-of-memory issues.
IDE Equivalent
Alternate Options
None