Originally Posted by
ajitnair90
I was asked to install certain packages, when opening the terminal. After installing those packages, when i opened the terminal it showed gcc: error: unrecognized command line option ‘--showme:link’ , can you please help me with this.
In order to solve this problem, you should check this link:
http://www.openfoam.org/download/ubuntu.php
Typing:
Code:
sudo update-alternatives --list mpi
If your system has MPICH libraries, you will see two lines, the second one is the MPICH path in where it was installed.
In order to fix the problem, typing:
Code:
sudo update-alternatives --set mpi /usr/lib/openmpi/include
Regards.
Bookmarks