On 07/29/2014 07:20 AM, Jeff Squyres (jsquyres) wrote:
On Jul 27, 2014, at 3:39 PM, Dan Shell <dshellwirel...@gmail.com> wrote:

I have been looking at the openmpi doc page and would like some pointers on how 
to implement the wrapper.txt file with  mpifort.

I'm not sure what you're asking here...?

I have the wrapper .txt file how does mpifort use the wrapper.txt file.

Presuming you had a Fortran compiler available when you configured/built Open 
MPI, Open MPI should have created an mpifort-wrapper-data.txt file for you and 
installed it under $pkgdatadir.  I.e., you shouldn't have to create anything.

Did Open MPI not do this?

Please send the output listed here:

    http://www.open-mpi.org/community/help/

Do I create a script copy the fortran wrapper.txt commands in the file to a
mkmf?  Not reall sure on how to proceed.  Any help would be appreciated.
See info below
Dan Shell

  make -f Make_lib_FMS
mpifort -Duse_netCDF -Duse_netCDF3 -Duse_libMPI -DUSE_OCEAN_BGC -DENABLE_ODA 
-DSPMD -DLAND_BND_TRACERS -I/usr/include 
-I/root/Desktop/NEW_MOM/openmpi/include -I/root/Desktop/NEW_MOM/newmom/netcdf 
-I/root/Desktop/NEW_MOM/newmom/netcdf/include   -fcray-pointer  -g  
-fdefault-real-8 -O2 -Waliasing -ffree-line-length-none -fno-range-check  -c 
-I/root/Desktop/NEW_MOM/newmom/src/shared/include 
-I/root/Desktop/NEW_MOM/newmom/src/shared/mpp/include    
/root/Desktop/NEW_MOM/newmom/src/shared/mpp/mpp_data.F90
--------------------------------------------------------------------------
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)


The error message is complaining about mpicc, not mpifort.
I wonder if this may be due to a Makefile misconfiguration again.
My two cents,
Gus Correa

Reply via email to