Dear Sir/Madam:

I have installed mpich-3.1.1 on my Mac OS 10.9.4. When I compile my fortran code, I get the following error message:
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '/mpich-3.1.1/lib/libmpifort.so' for architecture x86_64

Could you please give me hand on how to solve this problem? Thank you.

Sincerely yours,
Fei