|The ESSL header file essl.h, used for C and C++ programs, |is installed in the /usr/include |directory. You do not need to modify your existing C compilation |procedures when using ESSL, unless you want to specify your own definitions |for complex data.
|If you do want to specify your own definitions for short- and |long-precision complex data, add -D_CMPLX and -D_DCMPLX, |respectively, to your compile and link command. Otherwise, you |automatically use the definitions of short- and long-precision complex data |provided in the ESSL header file |(as shown in the table below).
|When linking and running your program, you must modify your existing |job procedures for ESSL, to set up the necessary libraries.
|If you are accessing ESSL from a C program, you can compile and link
|using the commands also shown in the table below.
|
ESSL Library Name | Command | |
---|---|---|
SMP | 32-bit |
cc_r -O xyz.c -lesslsmp cc_r -O -D_CMPLX -D_DCMPLX xyz.c -lesslsmp |
64-bit |
cc_r -O -q64 xyz.c -lesslsmp cc_r -O -D_CMPLX -D_DCMPLX -q64 xyz.c -lesslsmp | |
Serial | 32-bit |
cc_r -O xyz.c -lessl cc_r -O -D_CMPLX -D_DCMPLX xyz.c -lessl |
64-bit |
cc_r -O -q64 xyz.c -lessl cc_r -O -D_CMPLX -D_DCMPLX -q64 xyz.c -lessl | |
Serial | 32-bit |
cc -O xyz.c -lessl cc -O -D_CMPLX -D_DCMPLX xyz.c -lessl |
64-bit |
cc -O -q64 xyz.c -lessl cc -O -D_CMPLX -D_DCMPLX -q64 xyz.c -lessl |
|