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

[netCDF #VOX-741888]: installation of netcdf



> Dear Sir,
> 
> 
> I have downloaded netcdf.tar.gz from your website. I have unzipped and
> unpacked the
> <http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf.tar.gz>file, I got
> /netcdf-3.6.2/ directory. While giving the ./configure command in the
> /netcdf-3.6.2/ directory, it is showing
> 
> 
> configure: netCDF 3.6.2
> 
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> configure: checking user options
> checking whether CXX is set to ''... no
> checking whether FC is set to ''... no
> checking whether F90 is set to ''... no
> checking whether documentation is to be installed... no
> checking whether Fortran compiler(s) should be tested during configure...  yes
> checking whether configure should try to set compiler flags... yes
> checking whether FFIO will be used... no
> checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes
> checking whether only the C library is desired... no
> checking whether examples should be built... yes
> checking whether F77 API is desired... yes
> checking whether F90 API is desired... yes
> checking whether fortran type sizes should be checked... yes
> checking whether C API is desired... yes
> checking where to get netCDF C-only library for separate fortran libraries...
> checking whether CXX API is desired... yes
> checking whether v2 netCDF API should be built... yes
> checking whether the ncgen/ncdump should be built... yes
> checking whether large file (> 2GB) tests should be run... no
> checking whether extreme numbers should be used in tests... yes
> checking where to put large temp files if large file tests are run... .
> checking whether a win32 DLL is desired... no
> checking whether separate fortran libs are desired... no
> configure: finding C compiler
> checking for xlc... no
> checking for cc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... gcc3
> checking whether cc understands -c and -o together... yes
> checking for an ANSI C-conforming const... yes
> configure: finding Fortran compiler (will not be used if Fortran API is not 
> desired)
> checking for xlf90... no
> checking for fort... no
> checking for xlf95... no
> checking for ifort... ifort
> checking whether we are using the GNU Fortran compiler... no
> checking whether ifort accepts -g... no
> checking for xlf... no
> checking for fort... no
> checking for xlf95... no
> checking for ifort... ifort
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether ifort accepts -g... no
> configure: setting up Fortran 90
> checking for Fortran flag to compile .f90 files... unknown
> configure: error: Fortran could not compile .f90 files
> 
> after giving "make check" command it is showing
> 
> make: *** No rule to make target `check'. Stop.
> 
> and after giving "make install" command it is showing
> 
> make: *** No rule to make target `install'. Stop.
> 
> I am having "RedHat Enterprise Linux ES (2.6.9-34.EL)" platform on my PC. I
> have installed Portland Group C, f77 and f90 (PGI) compilers installed in
> /opt/pgi/ directory.
> 
> Please suggest how to install netcdf with PGI compiler.
> 
> Thanking you,
> 
> Dr. Ramesh Kumar Yadav,
> Scientist, IITM,
> Pune, INDIA
> 
> 


Your fortran 90 compiler is not working.

Look in config.log to see why.

Either fix it, or configure with --disable-f90.

Ed

Ticket Details
===================
Ticket ID: VOX-741888
Department: Support netCDF
Priority: Normal
Status: Closed