Download PGI Compiler Reference Manual
Transcript
–M Options by Category For more information on these options, refer to the chapter “Using MPI in PVF in the PGI Compiler User’s Guide. Note On Linux, the user can set the environment variables MPIDIR and MPILIBNAME to override the default locations for the MPI directory and library name. On Windows, the user can set the environment variables MSMPIINC, MS, either MSMPIINC, MSMPILIB32, and MSMPILIB64 to override the default location for the directory associated with using MS-MPI. For –Mmpi=msmpi to work, the CCP_HOME environment variable must be set. When the Microsoft HPC Pack 2008 SDK is installed, this variable is typically set to point to the MS-MPI library directory. –Mnolarge_arrays Disable support for 64-bit indexing and single static data objects larger than 2GB in size. When placed after –mcmodel=medium on the command line, disables use of 64-bit indexing for applications that have no single data object larger than 2GB. –Mnomain Instructs the compiler not to include the object file that calls the Fortran main program as part of the link step. This option is useful for linking programs in which the main program is written in C/C++ and one or more subroutines are written in Fortran (pgf77, pgf95, pgfortran only). –M[no]movnt Instructs the compiler to generate nontemporal move and prefetch instructions even in cases where the compiler cannot determine statically at compile-time that these instructions will be beneficial. –M[no]pre enables or disables partial redundancy elimination. –Mprof[=option[,option,...]] Set performance profiling options. Use of these options causes the resulting executable to create a performance profile that can be viewed and analyzed with the PGPROF performance profiler. In the descriptions that follow, PGI-style profiling implies compiler-generated source instrumentation. MPICHstyle profiling implies the use of instrumented wrappers for MPI library routines. The option argument can be any of the following: [no]ccff Enable [disable] common compiler feedback format, CCFF, information. dwarf Generate limited DWARF symbol information sufficient for most performance profilers. func Perform PGI-style function-level profiling. hwcts Generate a profile using event-based sampling of hardware counters via the PAPI interface. (linux86-64 platform only; PAPI must be installed). 72