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

20000623: Netcdf 3.4/Installation on Linux



Beena,

> To: address@hidden
> From: Ms Beena B Sarojini <address@hidden>
> Subject: Netcdf 3.4/Installation
> Organization: Indian Institute of Science
> Keywords: 200006230949.e5N9ntT24256

In the above message, you wrote:

> I am met with some problems (given below)while installing Netcdf 3.4 in
> Linux (Red Hat 6.2) Operating System.Could you pl. help me in fixing it?
> 
> Expecting  your reply soon.
> 
> Thanks in advance.
> 
> Regards,
> Beena.
> 
> 
> Beena B. Sarojini
> Centre for Atmospheric and Oceanic Sciences
> Indian Institute of Science
> Bangalore
> INDIA
> 
> -------------------------------------------------------------------------------------------------------
>  1.  Output from the command `uname -a'.
>  
> Linux bengal 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000 i686 unknown
> 
>  2.  Output from the command `env'.
>  
> LESSOPEN=|/usr/bin/lesspipe.sh %s USERNAME= COLORTERM= HISTSIZE=1000
> HOSTNAME=bengal LOGNAME=beena INIT_VERSION=sysvinit-2.78
> MAIL=/var/spool/mail/beena MACHTYPE=i386 PGI=/usr/pgi
> GADDIR=/usr/local/grads/dat TERM=xterm HOSTTYPE=i386-linux
> PATH=/usr/kerberos/bin:/usr/kerberos/bin:/usr/pgi/linux86/bin:/usr/kerberos/bin:/usr/kerberos/bin:/usr/p
> gi/linux86/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/
> beena/bin:/usr/X11R6/bin HOME=/root GAUDFT=/usr/local/grads/udf/udft
> INPUTRC=/etc/inputrc PREVLEVEL=N GASCRP=/usr/local/grads/lib RUNLEVEL=5
> SHELL=/bin/bash USER=beena GDM_LANG=en_US
> MANPATH=/usr/local/man:/usr/man/preformat:/usr/local/FortranPlus/man:/usr/man:/usr/X11/man:/usr/local/mpi/man/:/usr/pgi/man
> AUTOBOOT=YES VENDOR=intel GROUP=beena BASH_ENV=/home/beena/.bashrc
> QTDIR=/usr/lib/qt-2.1.0 BOOT_IMAGE=linux DISPLAY=:0 LANG=en_US HOST=bengal
> OSTYPE=linux GDMSESSION=KDE PWD=/usr/local/netcdf-3.4/src SHLVL=2
> LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
>                                                                       
> 
> 3. Output from the `configure' script.
> 
> [root@bengal src]# ./configure --prefix=/usr/local loading cache
> ./config.cache checking for m4... (cached) m4 checking for xlc... (cached)
> cc checking C compiler... works checking how to make dependencies... false
> checking for CC... (cached) c++ checking C++ compiler "c++"... works
> checking how to run the C preprocessor... (cached) cc -E checking for
> f77... (cached) f77 checking for Fortran .F compiler... checking if
> Fortran compiler handles *.F files... yes checking for C-equivalent to
> Fortran routine "SUB"... sub_ checking for Fortran "byte"... yes checking
> for Fortran "integer*2"... yes checking if Fortran "byte" is C "signed
> char"... yes checking if Fortran "byte" is C "short"... no checking if
> Fortran "byte" is C "int"... no checking if Fortran "byte" is C "long"...
> no checking if Fortran "integer*2" is C "short"... yes checking if Fortran
> "integer*2" is C "int"... no checking if Fortran "integer*2" is C
> "long"... no checking if Fortran "integer" is C "int"... yes checking if
> Fortran "real" is C "float"... yes checking if Fortran "doubleprecision"
> is C "double"... yes checking for Fortran-equivalent to netCDF "byte"...
> byte checking for Fortran-equivalent to netCDF "short"... integer*2
> checking for math library checking for -lc... (cached) no checking for
> -lm... (cached) yes checking for ar... (cached) ar checking for ranlib...
> (cached) ranlib checking for stdlib.h... (cached) yes checking for
> sys/types.h... (cached) yes checking for strerror... (cached) yes checking
> whether cross-compiling... (cached) no checking for working ftruncate()...
> yes checking for working alloca.h... (cached) yes checking for alloca...
> (cached) yes checking for st_blksize in struct stat... (cached) yes
> checking for IEEE floating point format... yes checking for ANSI C header
> files... (cached) yes checking for size_t... (cached) yes checking for
> off_t... (cached) yes checking for ssize_t... (cached) yes checking for
> ptrdiff_t... (cached) yes checking for uchar... (cached) no checking
> whether char is unsigned... (cached) no checking whether byte ordering is
> bigendian... (cached) no checking size of short... (cached) 2 checking
> size of int... (cached) 4 checking size of long... (cached) 4 checking
> size of float... (cached) 4 checking size of double... (cached) 8 checking
> size of off_t... (cached) 4 checking size of size_t... (cached) 4 checking
> for manual-page index command... checking binary distribution directory...
> /home/ftp/pub/binary/dummy_system creating ./config.status creating
> macros.make udcreating fortran/nfconfig.inc fortran/nfconfig.inc is
> unchanged creating libsrc/ncconfig.h libsrc/ncconfig.h is unchanged
> [root@bengal src]#                                                            
>                           
> 
> 4. Output from the `make' commands. 
> 
> [root@bengal src]# make make[1]: Entering directory
> `/usr/local/netcdf-3.4/src' Making `all' in directory
> /usr/local/netcdf-3.4/src/libsrc make[2]: Entering directory
> `/usr/local/netcdf-3.4/src/libsrc' ar cru libnetcdf.a attr.o dim.o error.o
> libvers.o nc.o ncio.o ncx.o putget.o string.o v1hpg.o v2i.o va r.o ranlib
> libnetcdf.a make[2]: Leaving directory `/usr/local/netcdf-3.4/src/libsrc'
> Returning to directory /usr/local/netcdf-3.4/src make[1]: Leaving
> directory `/usr/local/netcdf-3.4/src' make[1]: Entering directory
> `/usr/local/netcdf-3.4/src' Making `all' in directory
> /usr/local/netcdf-3.4/src/fortran
>  
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/fortran' cc -c -O
> -I../libsrc -DNDEBUG fort-attio.c In file included from ncfortran.h:13,
>                  from fort-attio.c:6: cfortran.h:151: #error "cfortran.h:  
> Can't find your environment among:\
>     - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...)  \
>     - IBM AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000 \
>     - VAX VMS CC 3.1 and FORTRAN 5.4.  \
>     - Alpha VMS DEC C 1.3 and DEC FORTRAN 6.0.  \
>     - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP Version 1.2 \
>     - Apollo DomainOS 10.2 (sys5.3) with f77 10.7 and cc 6.7.  \
>     - CRAY \
>     - NEC SX-4 SUPER-UX \
>     - CONVEX \
>     - Sun \
>     - PowerStation Fortran with Visual C++ \
>     - HP9000s300/s700/s800 Latest test with: HP-UX A.08.07 A 9000/730 \
>     - LynxOS: cc or gcc with f2c.  \
>     - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77.  \
>     - f77 with vcc works; but missing link magic for f77 I/O. \
>     - NO fort. None of gcc, cc or vcc generate required names.\
>     - f2c : Use #define f2cFortran, or cc -Df2cFortran \
>     - NAG f90: Use #define NAGf90Fortran, or cc -DNAGf90Fortran \
>     - Absoft UNIX F77: Use #define AbsoftUNIXFortran or cc
> -DAbsoftUNIXFortran" make[2]: *** [fort-attio.o] Error 1 make[2]: Leaving
> directory `/usr/local/netcdf-3.4/src/fortran' make[1]: *** [subdir_target]
> Error 1 make[1]: Leaving directory `/usr/local/netcdf-3.4/src' make: ***
> [fortran/all] Error 2
> [root@bengal src]#                                                            
>                           

The answer to your question can be found in our netCDF support-email archive.
Please see the following web page:

    http://www.unidata.ucar.edu/glimpse/netcdf/3661

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>