From 928fec13898022aac472dd6a1adde13787809b8b Mon Sep 17 00:00:00 2001
From: Jan Siwiec <jan.siwiec@vsb.cz>
Date: Tue, 29 Mar 2022 09:35:39 +0200
Subject: [PATCH] Update karolina-compilation.md

---
 docs.it4i/software/karolina-compilation.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs.it4i/software/karolina-compilation.md b/docs.it4i/software/karolina-compilation.md
index 3045196c4..ac6148c77 100644
--- a/docs.it4i/software/karolina-compilation.md
+++ b/docs.it4i/software/karolina-compilation.md
@@ -40,9 +40,12 @@ OMP_NUM_THREADS = 64
 GOMP_CPU_AFFINITY=0:63:1
 ```
 
-However, to get full performance, you have to execute two jobs on the two Karolina sockets at the time.
+However, to get full performance, you have to execute two jobs on two Karolina sockets at the time.
 Other BLAS libraries may be used, however none performs as well as the MKL.
 
+!!! note
+    Most MPI libraries do the binding automatically. The binding of MPI ranks can be inspected for any MPI by running `$ mpirun -n num_of_ranks numactl --show`. However, If the ranks spawn threads, binding of these threads should be done via the environment variables described above.
+
 The choice of BLAS library and its performance may be verified with our benchmark,
 see [Lorenz BLAS performance benchmark][a].
 
-- 
GitLab