From 18e8e84284b2c9ebbc99e878769646f326a11dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Sun, 17 Dec 2023 12:19:50 +0100 Subject: [PATCH] Add openmpi instructions for Oracle Linux --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad0dd4a..6ddd7c1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,11 @@ Before compiling BayesNet. ### MPI -In Linux just install openmpi & openmpi-devel packages. +In Linux just install openmpi & openmpi-devel packages. Only cmake can't find openmpi install (like in Oracle Linux) set the following variable: + +```bash +export MPI_HOME="/usr/lib64/openmpi" +``` In Mac OS X, install mpich with brew and if cmake doesn't find it, edit mpicxx wrapper to remove the ",-commons,use_dylibs" from final_ldflags