Accessing VECLIB
For example, the command lines in Method 2 for PA could be written:
f90 [options] file ...
cc[options] file ...
aCC [options] file ...
4.Set the LDOPTS environment variable to include:
setenv LDOPTS
Then use the −lveclib option on the compiler command line that links your program:
f90 [options] file ... −lveclib
cc [options] file ... −lveclib −lcl −lm
aCC [options] file ... −lveclib −lcl −lm
NOTE | An LDOPTS specification takes precedence over using |
| compiler command line. That is, if you use the LDOPTS environment |
| variable to specify a library path, you cannot override that specification |
| with a |
|
|
5.To link with the VECLIB8 libraries on a
Compile Fortran applications with the +i8, +autodbl, or +autodbl4 option where:
•+i8 promotes
•+autodbl promotes all integer, logical, and real items to 8 bytes, and all
•+autodbl4 promotes all integer logical, and real items to 8 bytes, and complex items to 16 bytes. The +autodbl4 option does not promote the size of
f90 +DA2.0W +i8 [options] file ...
cc+DA2.0W [options] file ...
Chapter 1 Introduction to VECLIB 7