Download PGI User's Guide
Transcript
Generic PGI Compiler Options In the following example, the library directory /lib is searched for the library file libx.a and both the directories /lib and /libz are searched for liby.a. $ pgf95 -L/lib -lx -L/libz -ly myprog.f -l<library> Loads a library. The linker searches <library> in addition to the standard libraries. Libraries specified with –l are searched in order of appearance and before the standard libraries. Syntax: -llibrary Where library is the name of the library to search. The compiler prepends the characters lib to the library name and adds the .a extension following the library name. Usage: In the following example, if the standard library directory is /lib the linker loads the library / lib/libmylib.a, in addition to the standard libraries. $ pgf95 myprog.f -lmylib -M<pgflag> Selects options for code generation. The options are divided into the following categories: Code generation Environment Inlining Fortran Language Controls C/C++ Language Controls Optimization Miscellaneous The following table lists and briefly describes the options alphabetically and includes a field showing the category. 65
Related documents
PGI User's Guide
PGI User's Guide Release 9.0 - Faculty of Science HPC Site
PGI User's Guide
PGI User's Guide - The University of Sheffield High Performance and
PGI User's Guide
PGI 5 User's Guide
PGI 6.1 User`s Guide - University of Alberta
PGI Compiler User`s Guide
PGI Compiler Reference Manual
PGI 5 User's Guide
PGI 5 User's Guide - The Portland Group
Intel(R) C++ Compiler for Linux* Systems User's Guide