[mpich-discuss] mpich-3.1.1 compiling error

Balaji, Pavan balaji at anl.gov
Sat Jul 12 12:29:58 CDT 2014


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 <cnfyfgm at gmail.com> 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     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss




More information about the discuss mailing list