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: "Michael Dickinson" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200410142033.i9EKXlic004567 >Institution: AEF Inc. >Package Version: 5.7.3 >Operating System: Linux/SuSE 8.1 >Hardware Information: Opteron 64bit x86_64 >Inquiry: I recently downloaded and installed the GEMPAK 5.7.3 on our system he > re. I have a Fortran code that links to the GEMPAK libraries, but unfortunate > ly not all of what I thought were "intrinsic" routines were found. > >pgf90 -fast -o mm5togem mm5togem.o functions.o licalc.o pintp.o user_input > .o write2gem.o dot2cross.o xyll.o -L/home/gempak/GEMPAK5.7.3/lib/linux >mm5togem.o: In function `MAIN_': >mm5togem.o(.text+0x1990): undefined reference to `ip_init_' >mm5togem.o(.text+0x19df): undefined reference to `fl_inqr_' >mm5togem.o(.text+0x29cd): undefined reference to `gd_opnf_' >mm5togem.o(.text+0x32fa): undefined reference to `gd_cref_' >mm5togem.o(.text+0xf9fd): undefined reference to `gd_clos_' >mm5togem.o(.text+0xfa9b): undefined reference to `ip_exit_' >write2gem.o: In function `write2gem_': >write2gem.o(.text+0xd92): undefined reference to `gr_stat_' >write2gem.o(.text+0xe86): undefined reference to `gd_wpgd_' >make: *** [mm5togem] Error 2 > > >So routines like gd_clos and gd_openf were not found in the libraries. Have na > mes changed? > > > Michael, You need to specify the gemlib.a (and probably cgemlib.a libraries), such as: /home/gempak/GEMPAK5.7.3/lib/linux/gemlib.a /home/gempak/GEMPAK5.7.3/lib/linux/cgemlib.a Steve Chiswell Unidata User Support -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.