[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000324: XSECTG and MDX produced THAE analyses (cont.)
- Subject: 20000324: XSECTG and MDX produced THAE analyses (cont.)
- Date: Mon, 27 Mar 2000 10:03:26 -0700
>From: Bill Fingerhut <address@hidden>
>Organization: Lyndon State College
>Keywords: 200003231451.HAA00534 McIDAS-X UCC PTCON XSECTG cron MDX
Bill,
I believe that I have traced the 'Program terminated, floating point
error' problem you are experiencing to MDX. With the 7.60 change in
how graphics are stored in memory, programs needed modification to
correctly bind of graphics calls. In practice this means that a 'CALL
ENPT' needs to be made to bind off what was setup with a 'CALL
INITPL'. I added the appropriate line to mdx.pgm; rebuilt the
executable mdx.k; and ran your BATCH file:
IGU DEL 2002
IGU MAKE 2002
UCC THAE 1000 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 925 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 850 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 700 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 500 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 400 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 300 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 250 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
UCC THAE 200 NA 12 MDF=14 DAY=2000084 GRIDF=2002 DRAW=NO
IGU DEL 2001
IGU COPY 2002 2001
XSECTG GRIDS=1 2 3 4 5 6 7 8 9 LAT=45 45 LON=70 120 CINT=4 FORM=GRID MAP=YES
ERASE=NO COLOR=3 TCOLOR=3 WIDTH=250 GRIDF=2001 GRA=1
SF 1
PC T 1 1
The interesting thing about this problem is that it only shows up in a
BATCH invocation. The reason for this is related to how programs are
associated within a BATCH invocation. What was happening was MDX was
not binding off graphic writes each time UCC was run (even though
DRAW=NO is specified!). Successive invocations of MDX through UCC was
causing memory to get stepped on; this eventually would kill the McIDAS
image window (mcimage) and cause McIDAS to exit.
While looking for the problem, I discovered that UPC and XSECTG also
needed the graphics binding off code, so I added it.
I made an Addenda that includes the fixes for MDX, UPC, and XSECTG. (I
also cut an entirely new distribution (Version 7.608) so that sites
desiring to "build from scratch" will be up to date). Information on
the contents of this and other Addenda along with information on how to
use the Addenda to build new executables can be found at:
Unidata Home Page
http://www.unidata.ucar.edu
Unidata McIDAS-X Home Page
http://www.unidata/ucar.edu/packages/mcidas/mcx
Addenda
http://www.unidata/ucar.edu/packages/mcidas/mcx/addenda.html
March 27 Addenda
http://www.unidata/ucar.edu/packages/mcidas/mcx/addenda_000327.html
Please let me know if you have any comments/questions about the Addenda
or the Addenda upgrade process.
Tom