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.
Daniel, > To: address@hidden > From: Daniel Fredette <address@hidden> > Subject: Errors while running "make test" > Organization: Weather Services International > Keywords: 200007111320.e6BDK6T21853 In the above message, you wrote: > I ran across some errors while running "make test". I have supplied > the information that you request. Any help would be greatly > appreciated. > > A) Linux sysm3x 2.2.5-15smp #1 SMP Mon Apr. 19 22:43:28 EDT i686 > unknown > > B) 3.4 > > C) Fortran: /usr/local/pgi/linux86/bin/pgf90 > C: /usr/bin/gcc > > D) configure.log: Attached > > E) config.log: Attached > > F) make.log: Attached > > G) test.log: Attached > > H) install.log: N/A > > > Any help would be helpful. > > Thanks in advance, > > Dan Fredette > Software Engineer > > creating cache ./config.cache > checking for m4... m4 > checking user-defined C compiler "/usr/bin/cc" > checking C compiler... works > checking how to make dependencies... false > checking for /usr/bin/c++... /usr/bin/c++ > checking C++ compiler "/usr/bin/c++"... works > checking how to run the C preprocessor... //usr/local/pgi/linux86/bin/pgf90 > -g -w The last line above indicates that the environment variable CPP was set to "//usr/local/pgi/linux86/bin/pgf90 -g -w", which is probably not what you want because the pgf90 compiler is probably not a good C preprocessor. > checking user-defined Fortran compiler "//usr/local/pgi/linux86/bin/pgf90"... > works The last line above indicates that the environment variable FC was set to "//usr/local/pgi/linux86/bin/pgf90", which has an extra slash prefix. I suggest the following: 1. Go to the top-level source directory. 2. Perform steps 3 through 5 near the end of the INSTALL file. 3. Ensure that the environment variables CPP, F90, and F90FLAGS are undefined. 4. Ensure that the following environment variables contain the indicated values: CPPFLAGS -DpgiFortran FC /usr/local/pgi/linux86/bin/pgf90 FFLAGS -g -w Note that the FC value has only one slash prefix. 5. Perform steps 6 through 9 near the end of the INSTALL file. Please let me know if this helps. Regards, Steve Emmerson <http://www.unidata.ucar.edu>