[Wrf-users] Re: Wrf-users Digest, Vol 44, Issue 13

wrfhelp wrfhelp at ucar.edu
Tue Apr 22 17:57:40 MDT 2008


The mixed layer ocean model is based Pollard, Rhines and Thompson  
(1973). It will be documented in the
upcoming V3 tech note (to be available in June).

wrfhelp

On Apr 22, 2008, at 12:00 PM, wrf-users-request at ucar.edu wrote:

> 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. Ocean mixed layer in WRFV3 (Eric Altshuler)
>    2. problems building wrfpost (WPP) version 3 (Eric Altshuler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 21 Apr 2008 18:04:25 -0400 (EDT)
> From: Eric Altshuler <ela at cola.iges.org>
> Subject: [Wrf-users] Ocean mixed layer in WRFV3
> To: wrf-users <wrf-users at ucar.edu>
> Cc: wrfhelp <wrfhelp at ucar.edu>
> Message-ID: <1634338228.72451208815465779.JavaMail.root at mail.iges.org>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> The new users guide for WRFV3 mentions that an ocean mixed layer  
> option is available, but there is no description for it. Is there  
> documentation or a paper describing this ocean mixed layer model?
>
> Thanks,
>
> Eric L. Altshuler
> Assistant Research Scientist
> Center for Ocean-Land-Atmosphere Studies
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705-3106
> USA
>
> E-mail: ela at cola.iges.org
> Phone: (301) 902-1257
> Fax: (301) 595-9793
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 22 Apr 2008 00:46:32 -0400 (EDT)
> From: Eric Altshuler <ela at cola.iges.org>
> Subject: [Wrf-users] problems building wrfpost (WPP) version 3
> To: wrf-users <wrf-users at ucar.edu>
> Cc: wrfhelp <wrfhelp at ucar.edu>
> Message-ID: <1035745010.73621208839592633.JavaMail.root at mail.iges.org>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> I am trying to build wrfpost (WPP) version 3 on a Linux machine  
> with Intel compilers. After running configure, I am using the  
> default makefile (the only change I have made is to use -xP instead  
> of -xT in FFLAGS). The build is successful until the linking phase  
> when wrfpost.exe is supposed to be created. I get dozens of error  
> messages about undefined references, all having to do with MPI  
> routines, despite the fact that the default build for wrfpost on  
> Linux systems is serial and uses 'stub' MPI routines from the  
> library 'libmpi.a'. The first few error messages involve libwrflib.a:
>
> /data/cfs2/data/wrf/WRFV3/main/libwrflib.a(collect_on_comm.o): In  
> function `dst_on_comm':
> collect_on_comm.c:(.text+0x21): undefined reference to `MPI_Comm_f2c'
> collect_on_comm.c:(.text+0x81): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x90): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x11a): undefined reference to  
> `ompi_mpi_char'
> /data/cfs2/data/wrf/WRFV3/main/libwrflib.a(collect_on_comm.o): In  
> function `dist_on_comm0_':
> collect_on_comm.c:(.text+0x177): undefined reference to `MPI_Comm_f2c'
> collect_on_comm.c:(.text+0x1c5): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x1d4): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x257): undefined reference to  
> `ompi_mpi_char'
> /data/cfs2/data/wrf/WRFV3/main/libwrflib.a(collect_on_comm.o): In  
> function `dist_on_comm_':
> collect_on_comm.c:(.text+0x2b7): undefined reference to `MPI_Comm_f2c'
> collect_on_comm.c:(.text+0x309): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x318): undefined reference to `ompi_mpi_int'
> collect_on_comm.c:(.text+0x3a2): undefined reference to  
> `ompi_mpi_char'
> ...
> ...
>
> There are also many error messages of similar type for librsl_lite.a:
>
> /data/cfs2/data/wrf/WRFV3/external/RSL_LITE/librsl_lite.a 
> (c_code.o): In function `rsl_lite_exch_x_':
> c_code.c:(.text+0x69): undefined reference to `MPI_Comm_f2c'
> c_code.c:(.text+0xc9): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x107): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x13e): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x175): undefined reference to `ompi_mpi_char'
> /data/cfs2/data/wrf/WRFV3/external/RSL_LITE/librsl_lite.a 
> (c_code.o): In function `rsl_lite_exch_y_':
> c_code.c:(.text+0x219): undefined reference to `MPI_Comm_f2c'
> c_code.c:(.text+0x276): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x2b4): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x2eb): undefined reference to `ompi_mpi_char'
> c_code.c:(.text+0x322): undefined reference to `ompi_mpi_char'
> ...
> ...
>
> These two libraries being linked are built in WRFV3. I successfully  
> built and ran WRFV3 (DM parallel build) with Intel compilers and  
> Open MPI, and I also had no problem building WPS (serial) and  
> ARWpost. I suspect the problem in wrfpost is this: even though it  
> is not using 'real' MPI, it links with libraries which contain  
> routines that do make MPI calls, but the MPI routines themselves  
> are not being loaded because wrfpost is not using the MPI compiler  
> wrappers (which shouldn't be necessary for a serial build!) Is  
> there a way to tell the linker to ignore those routines in a  
> library that are never actually called in the program?
>
> In contrast, I was able to build and run wrfpost on the same system  
> using PGI compilers (I built WRFV3 with PGI and MPICH2). But our IT  
> department is looking to migrate to Intel and Open MPI, so I need  
> to get all components of WRF working with this combination.
>
> There are two possible solutions to this problem:
>
> a) build wrfpost as serial code and fix the problem with undefined  
> references
> b) build wrfpost as parallel code
>
> The WRF Users Guide mentions that wrfpost can be run in parallel,  
> but unfortunately it does not explain how to change the Linux  
> makefile to enable this. I am looking for advice on how to do a) or  
> b) above (having both options would be even better).
>
> Thanks in advance for your feedback.
>
> Best regards,
>
> Eric L. Altshuler
> Assistant Research Scientist
> Center for Ocean-Land-Atmosphere Studies
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705-3106
> USA
>
> E-mail: ela at cola.iges.org
> Phone: (301) 902-1257
> Fax: (301) 595-9793
>
>
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 44, Issue 13
> *****************************************



More information about the Wrf-users mailing list