wrfsi crash - Repost from old forum

Having problems running WRFSI?

wrfsi crash - Repost from old forum

Postby malonso » Sun Nov 30, 2008 1:19 am

I have built WRF and WRFSI on a x86_64 bit Opteron machine running RHEL4

I am trying to run wrfsi to generate a 115x100 12km domain.

wrfsi seems to have built okay and runs ./wrf_tools just fine.

BUT

when I get to the horizontal grid tab, i set up my domain, etc and click on "next"
it echos out" writing namelist and domain.gif"

and then crashes and tells me to:

Look at file /tmp/wrf_tools.log


The contents of that file are:

Xlib: sequence lost (0x10000 > 0x2f9b) in reply type 0x7!
X Error of failed request: 64
Major opcode of failed request: 146 ()
Minor opcode of failed request: 32
Serial number of failed request: 0
Current serial number in output stream: 12187

Any clues on what is going on here?

Thanks,
Aaron
malonso
Site Admin
 
Posts: 158
Joined: Sun Mar 02, 2008 9:48 pm

Re: wrfsi crash - Repost from old forum

Postby kwthomas » Sun Nov 30, 2008 1:20 am

There *is* a code problem. It doesn't compile on an RS6000, at least in 64-bit mode. Changes are to files in wrfsi/gui/src. Maybe you are being quietly affected. Code is below.

To build, I had to use the TK software from the previous WRFSI release. The system that I use didn't have the version of Perl required to use the TK software with the current release.

You might try the code changes first, then back down the TK version if that doesn't help. WRFSI runs fine in 64-bit mode with AIX.

Kevin Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
Norman, Oklahoma

Code: Select all
=======================================================================
*** create_bcd_bkgnd_xy.c_orig  Sat Jul 16 16:30:53 2005
--- create_bcd_bkgnd_xy.c       Mon Aug  8 17:08:48 2005
***************
*** 714,720 ****
 
          s1   = size - 1;
          ptmp = pdat;
!         pend = pdat + (n * size);
          while (ptmp < pend)
          {
              pi = ptmp;
--- 714,720 ----
 
          s1   = size - 1;
          ptmp = pdat;
!         pend = (unsigned char *) pdat + (n * size);
          while (ptmp < pend)
          {
              pi = ptmp;
=======================================================================

*** Makefile_orig       Fri Nov 26 15:47:16 2004
--- Makefile    Mon Aug  8 17:12:29 2005
***************
*** 18,24 ****
 
  LIB = libcgui.a
  DEBUGLIB = libdebugcgui.a
! ARCHIVE = ar rv
  .c.o:
                        $(RM) $@
                        $(CC) -c $(CFLAGS) $(BYTEFLAG) $(INC) $*.c
--- 18,24 ----
 
  LIB = libcgui.a
  DEBUGLIB = libdebugcgui.a
! ARCHIVE = $(AR) rv
  .c.o:
                        $(RM) $@
                        $(CC) -c $(CFLAGS) $(BYTEFLAG) $(INC) $*.c
***************
*** 41,51 ****
  all:  $(EXE1) $(EXE2)
 
  $(EXE1):$(OBJS)
!       $(CC) -o $(EXE1) $(MAIN1) -I$(SRCROOT)/src/include $(LIB) $(LAPSLIBS) /usr/lib/libm.a;
        rm -f *.o
 
  $(EXE2):$(OBJS)
!       $(CC) -o $(EXE2) $(MAIN2) -I$(SRCROOT)/src/include $(LIB) $(LAPSLIBS) /usr/lib/libm.a;
        rm -f *.o
 
  debug: $(SRC)
--- 41,51 ----
  all:  $(EXE1) $(EXE2)
 
  $(EXE1):$(OBJS)
!       $(CC) -o $(EXE1) $(LDFLAGS) $(MAIN1) -I$(SRCROOT)/src/include $(LIB) $(LAPSLIBS) /usr/lib/libm.a;
        rm -f *.o
 
  $(EXE2):$(OBJS)
!       $(CC) -o $(EXE2) $(LDFLAGS) $(MAIN2) -I$(SRCROOT)/src/include $(LIB) $(LAPSLIBS) /usr/lib/libm.a;
        rm -f *.o
 
  debug: $(SRC)
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 210
Joined: Thu Aug 07, 2008 6:53 pm

Re: wrfsi crash - Repost from old forum

Postby malonso » Sun Nov 30, 2008 1:20 am

Hmm,

After further investigation, it turns out that there was nothing wrong with my build after all. The error must be related to my Xserver running on Windows XP dropping the connection from the WRFSI. I dont know why it does this, other programs I display back function fine. Im using X-Win32-V5.4.

But when I log in on the Linux box itself and run WRFSI--no problems what-so-ever.

So as an FYI--if this happens to anyone when displaying back to a windows box, try logging in locally and running. And if you know why X-win32 is crashing, please let me know.

Aaron
malonso
Site Admin
 
Posts: 158
Joined: Sun Mar 02, 2008 9:48 pm


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron