On Aug 20, 2015, at 3:56 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:
> 
>> 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 
> 
> 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.

Paul: can you verify my theory?

Do this in your existing build:

-----
rm -f ompi/mpi/fortran/base/gen-mpi-sizeof.pl
wget \
  
https://raw.githubusercontent.com/open-mpi/ompi/master/ompi/mpi/fortran/base/gen-mpi-sizeof.pl
 \
  -O ompi/mpi/fortran/base/gen-mpi-sizeof.pl
chmod +x ompi/mpi/fortran/base/gen-mpi-sizeof.pl
rm ompi/mpi/fortran/mpif-h/profile/psizeof_f.f90
make -j 32
-----

That will download the new script from master (which is identical to the v1.10 
version, but I have committed the fix to master), make it executable, remove 
the generated psizeof_f.f90 file, and then run the build again -- which will 
cause it to generate psizeof_f.f90 again and try to build again.

Thanks!

-- 
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