I think it is a problem peculiar to netcdf4. We also had the same problem and hastily switched back to netcdf 3 to solve the issue. If you google for this, you may find more info about this problem (there is some discussion on the pgfortran groups regarding this..)<br>
<br>saji<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 6:11 AM, Selin, Rebecca D CTR USAF AFWA 16 WS/WXE <span dir="ltr">&lt;<a href="mailto:Rebecca.Selin.Ctr@offutt.af.mil">Rebecca.Selin.Ctr@offutt.af.mil</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Andrew,<br>
<br>
Excellent, glad that&#39;s not it!<br>
<br>
However, the problem still is that your netcdf library isn&#39;t linking in correctly.  I recognize all those undefined references from when my netcdf library didn&#39;t link.  I can&#39;t find in your compilation options below where you define your netcdf path.  Could you possibly be linking to a 32-bit version instead of 64-bit?<br>

<div class="im"><br>
Becky Adams Selin<br>
Atmospheric &amp; Environmental Research, Inc.<br>
AFWA 16th Wx Sqdn  <a href="tel:%28402%29%20294-5273" value="+14022945273">(402) 294-5273</a><br>
<br>
<br>
-----Original Message-----<br>
</div>From: Andrew Penny [mailto:<a href="mailto:andybpenny@hotmail.com">andybpenny@hotmail.com</a>]<br>
Sent: Monday, April 25, 2011 4:11 PM<br>
To: Selin, Rebecca D CTR USAF AFWA 16 WS/WXE<br>
Subject: Re: [Wrf-users] error compiling (icc &amp; ifort) WRFV3.3 with NetCDF V4.12<br>
<br>
Hi Becky,<br>
<br>
The &#39;/path/to/netcdf&#39; is not an actual directory - it was meant to be<br>
simply a placeholder for the NetCDF install location. It is declared<br>
correctly for the LIB_EXTERNAL variable.<br>
<div class="im"><br>
Andrew Penny<br>
Research Associate - Meteorology Department<br>
Naval Postgraduate School<br>
Monterey, CA 93943<br>
Phone: <a href="tel:%28831%29%20656-3101" value="+18316563101">(831) 656-3101</a><br>
<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Apr 25, 2011, at 12:29 PM, Selin, Rebecca D CTR USAF AFWA 16 WS/WXE wrote:<br>
<br>
&gt; Andrew - Looks like your netcdf library isn&#39;t linking in correctly.  In your LIB_EXTERNAL setting, change &#39;-L/path/to/netcdf/lib&#39; to your netcdf path.<br>
&gt;<br>
&gt; Becky Adams Selin<br>
&gt; Atmospheric &amp; Environmental Research, Inc.<br>
&gt; AFWA 16th Wx Sqdn  <a href="tel:%28402%29%20294-5273" value="+14022945273">(402) 294-5273</a><br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:wrf-users-bounces@ucar.edu">wrf-users-bounces@ucar.edu</a> [mailto:<a href="mailto:wrf-users-bounces@ucar.edu">wrf-users-bounces@ucar.edu</a>] On Behalf Of Andrew Penny<br>
&gt; Sent: Monday, April 25, 2011 2:23 PM<br>
&gt; To: <a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a><br>
&gt; Subject: [Wrf-users] error compiling (icc &amp; ifort) WRFV3.3 with NetCDF V4.12<br>
&gt;<br>
&gt; We are having problems getting the latest version of WRF compiled with the latest version of NetCDF.<br>
&gt;<br>
&gt; Here are the compilation options we are using for NetCDF 4.1.2:<br>
&gt;<br>
&gt; ---------------------------------------------------<br>
&gt; export CC=mpicc<br>
&gt; export CXX=mpicxx<br>
&gt;<br>
&gt; export FC=mpif90<br>
&gt; export F77=mpif77<br>
&gt; export F90=mpif90<br>
&gt;<br>
&gt; export CPP=&#39;icpc -E&#39;<br>
&gt; export CXXCPP=&#39;icpc -E&#39;<br>
&gt;<br>
&gt; export CFLAGS=&#39;-O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC&#39;<br>
&gt; export CXXFLAGS=&#39;-O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC&#39;<br>
&gt; export CPPFLAGS=&#39;-DpgiFortran -I/opt/hdf5/intel/include -I/opt/hdf4/intel/include -I/opt/udunits/intel/include -I/usr/include -I/opt/szip/intel/include -I/usr/mpi/intel/mvapich2-1.6/include&#39;<br>
&gt;<br>
&gt; export FFLAGS=&#39;-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore&#39;<br>
&gt; export FCFLAGS=&#39;-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore&#39;<br>
&gt; export FCFLAGS_f90=&#39;-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore&#39;<br>
&gt; export F90FLAGS=&#39;-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore&#39;<br>
&gt; export LDFLAGS=&#39;-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC&#39;<br>
&gt;<br>
&gt; export LIBS=&quot;-L/opt/hdf5/intel/lib -lhdf5_fortran -lhdf5_hl -lhdf5 -L/opt/hdf4/intel/lib -ldf -L/opt/udunits/intel/lib -ludunits2 -L/usr/lib64 -lz -lm -L/opt/szip/intel/lib -lsz&quot;<br>
&gt;<br>
&gt; ./configure --disable-shared --enable-large-file-tests --enable-fortran --enable-f90 --enable-f77 --disable-netcdf-4 --enable-netcdf4 --enable-parallel --enable-cxx-4 --enable-cxx --enable-hdf4 --enable-utilities --with-libcf --with-zlib=/usr --with-szlib=/opt/szip/intel --with-hdf4=/opt/hdf4/intel --with-hdf5=/opt/hdf5/intel --with-curl-config=/usr/bin --prefix=/path/to/netcdf<br>

&gt; ---------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt; The mpif77/mpicc/mpif90 binaries are compiled using the Intel C++/FORTRAN compilers.<br>
&gt;<br>
&gt;<br>
&gt; Here is the &quot;LIB_EXTERNAL&quot; variable setting in the &#39;configure.wrf&#39; file for compiling WRF version 3.3:<br>
&gt;<br>
&gt; ---------------------------------------------------<br>
&gt; LIB_EXTERNAL    = \<br>
&gt;                      -L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/path/to/netcdf/lib -lnetcdff -lnetcdf   -L$(WRF_SRC_ROOT_DIR)/external/io_grib2 -lio_grib2 -L/opt/jasper/intel/lib -ljasper -L/opt/hdf4/intel/lib -ldf -lmfhdf -L/opt/hdf5/intel/lib -lhdf5_fortran -lhdf5_hl -lhdf5 -L/opt/g2clib/intel/lib -lgrib2c -L/usr/lib64 -lcurl<br>

&gt; ---------------------------------------------------<br>
&gt;<br>
&gt; Here are the error messages that show up during the &#39;./compile em_real&#39; process:<br>
&gt;<br>
&gt; ---------------------------------------------------<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_text_&#39;:<br>
&gt; fort-attio.c:(.text+0x7a): undefined reference to `nc_put_att_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_text_&#39;:<br>
&gt; fort-attio.c:(.text+0x18d): undefined reference to `nc_get_att_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int1_&#39;:<br>
&gt; fort-attio.c:(.text+0x2af): undefined reference to `nc_put_att_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int1_&#39;:<br>
&gt; fort-attio.c:(.text+0x3bd): undefined reference to `nc_get_att_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int2_&#39;:<br>
&gt; fort-attio.c:(.text+0x4df): undefined reference to `nc_put_att_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int2_&#39;:<br>
&gt; fort-attio.c:(.text+0x5ed): undefined reference to `nc_get_att_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int_&#39;:<br>
&gt; fort-attio.c:(.text+0x70f): undefined reference to `nc_put_att_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int_&#39;:<br>
&gt; fort-attio.c:(.text+0x81d): undefined reference to `nc_get_att_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_real_&#39;:<br>
&gt; fort-attio.c:(.text+0x93f): undefined reference to `nc_put_att_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_real_&#39;:<br>
&gt; fort-attio.c:(.text+0xa4d): undefined reference to `nc_get_att_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_double_&#39;:<br>
&gt; fort-attio.c:(.text+0xb6f): undefined reference to `nc_put_att_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_double_&#39;:<br>
&gt; fort-attio.c:(.text+0xc7d): undefined reference to `nc_get_att_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_create_&#39;:<br>
&gt; fort-control.c:(.text+0x64): undefined reference to `nc_create&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__create_&#39;:<br>
&gt; fort-control.c:(.text+0x1a0): undefined reference to `nc__create&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_open_&#39;:<br>
&gt; fort-control.c:(.text+0x2b4): undefined reference to `nc_open&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__open_&#39;:<br>
&gt; fort-control.c:(.text+0x3d8): undefined reference to `nc__open&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_fill_&#39;:<br>
&gt; fort-control.c:(.text+0x491): undefined reference to `nc_set_fill&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_redef_&#39;:<br>
&gt; fort-control.c:(.text+0x4a4): undefined reference to `nc_redef&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_enddef_&#39;:<br>
&gt; fort-control.c:(.text+0x4b4): undefined reference to `nc_enddef&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__enddef_&#39;:<br>
&gt; fort-control.c:(.text+0x4d0): undefined reference to `nc__enddef&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_sync_&#39;:<br>
&gt; fort-control.c:(.text+0x4e4): undefined reference to `nc_sync&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_close_&#39;:<br>
&gt; fort-control.c:(.text+0x4f4): undefined reference to `nc_close&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_delete_&#39;:<br>
&gt; fort-control.c:(.text+0x55a): undefined reference to `nc_delete&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__create_mp_&#39;:<br>
&gt; fort-control.c:(.text+0x68a): undefined reference to `nc__create_mp&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__open_mp_&#39;:<br>
&gt; fort-control.c:(.text+0x7d0): undefined reference to `nc__open_mp&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_delete_mp_&#39;:<br>
&gt; fort-control.c:(.text+0x8e3): undefined reference to `nc_delete_mp&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_base_pe_&#39;:<br>
&gt; fort-control.c:(.text+0x986): undefined reference to `nc_set_base_pe&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_inq_base_pe_&#39;:<br>
&gt; fort-control.c:(.text+0x99f): undefined reference to `nc_inq_base_pe&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_abort_&#39;:<br>
&gt; fort-control.c:(.text+0x9b4): undefined reference to `nc_abort&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_default_format_&#39;:<br>
&gt; fort-control.c:(.text+0x9cf): undefined reference to `nc_set_default_format&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_def_dim_&#39;:<br>
&gt; fort-dim.c:(.text+0x78): undefined reference to `nc_def_dim&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimid_&#39;:<br>
&gt; fort-dim.c:(.text+0x19b): undefined reference to `nc_inq_dimid&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dim_&#39;:<br>
&gt; fort-dim.c:(.text+0x2e5): undefined reference to `nc_inq_dim&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimname_&#39;:<br>
&gt; fort-dim.c:(.text+0x4bb): undefined reference to `nc_inq_dimname&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimlen_&#39;:<br>
&gt; fort-dim.c:(.text+0x614): undefined reference to `nc_inq_dimlen&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_rename_dim_&#39;:<br>
&gt; fort-dim.c:(.text+0x695): undefined reference to `nc_rename_dim&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_att_&#39;:<br>
&gt; fort-genatt.c:(.text+0x87): undefined reference to `nc_inq_att&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attid_&#39;:<br>
&gt; fort-genatt.c:(.text+0x19e): undefined reference to `nc_inq_attid&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_atttype_&#39;:<br>
&gt; fort-genatt.c:(.text+0x2ae): undefined reference to `nc_inq_atttype&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attlen_&#39;:<br>
&gt; fort-genatt.c:(.text+0x3be): undefined reference to `nc_inq_attlen&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attname_&#39;:<br>
&gt; fort-genatt.c:(.text+0x4f7): undefined reference to `nc_inq_attname&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_copy_att_&#39;:<br>
&gt; fort-genatt.c:(.text+0x6c8): undefined reference to `nc_copy_att&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_rename_att_&#39;:<br>
&gt; fort-genatt.c:(.text+0x842): undefined reference to `nc_rename_att&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_del_att_&#39;:<br>
&gt; fort-genatt.c:(.text+0x9d5): undefined reference to `nc_del_att&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_&#39;:<br>
&gt; fort-geninq.c:(.text+0x34): undefined reference to `nc_inq&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_ndims_&#39;:<br>
&gt; fort-geninq.c:(.text+0x8f): undefined reference to `nc_inq_ndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_nvars_&#39;:<br>
&gt; fort-geninq.c:(.text+0xaf): undefined reference to `nc_inq_nvars&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_natts_&#39;:<br>
&gt; fort-geninq.c:(.text+0xcf): undefined reference to `nc_inq_natts&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_unlimdim_&#39;:<br>
&gt; fort-geninq.c:(.text+0xf7): undefined reference to `nc_inq_unlimdim&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_format_&#39;:<br>
&gt; fort-geninq.c:(.text+0x12f): undefined reference to `nc_inq_format&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_def_var_&#39;:<br>
&gt; fort-genvar.c:(.text+0xa0): undefined reference to `nc_def_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_var_&#39;:<br>
&gt; fort-genvar.c:(.text+0x217): undefined reference to `nc_inq_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varid_&#39;:<br>
&gt; fort-genvar.c:(.text+0x424): undefined reference to `nc_inq_varid&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varname_&#39;:<br>
&gt; fort-genvar.c:(.text+0x55b): undefined reference to `nc_inq_varname&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_vartype_&#39;:<br>
&gt; fort-genvar.c:(.text+0x6b4): undefined reference to `nc_inq_vartype&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varndims_&#39;:<br>
&gt; fort-genvar.c:(.text+0x6e4): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_vardimid_&#39;:<br>
&gt; fort-genvar.c:(.text+0x724): undefined reference to `nc_inq_vardimid&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varnatts_&#39;:<br>
&gt; fort-genvar.c:(.text+0x764): undefined reference to `nc_inq_varnatts&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_rename_var_&#39;:<br>
&gt; fort-genvar.c:(.text+0x7e5): undefined reference to `nc_rename_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_copy_var_&#39;:<br>
&gt; fort-genvar.c:(.text+0x88a): undefined reference to `nc_copy_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `c2f_dimids&#39;:<br>
&gt; fort-lib.c:(.text+0x10): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `c2f_chunksizes&#39;:<br>
&gt; fort-lib.c:(.text+0x130): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_chunksizes&#39;:<br>
&gt; fort-lib.c:(.text+0x1d0): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_coords&#39;:<br>
&gt; fort-lib.c:(.text+0x270): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_counts&#39;:<br>
&gt; fort-lib.c:(.text+0x320): undefined reference to `nc_inq_varndims&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o):fort-lib.c:(.text+0x3d0): more undefined references to `nc_inq_varndims&#39; follow<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_varids_f&#39;:<br>
&gt; fort-lib.c:(.text+0x47c): undefined reference to `nc_inq_varids&#39;<br>
&gt; fort-lib.c:(.text+0x4b0): undefined reference to `nc_inq_varids&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_dimids_f&#39;:<br>
&gt; fort-lib.c:(.text+0x5f6): undefined reference to `nc_inq_dimids&#39;<br>
&gt; fort-lib.c:(.text+0x631): undefined reference to `nc_inq_dimids&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_insert_array_compound_f&#39;:<br>
&gt; fort-lib.c:(.text+0x81f): undefined reference to `nc_insert_array_compound&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_compound_field_f&#39;:<br>
&gt; fort-lib.c:(.text+0x8ac): undefined reference to `nc_inq_compound_field&#39;<br>
&gt; fort-lib.c:(.text+0x8e0): undefined reference to `nc_inq_compound_field&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-misc.o): In function `nf_inq_libvers_&#39;:<br>
&gt; fort-misc.c:(.text+0xa): undefined reference to `nc_inq_libvers&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-misc.o): In function `nf_strerror_&#39;:<br>
&gt; fort-misc.c:(.text+0x16e): undefined reference to `nc_strerror&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_text_&#39;:<br>
&gt; fort-vario.c:(.text+0x8): undefined reference to `nc_put_var_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_text_&#39;:<br>
&gt; fort-vario.c:(.text+0x18): undefined reference to `nc_get_var_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int1_&#39;:<br>
&gt; fort-vario.c:(.text+0x28): undefined reference to `nc_put_var_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int1_&#39;:<br>
&gt; fort-vario.c:(.text+0x38): undefined reference to `nc_get_var_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int2_&#39;:<br>
&gt; fort-vario.c:(.text+0x48): undefined reference to `nc_put_var_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int2_&#39;:<br>
&gt; fort-vario.c:(.text+0x58): undefined reference to `nc_get_var_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int_&#39;:<br>
&gt; fort-vario.c:(.text+0x68): undefined reference to `nc_put_var_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int_&#39;:<br>
&gt; fort-vario.c:(.text+0x78): undefined reference to `nc_get_var_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_real_&#39;:<br>
&gt; fort-vario.c:(.text+0x88): undefined reference to `nc_put_var_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_real_&#39;:<br>
&gt; fort-vario.c:(.text+0x98): undefined reference to `nc_get_var_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_double_&#39;:<br>
&gt; fort-vario.c:(.text+0xa8): undefined reference to `nc_put_var_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_double_&#39;:<br>
&gt; fort-vario.c:(.text+0xb8): undefined reference to `nc_get_var_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_&#39;:<br>
&gt; fort-vario.c:(.text+0xc8): undefined reference to `nc_put_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_&#39;:<br>
&gt; fort-vario.c:(.text+0xd8): undefined reference to `nc_get_var&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_text_&#39;:<br>
&gt; fort-varaio.c:(.text+0x5c): undefined reference to `nc_put_vara_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_text_&#39;:<br>
&gt; fort-varaio.c:(.text+0xcc): undefined reference to `nc_get_vara_text&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int1_&#39;:<br>
&gt; fort-varaio.c:(.text+0x13c): undefined reference to `nc_put_vara_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int1_&#39;:<br>
&gt; fort-varaio.c:(.text+0x1ac): undefined reference to `nc_get_vara_schar&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int2_&#39;:<br>
&gt; fort-varaio.c:(.text+0x21c): undefined reference to `nc_put_vara_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int2_&#39;:<br>
&gt; fort-varaio.c:(.text+0x28c): undefined reference to `nc_get_vara_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int2_&#39;:<br>
&gt; fort-varaio.c:(.text+0x21c): undefined reference to `nc_put_vara_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int2_&#39;:<br>
&gt; fort-varaio.c:(.text+0x28c): undefined reference to `nc_get_vara_short&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int_&#39;:<br>
&gt; fort-varaio.c:(.text+0x2fc): undefined reference to `nc_put_vara_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int_&#39;:<br>
&gt; fort-varaio.c:(.text+0x36c): undefined reference to `nc_get_vara_int&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_real_&#39;:<br>
&gt; fort-varaio.c:(.text+0x3dc): undefined reference to `nc_put_vara_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_real_&#39;:<br>
&gt; fort-varaio.c:(.text+0x44c): undefined reference to `nc_get_vara_float&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_double_&#39;:<br>
&gt; fort-varaio.c:(.text+0x4bc): undefined reference to `nc_put_vara_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_double_&#39;:<br>
&gt; fort-varaio.c:(.text+0x52c): undefined reference to `nc_get_vara_double&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_&#39;:<br>
&gt; fort-varaio.c:(.text+0x59c): undefined reference to `nc_put_vara&#39;<br>
&gt; /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_&#39;:<br>
&gt; fort-varaio.c:(.text+0x60c): undefined reference to `nc_get_vara&#39;<br>
&gt; make[2]: [diffwrf] Error 1 (ignored)<br>
&gt;<br>
&gt; ---------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt; What are we doing wrong here?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt;<br>
&gt; Andrew Penny<br>
&gt; Research Associate - Meteorology Department Naval Postgraduate School Monterey, CA 93943<br>
&gt; Phone: <a href="tel:%28831%29%20656-3101" value="+18316563101">(831) 656-3101</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Saji N Hameed,<br>ARC-ENV, Center for Advanced Information Science and Technology,<br>University of Aizu, Tsuruga, Ikki-machi,<br>Aizuwakamatsu-shi, Fukushima 965-8580,<br>
Japan<br>        <br>Tel: +81242 37-2736<br> email: <a href="mailto:saji@u-aizu.ac.jp">saji@u-aizu.ac.jp</a><br> url: <a href="http://www.u-aizu.ac.jp">http://www.u-aizu.ac.jp</a><br> bib: <a href="http://www.researcherid.com/rid/B-9188-2009">http://www.researcherid.com/rid/B-9188-2009</a><br>