[MITgcm-support] Compile MITgcm with gfortran+MPI

Yuan Lian lian at email.arizona.edu
Thu May 24 18:06:28 EDT 2007


I just figured out I compiled mpich with g77. I am now compiling mpich 
with gfortran. I will report my results here.

Thanks for all your help!

Yuan

Haferman, Jeffrey (Jeff) (CIV) wrote:
>
> Are you sure that the mpich was also compiled with 64 bit gfortran?
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* mitgcm-support-bounces at mitgcm.org 
> [mailto:mitgcm-support-bounces at mitgcm.org] *On Behalf Of *Mark Hadfield
> *Sent:* Thursday, May 24, 2007 2:32 PM
> *To:* mitgcm-support at mitgcm.org
> *Subject:* Re: [MITgcm-support] Compile MITgcm with gfortran+MPI
>
>  
>
> Yuan Lian wrote:
>
> Hi,
>
> Does anyone successfully compile MITgcm with 64 bit gfortran and 
> mpich. gfortran version I am using is 4.3.x.
> I could compile most of the code but failed at the last step when the 
> compiler tried to link mpich library. It gave
> bunch of errors complaining about undefined mpi functions. Any help 
> will be appreciated.
>
> It could well be a mismatch in the name mangling or calling 
> conventions. This paper has some useful info:
>
> http://www.redbooks.ibm.com/redpapers/pdfs/redp4183.pdf
>
>
>
> -- 
> Mark Hadfield          "Ka puwaha te tai nei, Hoea tahi tatou"
> m.hadfield at niwa.co.nz <mailto:m.hadfield at niwa.co.nz>
> National Institute for Water and Atmospheric Research (NIWA)
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>   




More information about the MITgcm-support mailing list