Reputation: 415
I am trying to try Trilinos that need MPI. I installed OpenFOAM with its 3rd party Library including OpenMPI 2.1.1
Then I try Trilinos example and it stated it needs libmpi.so.40 which means it needs OpenMPI-4.x.x
I install OpenMPI-4.1.4, I delete the OpenMPI-2.1.1 but when I type: mpicc --showme it still look for configuration file from OpenMPI-2.1.1
If anyone knows how to make sure the command for mpicc mpiCC mpirun to look only at the installed path of OpenMPI-4.1.4 ?
Thank You
I have put explanation here (opening an issue at Trilinos related to MPI error) https://github.com/trilinos/Trilinos/issues/10582
Picture attached below: mpicc error
Upvotes: 0
Views: 545