4 pghpf Libraries

This chapter introduces you to the pghpf compiler libraries. Depending on your PGI product, some of these libraries or object files may not be sent with your system (for a specific list of the libraries shipped with your system, refer to the installation instructions).

4.1 Libraries and Startup Routines

The following startup routines and function libraries, object files, and source files, are provided with the pghpf compiler:

crt0.o
is a startup routine for the compilation environment.
crt0.s
is the assembly- language source of the startup routine crt0.o.
libb.a
is a math library that provides more accurate (approximately one-half the error), but slower, math routines. This library contains both single- precision and double- precision versions of the math functions listed in the ANSI C standard.
libc.a
is the standard C run-time library. This library contains all of the run-time functions listed in the ANSI C standard.
libhpf.a
is the transport communications interface library for pghpf. The pghpf compilation system uses this library for pghpf programs to manage communications between processors on parallel systems.
libhpf_pvm.a
is the PVM communications library for pghpf.
libhpf_rpm.a
is the PGI message passing library for pghpf.
libhpf_rpm1.a
is the PGI debugging enviroment single processor message passing library for pghpf.
libm.a
is a math library that provides faster (approximately twice as fast), but less accurate, math routines. This library contains both single- precision and double- precision versions of the math functions listed in the ANSI C standard.
libpgpf.a
is a compiler support library for profiling. Use this library in addition to any other libraries that you link with your routines.
libpgpfc.a
is a compiler support library for profiling. Use this library in addition to any other libraries that you link with your routines.
pcrt0.o
is a startup routine containing profiling code for programs running in an Intel APX environment. Use this library instead of crt0.o.
pcrt0dos.o
is a startup routine containing profiling code for programs running on a processor under DOS. Use this library instead of crt0dos.o.
pgclib.a
is the compiler support library. The functions in this library perform operations such as conversion between unsigned and floating- point, IEEE- conformant floating- point division, and integer division.
hpfrtl.a
contains the Fortran run-time library customized for pghpf.
pgfalt.o
is the alternate logical support routine. This is loaded when -Munixlogical is selected on the command line.