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"><<a href="mailto:Rebecca.Selin.Ctr@offutt.af.mil">Rebecca.Selin.Ctr@offutt.af.mil</a>></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's not it!<br>
<br>
However, the problem still is that your netcdf library isn't linking in correctly. I recognize all those undefined references from when my netcdf library didn't link. I can'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 & 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 & ifort) WRFV3.3 with NetCDF V4.12<br>
<br>
Hi Becky,<br>
<br>
The '/path/to/netcdf' 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>
> Andrew - Looks like your netcdf library isn't linking in correctly. In your LIB_EXTERNAL setting, change '-L/path/to/netcdf/lib' to your netcdf path.<br>
><br>
> Becky Adams Selin<br>
> Atmospheric & 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>
> 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>
> Sent: Monday, April 25, 2011 2:23 PM<br>
> To: <a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a><br>
> Subject: [Wrf-users] error compiling (icc & ifort) WRFV3.3 with NetCDF V4.12<br>
><br>
> We are having problems getting the latest version of WRF compiled with the latest version of NetCDF.<br>
><br>
> Here are the compilation options we are using for NetCDF 4.1.2:<br>
><br>
> ---------------------------------------------------<br>
> export CC=mpicc<br>
> export CXX=mpicxx<br>
><br>
> export FC=mpif90<br>
> export F77=mpif77<br>
> export F90=mpif90<br>
><br>
> export CPP='icpc -E'<br>
> export CXXCPP='icpc -E'<br>
><br>
> export CFLAGS='-O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC'<br>
> export CXXFLAGS='-O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC'<br>
> export CPPFLAGS='-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'<br>
><br>
> export FFLAGS='-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore'<br>
> export FCFLAGS='-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore'<br>
> export FCFLAGS_f90='-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore'<br>
> export F90FLAGS='-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC -assume nounderscore'<br>
> export LDFLAGS='-DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC'<br>
><br>
> export LIBS="-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"<br>
><br>
> ./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>
> ---------------------------------------------------<br>
><br>
><br>
> The mpif77/mpicc/mpif90 binaries are compiled using the Intel C++/FORTRAN compilers.<br>
><br>
><br>
> Here is the "LIB_EXTERNAL" variable setting in the 'configure.wrf' file for compiling WRF version 3.3:<br>
><br>
> ---------------------------------------------------<br>
> LIB_EXTERNAL = \<br>
> -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>
> ---------------------------------------------------<br>
><br>
> Here are the error messages that show up during the './compile em_real' process:<br>
><br>
> ---------------------------------------------------<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_text_':<br>
> fort-attio.c:(.text+0x7a): undefined reference to `nc_put_att_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_text_':<br>
> fort-attio.c:(.text+0x18d): undefined reference to `nc_get_att_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int1_':<br>
> fort-attio.c:(.text+0x2af): undefined reference to `nc_put_att_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int1_':<br>
> fort-attio.c:(.text+0x3bd): undefined reference to `nc_get_att_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int2_':<br>
> fort-attio.c:(.text+0x4df): undefined reference to `nc_put_att_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int2_':<br>
> fort-attio.c:(.text+0x5ed): undefined reference to `nc_get_att_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_int_':<br>
> fort-attio.c:(.text+0x70f): undefined reference to `nc_put_att_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_int_':<br>
> fort-attio.c:(.text+0x81d): undefined reference to `nc_get_att_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_real_':<br>
> fort-attio.c:(.text+0x93f): undefined reference to `nc_put_att_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_real_':<br>
> fort-attio.c:(.text+0xa4d): undefined reference to `nc_get_att_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_put_att_double_':<br>
> fort-attio.c:(.text+0xb6f): undefined reference to `nc_put_att_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-attio.o): In function `nf_get_att_double_':<br>
> fort-attio.c:(.text+0xc7d): undefined reference to `nc_get_att_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_create_':<br>
> fort-control.c:(.text+0x64): undefined reference to `nc_create'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__create_':<br>
> fort-control.c:(.text+0x1a0): undefined reference to `nc__create'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_open_':<br>
> fort-control.c:(.text+0x2b4): undefined reference to `nc_open'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__open_':<br>
> fort-control.c:(.text+0x3d8): undefined reference to `nc__open'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_fill_':<br>
> fort-control.c:(.text+0x491): undefined reference to `nc_set_fill'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_redef_':<br>
> fort-control.c:(.text+0x4a4): undefined reference to `nc_redef'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_enddef_':<br>
> fort-control.c:(.text+0x4b4): undefined reference to `nc_enddef'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__enddef_':<br>
> fort-control.c:(.text+0x4d0): undefined reference to `nc__enddef'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_sync_':<br>
> fort-control.c:(.text+0x4e4): undefined reference to `nc_sync'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_close_':<br>
> fort-control.c:(.text+0x4f4): undefined reference to `nc_close'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_delete_':<br>
> fort-control.c:(.text+0x55a): undefined reference to `nc_delete'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__create_mp_':<br>
> fort-control.c:(.text+0x68a): undefined reference to `nc__create_mp'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf__open_mp_':<br>
> fort-control.c:(.text+0x7d0): undefined reference to `nc__open_mp'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_delete_mp_':<br>
> fort-control.c:(.text+0x8e3): undefined reference to `nc_delete_mp'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_base_pe_':<br>
> fort-control.c:(.text+0x986): undefined reference to `nc_set_base_pe'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_inq_base_pe_':<br>
> fort-control.c:(.text+0x99f): undefined reference to `nc_inq_base_pe'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_abort_':<br>
> fort-control.c:(.text+0x9b4): undefined reference to `nc_abort'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-control.o): In function `nf_set_default_format_':<br>
> fort-control.c:(.text+0x9cf): undefined reference to `nc_set_default_format'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_def_dim_':<br>
> fort-dim.c:(.text+0x78): undefined reference to `nc_def_dim'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimid_':<br>
> fort-dim.c:(.text+0x19b): undefined reference to `nc_inq_dimid'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dim_':<br>
> fort-dim.c:(.text+0x2e5): undefined reference to `nc_inq_dim'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimname_':<br>
> fort-dim.c:(.text+0x4bb): undefined reference to `nc_inq_dimname'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_inq_dimlen_':<br>
> fort-dim.c:(.text+0x614): undefined reference to `nc_inq_dimlen'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-dim.o): In function `nf_rename_dim_':<br>
> fort-dim.c:(.text+0x695): undefined reference to `nc_rename_dim'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_att_':<br>
> fort-genatt.c:(.text+0x87): undefined reference to `nc_inq_att'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attid_':<br>
> fort-genatt.c:(.text+0x19e): undefined reference to `nc_inq_attid'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_atttype_':<br>
> fort-genatt.c:(.text+0x2ae): undefined reference to `nc_inq_atttype'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attlen_':<br>
> fort-genatt.c:(.text+0x3be): undefined reference to `nc_inq_attlen'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_inq_attname_':<br>
> fort-genatt.c:(.text+0x4f7): undefined reference to `nc_inq_attname'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_copy_att_':<br>
> fort-genatt.c:(.text+0x6c8): undefined reference to `nc_copy_att'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_rename_att_':<br>
> fort-genatt.c:(.text+0x842): undefined reference to `nc_rename_att'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genatt.o): In function `nf_del_att_':<br>
> fort-genatt.c:(.text+0x9d5): undefined reference to `nc_del_att'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_':<br>
> fort-geninq.c:(.text+0x34): undefined reference to `nc_inq'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_ndims_':<br>
> fort-geninq.c:(.text+0x8f): undefined reference to `nc_inq_ndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_nvars_':<br>
> fort-geninq.c:(.text+0xaf): undefined reference to `nc_inq_nvars'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_natts_':<br>
> fort-geninq.c:(.text+0xcf): undefined reference to `nc_inq_natts'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_unlimdim_':<br>
> fort-geninq.c:(.text+0xf7): undefined reference to `nc_inq_unlimdim'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-geninq.o): In function `nf_inq_format_':<br>
> fort-geninq.c:(.text+0x12f): undefined reference to `nc_inq_format'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_def_var_':<br>
> fort-genvar.c:(.text+0xa0): undefined reference to `nc_def_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_var_':<br>
> fort-genvar.c:(.text+0x217): undefined reference to `nc_inq_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varid_':<br>
> fort-genvar.c:(.text+0x424): undefined reference to `nc_inq_varid'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varname_':<br>
> fort-genvar.c:(.text+0x55b): undefined reference to `nc_inq_varname'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_vartype_':<br>
> fort-genvar.c:(.text+0x6b4): undefined reference to `nc_inq_vartype'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varndims_':<br>
> fort-genvar.c:(.text+0x6e4): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_vardimid_':<br>
> fort-genvar.c:(.text+0x724): undefined reference to `nc_inq_vardimid'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_inq_varnatts_':<br>
> fort-genvar.c:(.text+0x764): undefined reference to `nc_inq_varnatts'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_rename_var_':<br>
> fort-genvar.c:(.text+0x7e5): undefined reference to `nc_rename_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-genvar.o): In function `nf_copy_var_':<br>
> fort-genvar.c:(.text+0x88a): undefined reference to `nc_copy_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `c2f_dimids':<br>
> fort-lib.c:(.text+0x10): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `c2f_chunksizes':<br>
> fort-lib.c:(.text+0x130): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_chunksizes':<br>
> fort-lib.c:(.text+0x1d0): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_coords':<br>
> fort-lib.c:(.text+0x270): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `f2c_counts':<br>
> fort-lib.c:(.text+0x320): undefined reference to `nc_inq_varndims'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o):fort-lib.c:(.text+0x3d0): more undefined references to `nc_inq_varndims' follow<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_varids_f':<br>
> fort-lib.c:(.text+0x47c): undefined reference to `nc_inq_varids'<br>
> fort-lib.c:(.text+0x4b0): undefined reference to `nc_inq_varids'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_dimids_f':<br>
> fort-lib.c:(.text+0x5f6): undefined reference to `nc_inq_dimids'<br>
> fort-lib.c:(.text+0x631): undefined reference to `nc_inq_dimids'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_insert_array_compound_f':<br>
> fort-lib.c:(.text+0x81f): undefined reference to `nc_insert_array_compound'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-lib.o): In function `nc_inq_compound_field_f':<br>
> fort-lib.c:(.text+0x8ac): undefined reference to `nc_inq_compound_field'<br>
> fort-lib.c:(.text+0x8e0): undefined reference to `nc_inq_compound_field'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-misc.o): In function `nf_inq_libvers_':<br>
> fort-misc.c:(.text+0xa): undefined reference to `nc_inq_libvers'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-misc.o): In function `nf_strerror_':<br>
> fort-misc.c:(.text+0x16e): undefined reference to `nc_strerror'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_text_':<br>
> fort-vario.c:(.text+0x8): undefined reference to `nc_put_var_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_text_':<br>
> fort-vario.c:(.text+0x18): undefined reference to `nc_get_var_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int1_':<br>
> fort-vario.c:(.text+0x28): undefined reference to `nc_put_var_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int1_':<br>
> fort-vario.c:(.text+0x38): undefined reference to `nc_get_var_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int2_':<br>
> fort-vario.c:(.text+0x48): undefined reference to `nc_put_var_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int2_':<br>
> fort-vario.c:(.text+0x58): undefined reference to `nc_get_var_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_int_':<br>
> fort-vario.c:(.text+0x68): undefined reference to `nc_put_var_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_int_':<br>
> fort-vario.c:(.text+0x78): undefined reference to `nc_get_var_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_real_':<br>
> fort-vario.c:(.text+0x88): undefined reference to `nc_put_var_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_real_':<br>
> fort-vario.c:(.text+0x98): undefined reference to `nc_get_var_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_double_':<br>
> fort-vario.c:(.text+0xa8): undefined reference to `nc_put_var_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_double_':<br>
> fort-vario.c:(.text+0xb8): undefined reference to `nc_get_var_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_put_var_':<br>
> fort-vario.c:(.text+0xc8): undefined reference to `nc_put_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-vario.o): In function `nf_get_var_':<br>
> fort-vario.c:(.text+0xd8): undefined reference to `nc_get_var'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_text_':<br>
> fort-varaio.c:(.text+0x5c): undefined reference to `nc_put_vara_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_text_':<br>
> fort-varaio.c:(.text+0xcc): undefined reference to `nc_get_vara_text'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int1_':<br>
> fort-varaio.c:(.text+0x13c): undefined reference to `nc_put_vara_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int1_':<br>
> fort-varaio.c:(.text+0x1ac): undefined reference to `nc_get_vara_schar'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int2_':<br>
> fort-varaio.c:(.text+0x21c): undefined reference to `nc_put_vara_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int2_':<br>
> fort-varaio.c:(.text+0x28c): undefined reference to `nc_get_vara_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int2_':<br>
> fort-varaio.c:(.text+0x21c): undefined reference to `nc_put_vara_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int2_':<br>
> fort-varaio.c:(.text+0x28c): undefined reference to `nc_get_vara_short'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_int_':<br>
> fort-varaio.c:(.text+0x2fc): undefined reference to `nc_put_vara_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_int_':<br>
> fort-varaio.c:(.text+0x36c): undefined reference to `nc_get_vara_int'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_real_':<br>
> fort-varaio.c:(.text+0x3dc): undefined reference to `nc_put_vara_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_real_':<br>
> fort-varaio.c:(.text+0x44c): undefined reference to `nc_get_vara_float'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_double_':<br>
> fort-varaio.c:(.text+0x4bc): undefined reference to `nc_put_vara_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_double_':<br>
> fort-varaio.c:(.text+0x52c): undefined reference to `nc_get_vara_double'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_':<br>
> fort-varaio.c:(.text+0x59c): undefined reference to `nc_put_vara'<br>
> /work/sbarve/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_':<br>
> fort-varaio.c:(.text+0x60c): undefined reference to `nc_get_vara'<br>
> make[2]: [diffwrf] Error 1 (ignored)<br>
><br>
> ---------------------------------------------------<br>
><br>
><br>
> What are we doing wrong here?<br>
><br>
> Thanks<br>
><br>
><br>
> Andrew Penny<br>
> Research Associate - Meteorology Department Naval Postgraduate School Monterey, CA 93943<br>
> Phone: <a href="tel:%28831%29%20656-3101" value="+18316563101">(831) 656-3101</a><br>
><br>
><br>
><br>
><br>
><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>