You should get a libmpifort.dylib on the mac, not a .so file. Did you use the Intel compiler by any chance? There seems to be an issue with libtool not understanding the Intel compilers on the mac. Alternatively, you can try building mpich with the GNU compilers. — Pavan On Jul 12, 2014, at 10:56 AM, Fei <[email protected]> wrote:
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 _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss