From 505df3e0b09483f9612b60e3f5f2d9ad835012f3 Mon Sep 17 00:00:00 2001
From: Branislav Jansik <branislav.jansik@vsb.cz>
Date: Thu, 15 Feb 2024 12:42:50 +0100
Subject: [PATCH] Update grace.md

---
 docs.it4i/cs/guides/grace.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs.it4i/cs/guides/grace.md b/docs.it4i/cs/guides/grace.md
index 570b8b1a0..ac560fb2d 100644
--- a/docs.it4i/cs/guides/grace.md
+++ b/docs.it4i/cs/guides/grace.md
@@ -86,6 +86,21 @@ The [NVPL](https://developer.nvidia.com/nvpl) package includes more extensive se
 
 This package should be compatible with all availiable toolchains and includes CMake module files for easy integration into CMake-based projects. For further documentation see also [NVPL](https://docs.nvidia.com/nvpl).
 
+### Recommended BLAS Library
+
+We recommend to use the multi-threaded BLAS library from the NVPL package.
+
+!!! note
+    It is important to pin the processes using **OMP_PROC_BIND=spread**
+
+Example:
+
+```console
+$ ml NVHPC
+$ nvc -O3 -march=native myprog.c -o myprog -lnvpl_blas_lp64_gomp
+$ OMP_PROC_BIND=spread ./myprog
+```
+
 ## Basic Communication Libraries
 
 The OpenMPI 4 implementation is included with NVHPC toolchain and is exposed as a module (`ml OpenMPI`). The following example
-- 
GitLab