Re: [OMPI users] mpifort wrapper.txt

2014-07-29 Thread Gus Correa

On 07/29/2014 07:20 AM, Jeff Squyres (jsquyres) wrote:

On Jul 27, 2014, at 3:39 PM, Dan Shell  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


Re: [OMPI users] mpifort wrapper.txt

2014-07-29 Thread Jeff Squyres (jsquyres)
On Jul 27, 2014, at 3:39 PM, Dan Shell  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)
> 
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/07/24884.php


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