|
|
|
| Accessing VECLIB | |
|
|
|
|
|
|
Processor | OS | Address | Installation Directory | Libraries |
|
Type | Version | Width |
| ||
|
|
| |||
|
|
|
|
|
|
| HP XC6000 |
|
| libveclib.a |
|
Itanium 2 | Intel V7.1 | /opt/mlib/intel_7.1/hpmpi_2.1/lib/64 | libveclib.so |
| |
| Compiler |
|
| libveclib8.a |
|
|
|
|
| libveclib8.so |
|
|
|
|
|
|
|
| HP XC4000 |
|
| libveclib.a |
|
|
|
| libveclib.so |
| |
Itanium 2 | PGI V5.1 | /opt/mlib/intel_5.1/hpmpi_2.1/lib/64 |
| ||
| Compiler |
|
| libveclib8.a |
|
|
|
| libveclib8.so |
| |
|
|
|
|
| |
|
|
|
|
|
|
| Opteron |
|
| libveclib.a |
|
|
|
| libveclib.so |
| |
Itanium 2 | PGI V5.1 | /opt/mlib/intel_5.1/hpmpi_2.1/lib/64 |
| ||
libveclib8.a |
| ||||
| Compiler |
|
| libveclib8.so |
|
|
|
|
|
| |
|
|
|
|
|
|
Only
The file name of the archive VECLIB and VECLIB8 libraries are libveclib.a and libveclib8.a respectively. The VECLIB shared library for PA is libveclib.sl and is libveclib.so for all other operating systems.
Performance of your applications is better when you use archive libraries. However, if you need to keep executable files to a minimum size, you can use shared libraries. See “Linking with libisamstub.a” on page 8 if your application calls Fortran77 routines from C language code, and you are linking with the VECLIB archive library.
The HP VECLIB library contains parallelized subprograms. Refer to Appendix C, “Parallelized Subprograms,” for details. If your program is run on an
Compiling and linking (VECLIB)
There are several ways to link your program with the version of VECLIB tuned for the machine on which the program runs. By default, the −lveclib option on the f90, cc, or c89 command line that links your program selects the library that corresponds to
ccis the HP C compiler and c89 is the HP
Chapter 1 Introduction to VECLIB 5