Using ESSL 6.2.1 with multiple releases or PTFs
The full product version of ESSL for Linux on POWER 6.2.1 supports the base release and multiple program temporary fixes (PTFs) coexisting on the same system, provided you install the base release and PTFs to an alternate directory and do not create symbolic links in the /usr directory.
In this case:
- Specify the alternate directory. For example,
--prefix=/opt/ibmmathe6210
. - Set the IBM_ESSL_SYMBOLIC_LINK environment variable to no. For example,
export IBM_ESSL_SYMBOLIC_LINK=no
.
For example, if you install ESSL to the alternate directory /opt/ibmmathe6210, you must do the following to use ESSL:
As an alternative, if your compiler supports environment variables CPATH, LIBRARY_PATH and LD_LIBRARY_PATH, you can set these environment variables instead of changing your compile and link commands. For example: - Add -I/opt/ibmmathe6210/essl/6.2/include to your C/C++ compiler command.
- Add -L/opt/ibmmathe6210/essl/6.2/lib64 -R/opt/ibmmathe6210/essl/6.2/lib64 to your link command.
- Add /opt/ibmmathe6210/essl/6.2/man to your MANPATH environment variable.
- Add /opt/ibmmathe6210/essl/6.2/msg/en_US to your NLSPATH environment variable.
export CPATH=/opt/ibmmathe6210/essl/6.2/include:${CPATH}
export LIBRARY_PATH=/opt/ibmmathe6210/essl/6.2/lib64:${LIBRARY_PATH}
export LD_LIBRARY_PATH=/opt/ibmmathe6210/essl/6.2/lib64:${LD_LIBRARY_PATH}