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.
> Full Name: G.NageswaraRao > Email Address: address@hidden > Organization: NPOL > Package Version: 3.6.2 > Operating System: RHEL-3.0 > Hardware: AMD 64bit > Description of problem: Actuallay I didnt found f90tst_vars in nf_test. But I found only ftst_vars.F. When I compiled with ifort I got error: > /shared/IntelFort/bin/ifort ftst_vars.F > /tmp/ifortQuCH0Y.o(.text+0x351): In function `MAIN__': > : undefined reference to `nf_create_' > /tmp/ifortQuCH0Y.o(.text+0x381): In function `MAIN__': > : undefined reference to `nf_def_dim_' > /tmp/ifortQuCH0Y.o(.text+0x3b1): In function `MAIN__': > : undefined reference to `nf_def_dim_' > /tmp/ifortQuCH0Y.o(.text+0x406): In function `MAIN__': > : undefined reference to `nf_def_var_' > /tmp/ifortQuCH0Y.o(.text+0x436): In function `MAIN__': > : undefined reference to `nf_def_var_deflate_' > /tmp/ifortQuCH0Y.o(.text+0x45b): In function `MAIN__': > : undefined reference to `nf_def_var_fletcher32_' > /tmp/ifortQuCH0Y.o(.text+0x48a): In function `MAIN__': > : undefined reference to `nf_inq_var_deflate_' > /tmp/ifortQuCH0Y.o(.text+0x4ea): In function `MAIN__': > : undefined reference to `nf_inq_var_fletcher32_' > /tmp/ifortQuCH0Y.o(.text+0x539): In function `MAIN__': > : undefined reference to `nf_put_var_int_' > /tmp/ifortQuCH0Y.o(.text+0x554): In function `MAIN__': > : undefined reference to `nf_close_' > /tmp/ifortQuCH0Y.o(.text+0x57e): In function `MAIN__': > : undefined reference to `nf_open_' > /tmp/ifortQuCH0Y.o(.text+0x5a8): In function `MAIN__': > : undefined reference to `nf_inq_varid_' > /tmp/ifortQuCH0Y.o(.text+0x601): In function `MAIN__': > : undefined reference to `nf_inq_var_deflate_' > /tmp/ifortQuCH0Y.o(.text+0x661): In function `MAIN__': > : undefined reference to `nf_inq_var_fletcher32_' > /tmp/ifortQuCH0Y.o(.text+0x6b0): In function `MAIN__': > : undefined reference to `nf_get_var_int_' > /tmp/ifortQuCH0Y.o(.text+0xbd7): In function `MAIN__': > : undefined reference to `nf_close_' > /tmp/ifortQuCH0Y.o(.text+0xc39): In function `MAIN__': > : undefined reference to `handle_err_' > /tmp/ifortQuCH0Y.o(.text+0x16fa): In function `MAIN__': > : undefined reference to `handle_err_' > /tmp/ifortQuCH0Y.o(.text+0x170e): In function `MAIN__': > : undefined reference to `handle_err_' > /tmp/ifortQuCH0Y.o(.text+0x1722): In function `MAIN__': > : undefined reference to `handle_err_' > /tmp/ifortQuCH0Y.o(.text+0x1736): In function `MAIN__': > : undefined reference to `handle_err_' > /tmp/ifortQuCH0Y.o(.text+0x174a): more undefined references to `handle_err_' follow > > I think this is creating the problem. > I compiled the netcdf with gfortran with -frepack -arrays options only then also I got the same error. > > Can anybody help me. > > Thanks in advance > > With best regards, > G.NageswaraRao. > > Please do a "make clean check" in the nf_test directory and send me the output. Thanks, Ed Ticket Details =================== Ticket ID: ABX-366174 Department: Support netCDF Priority: Normal Status: Open