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.
Michael, Many routines have been changed between 5.4 and 5.6. You should check your programs calling sequences of gemlib routines and make sure they match the prototypes for the gemlib routines. All of the gemlib routines that your program will call will be under $GEMPAK/source/gemlib If your program calls IN_BDTA for example, the first 2 letters before the "_" will be the subdirectory under the directory above, so the routine will be $GEMPAK/source/gemlib/in/inbdta.f for example. Some of the routines, such as the surface and upper air file proceedures now pass back the station priority, so there is 1 more argument to the subroutine call. You will have to update your calling program accordingly to pass the correct number of variables. Steve Chiswell On Tue, 22 Jan 2002, Michael J. Brennan wrote: > Steve, > > Thanks for the info. I made the change, and while the program now > compiles, it doesn't work correctly as it did before. Are there any > other changes that might have been made to the libraries that could have > caused this? How can I see which routines are located in the particular > libraries? > > Thanks for the help, > > Mike > > Steve Chiswell wrote: > > > > Michael, > > > > You need to add cgemlib.a to your list of libraries being linked. > > All CFL_ routines are in cgemlib.a. > > > > Steve Chiswell > > Unidata User Support > > > > On Mon, 21 Jan 2002, Michael J. Brennan wrote: > > > > > Hi, > > > > > > I've been compiling f77 programs and linking to the GEMPAK libraries > > > without any problems using GEMPAK 5.4, but since we switched to 5.6, I > > > get now get this error: > > > > > > Undefined symbol first referenced in file > > > cfl_scnd_ > > > /fs/jet6/pkg/nawips/lib/sol/gemlib.a(flscnd.o) > > > > > > Could this symbol have been moved to another library? Any > > > suggestions? > > > > > > Thanks, > > > > > > Mike Brennan > > > ******************************************************** > > > * Michael J. Brennan * > > > * Graduate Research Assistant * > > > * Forecasting Research Lab * > > > * Room 100 Research III * > > > * Department of Marine, Earth and Atmospheric Sciences * > > > * North Carolina State University Box 8208 * > > > * Raleigh, NC 27695-8208 * > > > * Email: address@hidden * > > > * Phone: (919) 515-1447 * > > > ******************************************************** > > > >