- To: "Ryan Glover" <prionscientific@xxxxxxxxx>, netcdfgroup@xxxxxxxxxxxxxxxx
- Subject: Re: netxdf, xlf, os x (10.4.5) issue
- From: "Roy Mendelssohn" <Roy.Mendelssohn@xxxxxxxx>
- Date: Wed, 1 Mar 2006 17:18:47 -0800
Did you check carefully that the module shown by nm and the undefined
module are identical, especially in terms of caps and also the number
of leading and trailing underscores. That is what most often does
things in.
-Roy M. At 7:38 PM -0500 3/1/06, Ryan Glover wrote:
Hello, I was hoping someone could offer some insight into a problem I am having. I have downloaded netcdf-3.6.1 and installed it using a slight modification to Craig Mattock's macosx-xlf.sh script. After some initial headaches netcdf seems to have installed itself correctly. The problem occurs when I try to use the netcdf.mod file in a simple test fortran program. I call the netcdf function nf90_open and when the code compiles /usr/bin/ld raises an undefined symbol error. The symbol it cannot find is named __netcdf_MOD_nf90_open. I have discovered that when xlf compiles modules it prepends the two underscores, the name of the module and _MOD_ to all function calls. I used nm to look into libnetcdf.a and the function is in there. This leaves me wondering what the problem is. Does anyone have any insight? Please let me know if you need more information, I have been battling this problem for a number of days and I am coming to my wits end. Thank you for any assistance or attention you may pay to this problem. Best regards, Ryan Glover
-- **********************"The contents of this message do not reflect any position of the Government or NOAA."
********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill."
- Follow-Ups:
- Re: netxdf, xlf, os x (10.4.5) issue
- From: Dave Allured
- Re: netxdf, xlf, os x (10.4.5) issue
- References:
- netxdf, xlf, os x (10.4.5) issue
- From: Ryan Glover
- netxdf, xlf, os x (10.4.5) issue