Fortran Language Controls. STMicroelectronics PGI
ಜಾಹಿರಾತು
ಜಾಹಿರಾತು
–M Options by Category
Note
This flag dynamically links the library libhugetlbfs_pgi
even if
–Bstatic
is used.
nohuge
Overrides a previous
–Msmartalloc=huge
setting.
Tip
To be effective, this switch must be specified when compiling the file containing the Fortran, C, or
C++ main program.
–M
[no]stddef instructs the compiler not to predefine any macros to the preprocessor when compiling a C program.
–M nostdinc instructs the compiler to not search the standard location for include files.
–M nostdlib instructs the linker not to link in the standard libraries libpgftnrtl.a
, libm.a
, libc.a
, and libpgc.a
in the library directory lib
within the standard directory. You can link in your own library with the –l option or specify a library directory with the –L option.
Fortran Language Controls
This section describes the –M<pgflag> options that affect Fortran language interpretations by the PGI Fortran compilers. These options are valid only for the pghpf, pgf77 and pgf95 compiler drivers.
Default:
For arguments that you do not specify, the defaults are as follows: nobackslash nodclchk nodefaultunit nodlines dollar,_ noiomutex noonetrip nosave nounixlogical noupcase
The following list provides the syntax for each–M<pgflag> option that affect Fortran language interpretations.
Each option has a description and, if appropriate, a list of any related options.
–M allocatable=95|03 controls whether Fortran 95 or Fortran 2003 semantics are used in allocatable array assignments. The default behavior is to use Fortran 95 semantics; the 03 option instructs the compiler to use Fortran 2003 semantics.
–M backslash the compiler treats the backslash as a normal character, and not as an escape character in quoted strings.
–M nobackslash the compiler recognizes a backslash as an escape character in quoted strings (in accordance with standard C usage).
–M cuda the compiler enables Cuda Fortran.
The following suboptions exist:
266
Chapter 16. Command-Line Options Reference cc10
Generate code for compute capability 1.0.
cc11
Generate code for compute capability 1.1.
cc13
Generate code for compute capability 1.3.
emu
Enable Cuda Fortran emulation mode.
keepptx
Keep the portable assembly (.ptx) file for the GPU code.
maxregcount:n
Specify the maximum number of registers to use on the GPU. Leaving this blank indicates no limit.
–M dclchk the compiler requires that all program variables be declared.
–M nodclchk the compiler does not require that all program variables be declared.
–M defaultunit the compiler treats "*" as a synonym for standard input for reading and standard output for writing.
–M nodefaultunit the compiler treats "*" as a synonym for unit 5 on input and unit 6 on output.
–M dlines the compiler treats lines containing "D" in column 1 as executable statements (ignoring the "D").
–M nodlines the compiler does not treat lines containing "D" in column 1 as executable statements (does not ignore the "D").
–M dollar,char char specifies the character to which the compiler maps the dollar sign. The compiler allows the dollar sign in names.
–M extend the compiler accepts 132-column source code; otherwise it accepts 72-column code.
–M fixed the compiler assumes input source files are in FORTRAN 77-style fixed form format.
–M free the compiler assumes the input source files are in Fortran 90/95 freeform format.
–M iomutex the compiler generates critical section calls around Fortran I/O statements.
–M noiomutex the compiler does not generate critical section calls around Fortran I/O statements.
267
ಡೌನ್ಲೋಡ್ ಮಾಡಿ
ಜಾಹಿರಾತು