<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I've compiled NCL v6.6.2 on AIX7.2. When I execute .ncl script with
"ncl" on command prompt, say<br>
<br>
***<br>
ncl test.ncl<br>
***<br>
<br>
The script is unable to run, and "ncl" gives this error at the end:<br>
<br>
***<font size="2" face="sans-serif"><br>
fatal:NhlRealloc Failed:[errno=12]<br>
fatal:ContourPlotPreDraw: dynamic memory allocation error<br>
fatal:%s: invalid workspace: invalid workspace<br>
fatal:%s: invalid workspace: invalid workspace<br>
fatal:ContourPlotDraw: draw error<br>
fatal:PlotManagerPreDraw: error in plot pre-draw<br>
fatal:_NhlPlotManagerDraw: PreDraw error<br>
fatal:syntax error: line -1 before or near ▒<br>
▒<br>
***<br>
</font><br>
If I add a "<" like this <br>
<br>
<br>
***<br>
ncl < test.ncl<br>
***<br>
<br>
It will run smoothly. This is all good until we find out that this
workaround doesn't work for other NCL programs in the package. When
I try:<br>
<br>
***<br>
ncl_convert2nc test.grb<br>
***<br>
<br>
It doesn't work at all, and gives these errors:<br>
<br>
***<br>
fatal:NclGRIB: Deleting reference to parameter because of decoding
error<br>
fatal:NclGRIB: Variable contains no GRIB records<br>
fatal:syntax error: line -1 before or near � <br>
�<br>
***<br>
<br>
Adding a "<" in this case will not help, as "ncl_convert2nc" is
unable to recognize the options.<br>
<br>
I thought it is a problem related to the server itself, but when I
tried to do the same thing with the pre-compiled version of NCL, it
just run flawlessly. The versions I tried are v5.2.1 and v6.0.0.
This makes me wonder if I'm doing anything wrong during the
compilation. Any clue?<br>
<br>
<br>
Thank you,<br>
WK.<br>
</body>
</html>