Also, I tested with fortran 77.
At least, I got a more understandable error:
test.f:(.text+0xc): undefined reference to `mpi_init_'

It shows that I have problem with library (linking).