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.
Greetings, I would set it on the same line as the configure command: FCFLAG="-g -O2 -fno-second-underscore" ./configure <options> Cheers! Sean > Hello, It is me again, > > I learned that I need to recompile netcdf using the > -fno-second-underscore. I set the FCFLAG in my bash profile, but this > didn't work as the command > > nm /home/ronnieleeper/prgfiles/netcdf/lib/libnetcdff.so | grep nf_create > > Still returned > > 00000000000183a0 T nf_create__ > 00000000000225c0 T nf_create_par__ > > With two underscores. Is there a better place to set this flag?? > > Thanks, > > > There we go: wrf is looking for netCDF symbols with one trailing > > underscore (because you set the -fno-second-underscore flag during the > > compile), but your netCDF symbols have two trailing underscores. There are > > two ways to approach this. The first is to try to compile WRF without the > > -fno-second-underscore flag; the second is to recompile netCDF with the > > -fno-second-underscore flag. > > > > Let me know if that works! > > > > Sean > > > >> The print out from that command was: > >> > >> 00000000000183a0 T nf_create__ > >> 00000000000225c0 T nf_create_par__ > >> > >> Ronald David Leeper > >> USCRN Quality Assurance Specialist, NCDC > >> Research Associate, CICS-NC > >> Global Climate Applications Division > >> National Climatic Data Center > >> 151 Patton Ave. > >> Asheville, NC 28801-5001 > >> address@hidden > >> address@hidden > >> Office: (828) 257-3185 > >> Fax: (828) 271-4022 > >> > >> > >> > >> On 8/25/11 3:54 PM, "Unidata netCDF Support" > >> <address@hidden> wrote: > >> > >> > nm /home/ronnieleeper/prgfiles/netcdf/lib/libnetcdff.so | grep > >> nf_create > >> > >> > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: XXN-487077 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > Ticket Details =================== Ticket ID: XXN-487077 Department: Support netCDF Priority: Normal Status: Closed