Add openmpi instructions for Oracle Linux

This commit is contained in:
Ricardo Montañana Gómez 2023-12-17 12:19:50 +01:00
parent 7de11b0e6d
commit 18e8e84284
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -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