[Wrf-users] Wrf-users Digest, Vol 78, Issue 1

Thomas Schwitalla thomas.schwitalla at uni-hohenheim.de
Thu Feb 3 00:03:15 MST 2011


Dave,

that's what I successfully use:

FC                  =       gfortran
SFC                =       gfortran
FFLAGS          =       -ffree-form -O -fno-second-underscore
F77FLAGS      =       -ffixed-form -O -fno-second-underscore
FNGFLAGS     =       $(FFLAGS)
LDFLAGS       =
CC                 =       gcc
SCC               =       gcc
CFLAGS         =
CPP               =       /lib/cpp -C -P -traditional
CPPFLAGS     =       -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32

Thomas


Am 02.02.2011 20:00, schrieb wrf-users-request at ucar.edu:
> Send Wrf-users mailing list submissions to
> 	wrf-users at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ucar.edu/mailman/listinfo/wrf-users
> or, via email, send a message with subject or body 'help' to
> 	wrf-users-request at ucar.edu
>
> You can reach the person managing the list at
> 	wrf-users-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wrf-users digest..."
>
>
> Today's Topics:
>
>     1. Compile WPS with gfortran and gcc (Huber, David)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 1 Feb 2011 06:28:56 +0000
> From: "Huber, David"<dbh409 at ku.edu>
> Subject: [Wrf-users] Compile WPS with gfortran and gcc
> To: "wrf-users at ucar.edu"<wrf-users at ucar.edu>
> Message-ID:
> 	<A644457BC398E2478714678865618326AED4 at EXCH10-MBX-02.home.ku.edu>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> I have run into a situation where I need to have a version of WPS compiled with the GNU compilers.  I need to be able to write WPS intermediate files in NCL using a Fortran stub so that WPS can process them and generate NetCDF input files.  I am using a GNU precompiled binaries version of NCL, so WPS and the stub must also be compiled with the GNU compilers.  This build of WPS will not be used normally, and I don't need any of the utilities, geogrid.exe, or ungrib.exe, just metgrid.exe.  It's a 64-bit CentOS machine running bash.  The architecture specific settings in configure.wps are as follows:
>
> #### Architecture specific settings ####
>
> # Settings for PC Linux x86_64, gfortran compiler,   serial, NO GRIB2
> #
> COMPRESSION_LIBS        =
> COMPRESSION_INC         =
> FDEFS                   =
> FC              =       gfortran
> SFC             =       gfortran
> FFLAGS          =       -ffree-form -w -fno-underscoring
> F77FLAGS        =       -ffixed-form -w -fno-underscoring
> FNGFLAGS        =       $(FFLAGS)
> LDFLAGS         =       -w
> CC              =       gcc
> SCC             =       gcc
> CFLAGS          =       -w
> CPP             =       /usr/bin/cpp -C -P -traditional
> CPPFLAGS        =       -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32
>
> I get several errors with this and the compilation is not successful.  I'm not sure what flags I have wrong here, but any guidance would be much appreciated.
>
> Thanks,
>
> Dave
>
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 78, Issue 1
> ****************************************


More information about the Wrf-users mailing list