I installed OpenFOAM newly and the following error is occurring every time I open my terminal.
gcc: error: unrecognized command line option ‘--showme:link’
As per the guide on the OpenFOAM website, I did the following:
Doing sudo update-alternatives --list mpi
sudo update-alternatives --set mpi /usr/lib/openmpi/include
update-alternatives: error: alternative /usr/lib/openmpi/include for mpi not registered; not setting
Maybe this is the reason. Since I am using mpicc from intel, it is having problem with openmpi
I have installed openmpi using sudo install openmpi-bin
Have you checked the solution mentioned in the below link?