This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Unidata Support <address@hidden> writes: > Ed, steve may have already forwarded this to you, but if not, here it is..jw > ------- Forwarded Message > >>To: "'address@hidden'" <address@hidden> >>From: Ieesuck Jung <address@hidden> >>Subject: netCDF install fails on RedHat 9 using pgf90 >>Organization: UCAR/Unidata >>Keywords: 200502012036.j11Kagv2020655 > > While I install netCDF on RedHat 9 using pgf90 version 5.1, a compile error > occurred. > > The system environment is: > * PC Platform > * RedHat Linux 9 > * Linux Kernel 2.4.20-20.8smp > * Portland Group FORTRAN compiler (pgf90) 5.1 > * netCDF 3.6.0 > > > The following variables are used in 'macros.make': > > # Preprocessing: > M4 = m4 > M4FLAGS = -B10000 > CPP = /usr/bin/gcc -P > CPPFLAGS = $(INCLUDES) $(DEFINES) -DpgiFortran > FPP = > FPPFLAGS = > CXXCPPFLAGS = $(CPPFLAGS) > > # Compilation: > CC = /usr/bin/gcc -P > CXX = /usr/bin/g++ -P > FC = /usr/pgi/linux86/5.1/bin/pgf90 > F90 = /usr/pgi/linux86/5.1/bin/pgf90 > CFLAGS = -g -O2 > CXXFLAGS = -g -O2 > FFLAGS = -O2 -w -Mfixed -Mextend > F90FLAGS = -O2 -Mfixed -Mextend > CC_MAKEDEPEND = false > COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS) > COMPILE.cxx = $(CXX) -c $(CXXFLAGS) $(CXXCPPFLAGS) > COMPILE.f = $(FC) -c $(FFLAGS) > COMPILE.F90 = $(F90) -c $(F90FLAGS) > > > The following error messages are attached from the logs of 'make test' > process: > > make[2]: Entering directory > `/data/project/cmaq/cmas_training/lib/netcdf-3.6.0/src/f90' > /usr/pgi/linux86/5.1/bin/pgf90 -c -O2 -Mfixed -Mextend typeSizes.f90 > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 30) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 31) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 32) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 33) > PGF90-S-0034-Syntax error at or near , (typeSizes.f90: 34) > PGF90-S-0034-Syntax error at or near , (typeSizes.f90: 35) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 38) > PGF90-S-0034-Syntax error at or near , (typeSizes.f90: 39) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 42) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 51) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 52) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 53) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 55) > PGF90-S-0034-Syntax error at or near == (typeSizes.f90: 56) > PGF90-S-0034-Syntax error at or near > (typeSizes.f90: 57) > PGF90-S-0023-Syntax error - unbalanced parentheses (typeSizes.f90: 58) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 60) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 62) > PGF90-S-0018-Illegal label field (typeSizes.f90: 63) > PGF90-S-0021-Label field of continuation line is not blank (typeSizes.f90: > 64) > PGF90-S-0022-Unexpected end of file - missing END statement (typeSizes.f90: > 63) > 0 inform, 0 warnings, 21 severes, 0 fatal for bytesizesok > make[2]: *** [typeSizes.o] Error 2 > make[2]: Leaving directory > `/data/project/cmaq/cmas_training/lib/netcdf-3.6.0/src/f90' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory > `/data/project/cmaq/cmas_training/lib/netcdf-3.6.0/src' > make: *** [f90/test] Error 2 > > > I have no idea what has caused this error. > Thank you for your help in advance. > > Regards, > Ieesuck Jung > Air Quality Engineer II > Maricopa Association of Governments > 302 N. 1st Ave, Ste. 300 > Phoenix, Arizona 85003 > 602)452-5024 > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > > ------- End of Forwarded Message > > Howdy! Please see: http://my.unidata.ucar.edu/content/software/netcdf/builds/Linux_pg_3_6_0.txt Can you send me output just like this? That is, do a "make distclean" and then do "./configure;make test" and send me the entire output (in ASCII). Thanks! Ed -- Ed Hartnett -- address@hidden