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

[netCDF #HVM-115621]: Netcdf api with Fortran and C



> Hi Ed,
> I use the command :
> *sudo ./configure --prefix=/usr/local/netcdf --with-libcf --with-udunits
> --enable-shared --disable-compiler-recover CPPFLAGS= CC=cc CFLAGS="-g -O2"
> CXX=c++ CXXFLAGS="-g -O2" FC=gfortran FCFLAGS="-g -O2" F77=gfortran
> FFLAGS="-g -O2" LDFLAGS= LIBS= FLIBS= F90LIBS=*
> *    make check install*
> *    *use the -I and -L to compile and link the program, but the
> compiling process is OK and link failed with the information.
> 
> Here is the nc-config --all on my laptop:
> This netCDF 4.0.1 has been built with the following features:
> --cc        -> cc
> --cflags    ->  -I/usr/local/netcdf/include
> --libs      -> -L/usr/local/netcdf/lib -lnetcdf
> --cxx       -> c++
> --has-c++   -> yes
> --fc        -> gfortran
> --fflags    -> -g -O2 -I/usr/local/netcdf/include
> --flibs     -> -L/usr/local/netcdf/lib -lnetcdff -lnetcdf
> --has-f77   -> yes
> --has-f90   -> yes
> --has-dap   -> no
> --has-nc2   -> yes
> --has-nc4   -> no
> --has-hdf5  -> no
> --prefix    -> /usr/local/netcdf
> --version   -> netCDF 4.0.1
> 
> 
> Thank you for your help!
> ---------------------------------------------------
> Xianghui XUE
> School of Earth and Space Sciences
> Univ. of Sci. & Tech. of  China
> Hefei, Anhui 230026, P.R.China.
> Tel:+86-551-3600048
> Fax:+86-551-3607615
> Email: address@hidden
> Homepage: http://space.ustc.edu.cn/alias.php?user=xianghuixue
> 
> ---------------------------------------------------


Did the "make check" succeed?

Please send me the command that is failing to work for you...

Thanks,

Ed

Ticket Details
===================
Ticket ID: HVM-115621
Department: Support netCDF
Priority: Normal
Status: Closed