This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Robert Mullenax <address@hidden> >Organization: National Scientific Balloon Facility >Keywords: 199903230406.VAA25625 McIDAS-X 7.50 SC5.0 mcgget.for Robert, I got back on your system this evening and did some more poking around. I found that not only does GRDDISP produce a segmentation violation, but GRDINFO and GRDCOPY also produce the same results. All of these routines call MCGGET. If I compile it with optimization turned off and relink GRDDISP, GRDINFO, and GRDCOPY, they run without problems. As soon as mcgget.for is compiled with optimization, all of these GRD* routines dump core. I don't know the reason for the cause of the failure yet, but at least I know where to look. I am leaving your system with an unoptimized version of mcgget.o included in libmcidas.a, so relinks of whatever routines that call it (there may be more than above; I havn't checked yet) should produce functional code. I will upload a fix as soon as I can figure out exactly what is happening (assuming, of course, that the problem is in the mcgget.for code and not in the compiler). Tom