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.
Hi Vicky, > I am getting below error while building wrf component for icc > tool chain can u plz guide me how can i resolve it. > > > *ipo_out4.f:(.text.hot000ef+0xbb58a): undefined reference to > `nf_create_'ipo_out4.f:(.text.hot000ef+0xbb5cb): undefined reference to > `nf__create_'/tmp/ipo_ifort7PYhAI4.o: In function > `netcdf_mp_nf90_set_base_pe_':ipo_out4.f:(.text.hot000ef+0xbb5f3): > undefined reference to `nf_set_base_pe_'/tmp/ipo_ifort7PYhAI4.o: In > function `netcdf_mp_nf90_inq_base_pe_':ipo_out4.f:(.text.hot000ef+0xbb603): > undefined reference to `nf_inq_base_pe_'/tmp/ipo_ifort7PYhAI4.o: In > function `netcdf_mp_nf90_strerror_':ipo_out4.f:(.text.hot000ef+0xbb625): > undefined reference to `nf_strerror_'/tmp/ipo_ifort7PYhAI4.o: In function > `netcdf_mp_nf90_inq_libvers_':ipo_out4.f:(.text.hot000ef+0xbb685): > undefined reference to `nf_inq_libvers_'* We'll need more information. What version of the the netCDF library is installed? Is there a separate netCDF Fortran library (with a name such as libnetcdff and .so or .a extension), from the netCDF C library (with a name such as libnetcdf with .so or .a extension). What load flags are you using to build your application? If you have a separate netCDF Fortran library, you typically have to use -lnetcdff -lnetcdf to get both the Fortran and C netCDF libraries linked in the right order. Are you using the same Fortran compiler as was used in building the netCDF Fortran library? If you still have the directory in which the netCDF Fortran library was built, have you run "make check" successfully? Finally, can you send us the "config.log" file that was created when netCDF was built and installed? Thanks. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: EXV-201416 Department: Support netCDF Priority: Normal Status: Closed