The simplest way to utilize `ESSL` in application, which already uses `BLAS` or `CBLAS` routines is to link with the provided `libessl.so`. This can be done by replacing `-lopenblas` with `-lessl` or `-lessl -lopenblas` (in case `ESSL` does not provide all required `BLAS` routines).
@@ -95,6 +104,7 @@ and similarly for IBM compilers (`ibm-clang++` and `xlf`).
The `hello world` example application (written in `C++` and `Fortran`) uses simple stationary probability vector estimation to illustrate use of GEMM (BLAS 3 routine).
Stationary probability vector estimation in `C++`:
```c++
#include<iostream>
#include<vector>
...
...
@@ -153,6 +163,7 @@ int main(int argc, char *argv[])
```
Stationary probability vector estimation in `Fortran`: