[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #PVE-576912]: Unable to compile netcdf



Greetings,

Great news that the errors disappeared on the netCDF build. If you look at the 
current errors related to undefined reference, nearly all of those symbols 
start with nf_, which indicates the compiler is unable to find the fortran 
libs. To make sure the fortran libs get included, you will need to update your 
-L flag to:

--L/home/khanb/temp/lib -lnetcdff -lnetcdf  ----> notice the extra 'f' on 
-libnetcdff

One nice tool that comes with the netCDF package is nc-config. nc-config will 
tell you a lot of information regarding how netCDF was built, as well as what 
flags you should use when trying to link to and use to netCDF. For example, to 
see what fortran flags you will need to use, try:

nc-config --fflags

and for what to use to like to the library:

nc-config --flibs

You could also do an nc-config --all to see all the info on your netCDF install.

Let me know if updating your -L flag works.

Cheers!

Sean

> Hi Sean,
> 
> Thank you very much for a very prompt, clear and compact response. I tried
> to compile netcdf again with your suggested changes and got rid of
> previous errors, that I have copied in my first email, however I got some
> new errors in the configure run. I am attaching the four log files
> config.log,  make.log, makecheck.log and makeinstall.log for your review.
> Following are my environment and compiler setting for this particular
> compilation effort. I don't want hdf5 support so I excluded hdf5, however,
> I included zlib just incase netcdf needs that.
> 
> -bash-3.2$ make clean
> 
> -bash-3.2$ source
> /mnt/kaustapps/INTEL/v11.1.app/ifort/11.1/bin/intel64/ifortvars_intel64.sh
> -bash-3.2$ source
> /mnt/kaustapps/INTEL/v11.1.app/icc/11.1/bin/intel64/iccvars_intel64.sh
> -bash-3.2$ export CPPFLAGS=-I/home/khanb/zlib/include
> -bash-3.2$ export LDFLAGS=-L/home/khanb/zlib/lib
> -bash-3.2$ export CC=icc
> -bash-3.2$ export CXX=icpc
> -bash-3.2$ export FC=ifort
> -bash-3.2$ export CPPFLAGS=-I/home/khanb/zlib/include
> -bash-3.2$ export LDFLAGS=-L/home/khanb/zlib/lib
> -bash-3.2$ export CC=icc
> -bash-3.2$ export CXX=icpc
> -bash-3.2$ export FC=ifort
> -bash-3.2$ ./configure --prefix=/home/khanb/temp --disable-netcdf-f
> -bash-3.2$ make >& make.log
> -bash-3.2$ make check >& makecheck.log
> -bash-3.2$ make install >& makeinstall.log
> 
> 
> 
> 
> After completing the compiling process I got netcdf files in the lib,
> include and bin directory. To try my luck, I tried to compile a small wrf
> utility 'read_wrf_nc.f' and got the following errors.
> 
> 
> 
> -bash-3.2$ ifort read_wrf_nc.f -L/home/khanb/temp/lib -lnetcdf -lm
> -I/home/khanb/temp/include -FR -o read_wrf_nc
> /mnt/kaustapps/INTEL/v11.1.app/ifort/11.1/lib/intel64/libimf.so: warning:
> warning: feupdateenv is not implemented and will always fail
> /tmp/ifort4jX8UR.o: In function `get_info_from_cdf_':
> read_wrf_nc.f:(.text+0x4332): undefined reference to `nf_open_'
> read_wrf_nc.f:(.text+0x43e7): undefined reference to `nf_inq_varid_'
> read_wrf_nc.f:(.text+0x4429): undefined reference to `ncvid_'
> read_wrf_nc.f:(.text+0x446a): undefined reference to `nf_inq_var_'
> read_wrf_nc.f:(.text+0x44b7): undefined reference to `nf_inq_dimlen_'
> read_wrf_nc.f:(.text+0x455a): undefined reference to `nf_get_vara_text_'
> read_wrf_nc.f:(.text+0x45e1): undefined reference to `nf_inq_'
> read_wrf_nc.f:(.text+0x465a): undefined reference to `nf_inq_dim_'
> read_wrf_nc.f:(.text+0x4808): undefined reference to `nf_inq_attname_'
> read_wrf_nc.f:(.text+0x483c): undefined reference to `nf_inq_att_'
> read_wrf_nc.f:(.text+0x4889): undefined reference to `nf_get_att_int_'
> read_wrf_nc.f:(.text+0x49bb): undefined reference to `nf_get_att_real_'
> read_wrf_nc.f:(.text+0x4af8): undefined reference to `nf_get_att_text_'
> read_wrf_nc.f:(.text+0x4ce5): undefined reference to `nf_get_att_int_'
> 
> I will greatly appreciate if you could review the logfiles and suggest
> some remedy.
> 
> Thanks and best regards,
> ---
> 
> 
> Basit A. Khan, Ph.D.
> Postdoctoral Fellow
> Division of Physical Sciences & Engineering
> Office# 3204, Level 3, Building 1,
> 4700 King Abdullah University of Science & Technology
> Thuwal 23955 ­6900
> 
> Office: +966(0)2 808 0276
> Cell    : +966(0)5 9538 7592
> Skype name: basit.a.khan
> 
> 
> 
> 
> On 7/27/11 8:13 PM, "Unidata netCDF Support"
> <address@hidden> wrote:
> 
> >Greetings!
> >
> >Sorry for the duplicate message - I forgot to cc the rest of the netCDF
> >team. Please reply to this email, not the previous one. The issue, from
> >what I can tell, is that the netCDF FORTRAN libs were not built
> >correctly. Have you sourced the Intel environmental scripts before
> >building? Let's try the following (I'm assuming a bash shell - you will
> >need to tweak this for a c-based shell, like csh):
> >
> >Open a fresh terminal without setting any of the variables you set in
> >your first email. Go to your netCDF build directory and do:
> >
> >make clean
> >
> >Then, use the Intel scripts to setup your base environment (it will look
> >something like this):
> >
> >source <install-dir>/bin/ifortvars.sh intel64
> >source <install-dir>/bin/iccvars.sh
> >
> >(where <install-dir> is the installation directory of your intel
> >compilers)
> >
> >You may keep the compiler variables, so export those if you'd like (CC,
> >FC, CXX - you don't need to set FF or F90)
> >
> >Set the following environmental variables to include the paths for any
> >extra libraries you will need (i.e. hdf5, zlib, etc. - it depends on what
> >you did during configure):
> >
> >export CPPFLAGS=-I/path/to/include *Note the exclusion of '-DpgiFortran'
> >export LDFLAGS=-L/path/to/lib
> >
> >For now, let's try to not set any of the compiler flags (CFLAGS,
> >CXXFLAGS, FCFLAGS, etc) - we can try that next if we can get it to work
> >without them.
> >
> >Now, try doing running the configure script, followed by make, and if
> >successful, make check. If things do not work, please send the logs from
> >your configure, make, and make check output.
> >
> >Cheers!
> >
> >Sean
> >
> >> Hi there,
> >>
> >> I am trying to compile netcdf 4.1.3 on my  LINUX RED HAT Enterprise 5.4
> >> x86_64 GNU with Intel compilers icc 11.1,  ifort 11.1 and openmpi 1.4.2.
> >> I have tried almost every possible combination of compiler options from
> >> internet and your website   that could possibly be used for LINUX system
> >> with intel compilers but nothing worked for my case. Most of the time
> >> I get the errors (listed after the signature lines)  when I run  'make
> >> check'. Unfortunately my IT support people  have no idea whatsoever as
> >> what this problem is all about. So, with my very limited knowledge of
> >> linux and compilers, I am trying to get my head around this problem. I
> >> am using the following environment variable setting to compile netcdf
> >> libraries. The error list copied after the signature came from this
> >> setting. I will greatly appreciate if you could have a look of the
> >> error messages and flag setting and suggest the correct configuration
> >> to compile netcdf for my system.
> >>
> >> $ export CC=icc
> >> $ export CXX=icpc
> >> $ export CFLAGS='-O3 -xssse3 -ip -no-prec-div -static'
> >> $ export CXXFLAGS='-O3 -xssse3 -ip -no-prec-div -static'
> >> $ export F77=ifort
> >> $ export FC=ifort
> >> $ export F90=ifort
> >> $ export FFLAGS='-O3 -xssse3 -ip -no-prec-div -static'
> >> $ export CPP='icc -E'
> >> $ export CXXCPP='icpc ­E'
> >> $ export CPPFLAGS='-DpgiFortran'
> >>
> >>
> >> Thanks and best regards
> >>
> >> ---
> >> Basit A. Khan, Ph.D.
> >> Postdoctoral Fellow
> >> Division of Physical Sciences & Engineering
> >> Office# 3204, Level 3, Building 1,
> >> 4700 King Abdullah University of Science & Technology
> >> Thuwal 23955 ­6900
> >>
> >> Office: +966(0)2 808 0276
> >> Cell    : +966(0)5 9538 7592
> >> Skype name: basit.a.khan
> >>
> >>
> >> /bin/sh ../libtool --tag=F77   --mode=link ifort -I../fortran
> >>-I../include   -I../f90 -O3 -xssse3 -ip -no-prec-div -static   -o
> >>nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o
> >>test_write.o util.o fortlib.o ../fortran/libnetcdff.la  -lm
> >> libtool: link: ifort -I../fortran -I../include -I../f90 -O3 -xssse3 -ip
> >>-no-prec-div -o nf_test test_get.o test_put.o nf_error.o nf_test.o
> >>test_read.o test_write.o util.o fortlib.o  ../fortran/.libs/libnetcdff.a
> >>-lm
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_text_':
> >> fort-attio.c:(.text+0x70): undefined reference to `nc_put_att_text'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_text_':
> >> fort-attio.c:(.text+0x178): undefined reference to `nc_get_att_text'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_int1_':
> >> fort-attio.c:(.text+0x28f): undefined reference to `nc_put_att_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_int1_':
> >> fort-attio.c:(.text+0x398): undefined reference to `nc_get_att_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_int2_':
> >> fort-attio.c:(.text+0x4af): undefined reference to `nc_put_att_short'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_int2_':
> >> fort-attio.c:(.text+0x5b8): undefined reference to `nc_get_att_short'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_int_':
> >> fort-attio.c:(.text+0x6cf): undefined reference to `nc_put_att_int'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_int_':
> >> fort-attio.c:(.text+0x7d8): undefined reference to `nc_get_att_int'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_real_':
> >> fort-attio.c:(.text+0x8ef): undefined reference to `nc_put_att_float'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_real_':
> >> fort-attio.c:(.text+0x9f8): undefined reference to `nc_get_att_float'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_put_att_double_':
> >> fort-attio.c:(.text+0xb0f): undefined reference to `nc_put_att_double'
> >> ../fortran/.libs/libnetcdff.a(fort-attio.o): In function
> >>`nf_get_att_double_':
> >> fort-attio.c:(.text+0xc18): undefined reference to `nc_get_att_double'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_create_':
> >> fort-control.c:(.text+0x69): undefined reference to `nc_create'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf__create_':
> >> fort-control.c:(.text+0x194): undefined reference to `nc__create'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_open_':
> >> fort-control.c:(.text+0x2a9): undefined reference to `nc_open'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf__open_':
> >> fort-control.c:(.text+0x3c3): undefined reference to `nc__open'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf_set_fill_':
> >> fort-control.c:(.text+0x481): undefined reference to `nc_set_fill'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_redef_':
> >> fort-control.c:(.text+0x494): undefined reference to `nc_redef'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_enddef_':
> >> fort-control.c:(.text+0x4a4): undefined reference to `nc_enddef'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf__enddef_':
> >> fort-control.c:(.text+0x4c0): undefined reference to `nc__enddef'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_sync_':
> >> fort-control.c:(.text+0x4d4): undefined reference to `nc_sync'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_close_':
> >> fort-control.c:(.text+0x4e4): undefined reference to `nc_close'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_delete_':
> >> fort-control.c:(.text+0x548): undefined reference to `nc_delete'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf__create_mp_':
> >> fort-control.c:(.text+0x66a): undefined reference to `nc__create_mp'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf__open_mp_':
> >> fort-control.c:(.text+0x7a4): undefined reference to `nc__open_mp'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf_delete_mp_':
> >> fort-control.c:(.text+0x8af): undefined reference to `nc_delete_mp'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf_set_base_pe_':
> >> fort-control.c:(.text+0x956): undefined reference to `nc_set_base_pe'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf_inq_base_pe_':
> >> fort-control.c:(.text+0x96f): undefined reference to `nc_inq_base_pe'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function `nf_abort_':
> >> fort-control.c:(.text+0x984): undefined reference to `nc_abort'
> >> ../fortran/.libs/libnetcdff.a(fort-control.o): In function
> >>`nf_set_default_format_':
> >> fort-control.c:(.text+0x99f): undefined reference to
> >>`nc_set_default_format'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function `nf_def_dim_':
> >> fort-dim.c:(.text+0x6e): undefined reference to `nc_def_dim'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function `nf_inq_dimid_':
> >> fort-dim.c:(.text+0x190): undefined reference to `nc_inq_dimid'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function `nf_inq_dim_':
> >> fort-dim.c:(.text+0x2d3): undefined reference to `nc_inq_dim'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function
> >>`nf_inq_dimname_':
> >> fort-dim.c:(.text+0x42b): undefined reference to `nc_inq_dimname'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function `nf_inq_dimlen_':
> >> fort-dim.c:(.text+0x504): undefined reference to `nc_inq_dimlen'
> >> ../fortran/.libs/libnetcdff.a(fort-dim.o): In function `nf_rename_dim_':
> >> fort-dim.c:(.text+0x58a): undefined reference to `nc_rename_dim'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function `nf_inq_att_':
> >> fort-genatt.c:(.text+0x7f): undefined reference to `nc_inq_att'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_inq_attid_':
> >> fort-genatt.c:(.text+0x199): undefined reference to `nc_inq_attid'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_inq_atttype_':
> >> fort-genatt.c:(.text+0x2a9): undefined reference to `nc_inq_atttype'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_inq_attlen_':
> >> fort-genatt.c:(.text+0x3b9): undefined reference to `nc_inq_attlen'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_inq_attname_':
> >> fort-genatt.c:(.text+0x4f6): undefined reference to `nc_inq_attname'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_copy_att_':
> >> fort-genatt.c:(.text+0x62f): undefined reference to `nc_copy_att'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function
> >>`nf_rename_att_':
> >> fort-genatt.c:(.text+0x79a): undefined reference to `nc_rename_att'
> >> ../fortran/.libs/libnetcdff.a(fort-genatt.o): In function `nf_del_att_':
> >> fort-genatt.c:(.text+0x92a): undefined reference to `nc_del_att'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function `nf_inq_':
> >> fort-geninq.c:(.text+0x35): undefined reference to `nc_inq'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function
> >>`nf_inq_ndims_':
> >> fort-geninq.c:(.text+0x7f): undefined reference to `nc_inq_ndims'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function
> >>`nf_inq_nvars_':
> >> fort-geninq.c:(.text+0x9f): undefined reference to `nc_inq_nvars'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function
> >>`nf_inq_natts_':
> >> fort-geninq.c:(.text+0xbf): undefined reference to `nc_inq_natts'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function
> >>`nf_inq_unlimdim_':
> >> fort-geninq.c:(.text+0xe6): undefined reference to `nc_inq_unlimdim'
> >> ../fortran/.libs/libnetcdff.a(fort-geninq.o): In function
> >>`nf_inq_format_':
> >> fort-geninq.c:(.text+0x10f): undefined reference to `nc_inq_format'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function `nf_def_var_':
> >> fort-genvar.c:(.text+0xa0): undefined reference to `nc_def_var'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function `nf_inq_var_':
> >> fort-genvar.c:(.text+0x217): undefined reference to `nc_inq_var'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_varid_':
> >> fort-genvar.c:(.text+0x399): undefined reference to `nc_inq_varid'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_varname_':
> >> fort-genvar.c:(.text+0x4cb): undefined reference to `nc_inq_varname'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_vartype_':
> >> fort-genvar.c:(.text+0x5a4): undefined reference to `nc_inq_vartype'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_varndims_':
> >> fort-genvar.c:(.text+0x5d4): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_vardimid_':
> >> fort-genvar.c:(.text+0x614): undefined reference to `nc_inq_vardimid'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_inq_varnatts_':
> >> fort-genvar.c:(.text+0x654): undefined reference to `nc_inq_varnatts'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_rename_var_':
> >> fort-genvar.c:(.text+0x6da): undefined reference to `nc_rename_var'
> >> ../fortran/.libs/libnetcdff.a(fort-genvar.o): In function
> >>`nf_copy_var_':
> >> fort-genvar.c:(.text+0x78a): undefined reference to `nc_copy_var'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o): In function `c2f_dimids':
> >> fort-lib.c:(.text+0x10): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o): In function `c2f_chunksizes':
> >> fort-lib.c:(.text+0x150): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o): In function `f2c_chunksizes':
> >> fort-lib.c:(.text+0x1f0): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o): In function `f2c_coords':
> >> fort-lib.c:(.text+0x290): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o): In function `f2c_counts':
> >> fort-lib.c:(.text+0x330): undefined reference to `nc_inq_varndims'
> >> ../fortran/.libs/libnetcdff.a(fort-lib.o):fort-lib.c:(.text+0x3d0):
> >>more undefined references to `nc_inq_varndims' follow
> >> ../fortran/.libs/libnetcdff.a(fort-misc.o): In function
> >>`nf_inq_libvers_':
> >> fort-misc.c:(.text+0xd): undefined reference to `nc_inq_libvers'
> >> ../fortran/.libs/libnetcdff.a(fort-misc.o): In function `nf_strerror_':
> >> fort-misc.c:(.text+0x13f): undefined reference to `nc_strerror'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_text_':
> >> fort-vario.c:(.text+0x8): undefined reference to `nc_put_var_text'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_text_':
> >> fort-vario.c:(.text+0x18): undefined reference to `nc_get_var_text'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_int1_':
> >> fort-vario.c:(.text+0x28): undefined reference to `nc_put_var_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_int1_':
> >> fort-vario.c:(.text+0x38): undefined reference to `nc_get_var_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_int2_':
> >> fort-vario.c:(.text+0x48): undefined reference to `nc_put_var_short'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_int2_':
> >> fort-vario.c:(.text+0x58): undefined reference to `nc_get_var_short'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_int_':
> >> fort-vario.c:(.text+0x68): undefined reference to `nc_put_var_int'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_int_':
> >> fort-vario.c:(.text+0x78): undefined reference to `nc_get_var_int'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_real_':
> >> fort-vario.c:(.text+0x88): undefined reference to `nc_put_var_float'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_real_':
> >> fort-vario.c:(.text+0x98): undefined reference to `nc_get_var_float'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_put_var_double_':
> >> fort-vario.c:(.text+0xa8): undefined reference to `nc_put_var_double'
> >> ../fortran/.libs/libnetcdff.a(fort-vario.o): In function
> >>`nf_get_var_double_':
> >> fort-vario.c:(.text+0xb8): undefined reference to `nc_get_var_double'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_text_':
> >> fort-var1io.c:(.text+0x37): undefined reference to `nc_put_var1_text'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_text_':
> >> fort-var1io.c:(.text+0x87): undefined reference to `nc_get_var1_text'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_int1_':
> >> fort-var1io.c:(.text+0xd7): undefined reference to `nc_put_var1_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_int1_':
> >> fort-var1io.c:(.text+0x127): undefined reference to `nc_get_var1_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_int2_':
> >> fort-var1io.c:(.text+0x177): undefined reference to `nc_put_var1_short'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_int2_':
> >> fort-var1io.c:(.text+0x1c7): undefined reference to `nc_get_var1_short'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_int_':
> >> fort-var1io.c:(.text+0x217): undefined reference to `nc_put_var1_int'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_int_':
> >> fort-var1io.c:(.text+0x267): undefined reference to `nc_get_var1_int'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_real_':
> >> fort-var1io.c:(.text+0x2b7): undefined reference to `nc_put_var1_float'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_real_':
> >> fort-var1io.c:(.text+0x307): undefined reference to `nc_get_var1_float'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_double_':
> >> fort-var1io.c:(.text+0x357): undefined reference to `nc_put_var1_double'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_double_':
> >> fort-var1io.c:(.text+0x3a7): undefined reference to `nc_get_var1_double'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_put_var1_':
> >> fort-var1io.c:(.text+0x3f7): undefined reference to `nc_put_var1'
> >> ../fortran/.libs/libnetcdff.a(fort-var1io.o): In function
> >>`nf_get_var1_':
> >> fort-var1io.c:(.text+0x447): undefined reference to `nc_get_var1'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_text_':
> >> fort-varaio.c:(.text+0x5c): undefined reference to `nc_put_vara_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_text_':
> >> fort-varaio.c:(.text+0xcc): undefined reference to `nc_get_vara_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_int1_':
> >> fort-varaio.c:(.text+0x13c): undefined reference to `nc_put_vara_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_int1_':
> >> fort-varaio.c:(.text+0x1ac): undefined reference to `nc_get_vara_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_int2_':
> >> fort-varaio.c:(.text+0x21c): undefined reference to `nc_put_vara_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_int2_':
> >> fort-varaio.c:(.text+0x28c): undefined reference to `nc_get_vara_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_int_':
> >> fort-varaio.c:(.text+0x2fc): undefined reference to `nc_put_vara_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_int_':
> >> fort-varaio.c:(.text+0x36c): undefined reference to `nc_get_vara_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_real_':
> >> fort-varaio.c:(.text+0x3dc): undefined reference to `nc_put_vara_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_real_':
> >> fort-varaio.c:(.text+0x44c): undefined reference to `nc_get_vara_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_double_':
> >> fort-varaio.c:(.text+0x4bc): undefined reference to `nc_put_vara_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_double_':
> >> fort-varaio.c:(.text+0x52c): undefined reference to `nc_get_vara_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_put_vara_':
> >> fort-varaio.c:(.text+0x59c): undefined reference to `nc_put_vara'
> >> ../fortran/.libs/libnetcdff.a(fort-varaio.o): In function
> >>`nf_get_vara_':
> >> fort-varaio.c:(.text+0x60c): undefined reference to `nc_get_vara'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_text_':
> >> fort-varmio.c:(.text+0xa9): undefined reference to `nc_put_varm_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_text_':
> >> fort-varmio.c:(.text+0x169): undefined reference to `nc_get_varm_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_int1_':
> >> fort-varmio.c:(.text+0x229): undefined reference to `nc_put_varm_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_int1_':
> >> fort-varmio.c:(.text+0x2e9): undefined reference to `nc_get_varm_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_int2_':
> >> fort-varmio.c:(.text+0x3a9): undefined reference to `nc_put_varm_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_int2_':
> >> fort-varmio.c:(.text+0x469): undefined reference to `nc_get_varm_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_int_':
> >> fort-varmio.c:(.text+0x529): undefined reference to `nc_put_varm_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_int_':
> >> fort-varmio.c:(.text+0x5e9): undefined reference to `nc_get_varm_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_real_':
> >> fort-varmio.c:(.text+0x6a9): undefined reference to `nc_put_varm_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_real_':
> >> fort-varmio.c:(.text+0x769): undefined reference to `nc_get_varm_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_put_varm_double_':
> >> fort-varmio.c:(.text+0x829): undefined reference to `nc_put_varm_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varmio.o): In function
> >>`nf_get_varm_double_':
> >> fort-varmio.c:(.text+0x8e9): undefined reference to `nc_get_varm_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_text_':
> >> fort-varsio.c:(.text+0x84): undefined reference to `nc_put_vars_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_text_':
> >> fort-varsio.c:(.text+0x124): undefined reference to `nc_get_vars_text'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_int1_':
> >> fort-varsio.c:(.text+0x1c4): undefined reference to `nc_put_vars_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_int1_':
> >> fort-varsio.c:(.text+0x264): undefined reference to `nc_get_vars_schar'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_int2_':
> >> fort-varsio.c:(.text+0x304): undefined reference to `nc_put_vars_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_int2_':
> >> fort-varsio.c:(.text+0x3a4): undefined reference to `nc_get_vars_short'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_int_':
> >> fort-varsio.c:(.text+0x444): undefined reference to `nc_put_vars_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_int_':
> >> fort-varsio.c:(.text+0x4e4): undefined reference to `nc_get_vars_int'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_real_':
> >> fort-varsio.c:(.text+0x584): undefined reference to `nc_put_vars_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_real_':
> >> fort-varsio.c:(.text+0x624): undefined reference to `nc_get_vars_float'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_double_':
> >> fort-varsio.c:(.text+0x6c4): undefined reference to `nc_put_vars_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_double_':
> >> fort-varsio.c:(.text+0x764): undefined reference to `nc_get_vars_double'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_put_vars_':
> >> fort-varsio.c:(.text+0x804): undefined reference to `nc_put_vars'
> >> ../fortran/.libs/libnetcdff.a(fort-varsio.o): In function
> >>`nf_get_vars_':
> >> fort-varsio.c:(.text+0x8a4): undefined reference to `nc_get_vars'
> >> make[2]: *** [nf_test] Error 1
> >> make[2]: Leaving directory `/home/khanb/temp/netcdf-4.1.3/nf_test'
> >> make[1]: *** [check-am] Error 2
> >> make[1]: Leaving directory `/home/khanb/temp/netcdf-4.1.3/nf_test'
> >> make: *** [check-recursive] Error 1
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >Ticket Details
> >===================
> >Ticket ID: PVE-576912
> >Department: Support netCDF
> >Priority: Normal
> >Status: Open
> >
> 
> 
> 


Ticket Details
===================
Ticket ID: PVE-576912
Department: Support netCDF
Priority: Normal
Status: Open