why can't openmpi find mpif.h?

I feel pretty stupid. Everything looks exactly right, but - this code I downloaded can’t open mpif.h - isn’t /usr/include on the path for .h files for almost everything (by default)? Of course, it’s just a link but I can open it from Dolphin. What am I missing?

patti@VBdesktop-OpenSuSE:~/Desktop> mpif90 -o test test.f
test.f:6: Error: Can’t open included file ‘mpif.h’
patti@VBdesktop-OpenSuSE:~/Desktop> whereis mpif.h
mpif: /usr/include/mpif.h
patti@VBdesktop-OpenSuSE:~/Desktop>

! Filename: mpi_hello.f90
! Description: A parallel hello world program

PROGRAM HelloWorld
include 'mpif.h'

call mpi_init(ierr)
call mpi_comm_size(MPI_COMM_WORLD,npes, ierr)
call mpi_comm_rank(MPI_COMM_WORLD,irank,ierr)

print*,'Hello World! I am ',irank,' of ',npes

call mpi_finalize(ierr)

END PROGRAM

Maybe the question is how do I get the default gfortran to use the openmpi that I built instead of whatever is on the system? The only way I know how to do that is to overwrite the existing mpif.h file in /usr/include - but I know there are linux-savvy ways to do this.

Yes, I think that’s it - my question is how to get gfortran to use the openmpi that i built rather than the default mpif90?

OK - I’m still hoping for help. I think the problem is something I’ve borken in my install. For instance:
patti@VBdesktop-OpenSuSE:~> whereis mpif.h
mpif:
patti@VBdesktop-OpenSuSE:~>

…yet mpif.h is right where it should be! What part of the OpenSuSE12.1x64 system is “whereis” and how can I fix it?
I tried uninstalling and reinstalling openmpi (from the repo) several times.