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

[netCDF #ATL-117997]: netcdf make check error



Ulas,

According to line 81 of the configure.log file you attached:

  configure: WARNING: No F90 compiler found. F90 API will not be built.

so running "make check" in the f90 directory manually will not work and
results in the error that was in the "make check error" attachment:

  ncfortran.h:26:42: NF_INT_IS_C_... not defined: No such file or directory

The configure script tries to find pgf95 or pgf90 in your PATH.  I see you
have "/opt/pgi/linux86/7.2/bin" in your PATH.  Does that directory contain
either pgf95 or pgf90?  If so, are the file permissions set so that pgf95
or pgf90 are executable?  You should be able to compile and link a simple
Fortran program with one of these before running the configure script.

The configure script does find /usr/bin/f77 as the Fortran 77 compiler and
confirms that that works OK.  The attachment you sent with the output from
"make check" in the "fortran" subdirectory associated with the Fortran-77
interface showed no errors, however it was compiled with the GNU f77 compiler
in /usr/bin/f77.

So if you need to use the pgi compilers, you still need to make sure they are
installed and working and you PATH is set OK for running them.  You might find
this Portland Group web site helpful, although it is for netCDF version 3.6.2
instead of 4.0:

  http://www.pgroup.com/resources/netcdf/netcdf362_pgi71.htm

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: ATL-117997
Department: Support netCDF
Priority: Normal
Status: Closed