Hi, Markus, I found the reason now, as posted in another board.
“There are more than one mpi installation in my machine. I used mpirun and mpic++ from different installations (maybe more things were messed up). Now it works fine.”
It was a mess/mistake from my side.