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

20030218: problems in compiling NetCDF package



>From: "Guido Pirovano" <address@hidden>
>Organization: CESI - BU Environment
>Keywords: 200302181202.h1IC2W406571 netCDF DEC OSF/1

Guido,

>we have some problems in compiling NetCDF package.
>We end the "config" procedure, but we fail with "make"
>Our workstation is a Digital Alpha 1000

The error you are seeing appears to be an internal one with the
OSF/1 Fortran 90 compiler:

>f90: Severe: netcdf_text_variables.f90, line 57: Please report this error
>along with the circumstances in which it occurred in a Software Problem
>Report
>     localCount ( :numDims+1) = (/ len(values(1)), shape(values) /)
>^
>[ Aborting due to internal error. ]

The recommendation listed above appears to be to send an error report to
Compaq, not Unidata.

>So:
>
>- The standard output of the command "uname -a" is:
>    OSF1 gwendy.cesi V4.0 1229 alpha
>
>- The contents of the file VERSION is:
>     3.5.0
>
>
>- The absolute pathnames of all compilers (C, Fortran, C++) used in the
>build process
>  we think they are:
> f90     /usr/lib/cmplrs/fort90_400  executable file is: fort90
>c89      /usr/lib/cmplrs/cc                 executable file is: driver
>cxx     /usr/lib/cmplrs/cxx                 executable file is:
>deccxx_driver
>
>
>
>- The file "configure.log":
>
>creating cache ./config.cache
>checking for top-level source-directory
>/raid100/guido/SOFT/proc/citydelta/netcdf-3.5.0/src
>checking for m4 preprocessor
>checking for m4... m4
>checking m4 flags... -B10000
>checking for xlc... no
>checking for c89... c89
>checking C compiler "c89"... works
>checking how to make dependencies... cc -M
>checking for CC... no
>checking for cxx... cxx
>checking C++ compiler "cxx"... works
>checking how to run the C preprocessor... c89 -E
>checking for f77... no
>configure: warning: Could not find working Fortran-77 compiler
>configure: warning: The Fortran-77 interface will not be built
>checking for Fortran .F compiler...
>checking for Fortran preprocessor... c89 -E
>checking "" as Fortran-90 compiler... failed to build test program
>checking for xlf90... no
>checking for f90... f90
>checking Fortran-90 compiler "f90"... works
>checking for nm utility
>checking for nm... nm
>checking nm flags...
>checking for math library
>checking for tanh in -lc... no
>checking for tanh in -lm... yes
>checking for ar utility
>checking for ar... ar
>checking ar flags... cru
>checking for nm utility
>checking for nm... (cached) nm
>checking nm flags...
>checking for ranlib... ranlib
>checking for stdlib.h... yes
>checking for sys/types.h... yes
>checking for strerror... yes
>checking for working ftruncate()... yes
>checking for working alloca.h... yes
>checking for alloca... yes
>checking for st_blksize in struct stat... yes
>checking for IEEE floating point format... yes
>checking for ANSI C header files... yes
>checking for size_t... yes
>checking for off_t... yes
>checking for ssize_t... yes
>checking for ptrdiff_t... yes
>checking for uchar... yes
>checking whether char is unsigned... no
>checking whether byte ordering is bigendian... no
>checking size of short... 2
>checking size of int... 4
>checking size of long... 8
>checking size of float... 4
>checking size of double... 8
>checking size of off_t... 8
>checking size of size_t... 8
>checking for catman... catman
>checking for manual-page index command... catman -w -M $(MANDIR)
>checking binary distribution directory... /home/ftp/pub/binary/dummy_system
>updating cache ./config.cache
>creating ./config.status
>creating macros.make
>udcreating fortran/nfconfig.inc
>creating libsrc/ncconfig.h
>
>
>
>
>- The file "config.log" is:
>
>This file contains any messages produced by compilers while
>running configure, to aid debugging if configure makes a mistake.
>
>configure:928: checking for top-level source-directory
>configure:938: checking for m4 preprocessor
>configure:945: checking for m4
>configure:1012: checking m4 flags
>configure:1040: checking for xlc
>configure:1040: checking for c89
>configure:1085: checking C compiler "c89"
>configure:1094: c89 -c -O -DNDEBUG conftest.c 1>&5
>configure:1121: checking how to make dependencies
>configure:1189: checking for CC
>configure:1189: checking for cxx
>configure:1225: checking C++ compiler "cxx"
>configure:1243: cxx -o conftest  -DNDEBUG  conftest.C  1>&5
>configure:1294: checking how to run the C preprocessor
>configure:1315: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>configure:1475: checking for f77
>configure:1548: checking for Fortran .F compiler
>configure:1589: checking for Fortran preprocessor
>configure:1638: checking "" as Fortran-90 compiler
>configure:1640:  -o conftest  conftest.f90
>configure: -o: not found
>configure:1669: checking for xlf90
>configure:1669: checking for f90
>configure:1700: checking Fortran-90 compiler "f90"
>configure:1702: f90 -o conftest  conftest.f90
>configure:1704: ./conftest
>configure:1751: checking for nm utility
>configure:1758: checking for nm
>configure:1825: checking nm flags
>configure:2462: checking for math library
>configure:2466: checking for tanh in -lc
>configure:2485: c89 -o conftest -O -DNDEBUG  conftest.c -lc   1>&5
>ld:
>Unresolved:
>tanh
>configure: failed program was:
>#line 2474 "configure"
>#include "confdefs.h"
>/* Override any gcc2 internal prototype to avoid an error.  */
>/* We use char because int might match the return type of a gcc2
>    builtin and then its argument prototype would still apply.  */
>char tanh();
>
>int main() {
>tanh()
>; return 0; }
>configure:2504: checking for tanh in -lm
>configure:2523: c89 -o conftest -O -DNDEBUG  conftest.c -lm   1>&5
>configure:2555: checking for ar utility
>configure:2562: checking for ar
>configure:2629: checking ar flags
>configure:2638: checking for nm utility
>configure:2680: checking for nm
>configure:2712: checking nm flags
>configure:2722: checking for ranlib
>configure:2751: checking for stdlib.h
>configure:2761: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>configure:2788: checking for sys/types.h
>configure:2798: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>configure:2824: checking for strerror
>configure:2852: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:2877: checking for working ftruncate()
>configure:2930: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:2952: checking for working alloca.h
>configure:2964: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:2985: checking for alloca
>configure:3018: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3184: checking for st_blksize in struct stat
>configure:3197: c89 -c -O -DNDEBUG conftest.c 1>&5
>configure:3219: checking for IEEE floating point format
>configure:3257: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3278: checking for ANSI C header files
>configure:3291: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>configure:3358: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3382: checking for size_t
>configure:3415: checking for off_t
>configure:3448: checking for ssize_t
>configure:3481: checking for ptrdiff_t
>configure:3514: checking for uchar
>configure:3547: checking whether char is unsigned
>configure:3586: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure: failed program was:
>#line 3576 "configure"
>#include "confdefs.h"
>/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
>#if !defined(__STDC__) || __STDC__ != 1
>#define volatile
>#endif
>main() {
>  volatile char c = 255; exit(c < 0);
>}
>configure:3610: checking whether byte ordering is bigendian
>configure:3628: c89 -c -O -DNDEBUG conftest.c 1>&5
>configure:3643: c89 -c -O -DNDEBUG conftest.c 1>&5
>cc: Error: configure, line 3638: In this declaration, "not" must specify a
>type. (badparsedecl)
> not big endian
>-^
>configure: failed program was:
>#line 3632 "configure"
>#include "confdefs.h"
>#include <sys/types.h>
>#include <sys/param.h>
>int main() {
>
>#if BYTE_ORDER != BIG_ENDIAN
> not big endian
>#endif
>; return 0; }
>configure:3700: checking size of short
>configure:3719: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3739: checking size of int
>configure:3758: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3778: checking size of long
>configure:3797: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3817: checking size of float
>configure:3836: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3856: checking size of double
>configure:3875: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3895: checking size of off_t
>configure:3918: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:3938: checking size of size_t
>configure:3961: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>configure:4020: checking for catman
>configure:4062: checking for manual-page index command
>configure:4066: checking binary distribution directory
>
>
>
>
>- The file "make.log" is:
>
>Making `all' in directory
>/raid100/guido/SOFT/proc/citydelta/netcdf-3.5.0/src/libsrc
>
>c89 -c -O -I.  -DNDEBUG attr.c
>c89 -c -O -I.  -DNDEBUG dim.c
>c89 -c -O -I.  -DNDEBUG error.c
>c89 -c -O -I.  -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
>c89 -c -O -I.  -DNDEBUG nc.c
>c89 -c -O -I.  -DNDEBUG ncio.c
>c89 -c -O -I.  -DNDEBUG ncx.c
>c89 -c -O -I.  -DNDEBUG putget.c
>c89 -c -O -I.  -DNDEBUG string.c
>c89 -c -O -I.  -DNDEBUG v1hpg.c
>c89 -c -O -I.  -DNDEBUG v2i.c
>c89 -c -O -I.  -DNDEBUG var.c
>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  var.o
>ranlib libnetcdf.a
>
>Returning to directory /raid100/guido/SOFT/proc/citydelta/netcdf-3.5.0/src
>
>Not making `fortran/all' because no FORTRAN compiler
>
>Making `all' in directory
>/raid100/guido/SOFT/proc/citydelta/netcdf-3.5.0/src/f90
>
>f90 -c  typeSizes.f90
>f90 -c  netcdf.f90
>f90: Severe: netcdf_text_variables.f90, line 57: Please report this error
>along with the circumstances in which it occurred in a Software Problem
>Report
>     localCount ( :numDims+1) = (/ len(values(1)), shape(values) /)
>^
>[ Aborting due to internal error. ]
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.
>
>
>
>Many thanks in advance for your attention
>guido pirovano
>
>
>*************************************************
>  Guido Pirovano
>
>  CESI - BU Environment
>  Via Reggio Emilia, 39
>  20090 Segrate (MI)
>  Italy
>
>  tel:  +39 +02 2125.8935     fax: +39  +02 2125.8691
>  e-mail: address@hidden
>  http://www.cesi.it
>*************************************************

Tom Yoksas