On Aug 20, 2015, at 3:54 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:
> 
> Ah, I see the issue:
> 
> -----
>  GENERATE psizeof_f.f90
>  FC       psizeof_f.lo
> WARNING: Source file "psizeof_f.f90" contains no Fortran statements.
> 
> f90comp: 29 SOURCE LINES
> f90comp: 0 ERRORS, 1 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
> -----
> 
> As you can see, (p)sizeof_f.f90 is a generated file.  I'll bet that OMPI 
> determined that your Fortran compiler didn't support enough Fortran mojo to 
> properly support MPI_SIZEOF.  So it generated an empty .f90 file.  And 
> therefore it 

Heh -- I didn't complete that sentence...

And therefore it didn't generate libmpi_mpifh_sizeof.a (gfortran <v4.9 will 
generate an effectively "empty" libmpi_mpifh_sizeof.a).  Hence, a subsequent 
link that depended on that library failed.

> Easy enough to fix...

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to