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

Re: 20010920: netCDF installation problems



>To: <address@hidden>
>From: Thomas Johnson <address@hidden>
>Subject: netCDF installation problems
>Organization: UCAR/Unidata
>Keywords: 200109191619.f8JGJG106535

Hi Tom,

>   I am having problems installing netcdf-3.5.0 on my HP system.
> Here is the information that you ask for in your install.html document.
> I hope you can help me fiure out what is not working.  I did notice
> that the configure file has some checks come up with nos.  Like
> 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

The no's in the output of the configure script are expected and don't
indicate a problem.  The error messages you included from "config.log"
are similarly not a problem.  It looks like all the tests ran
successfully for the C, C++, Fortran 77, and Fortran 90 interfaces and
the ncdump and ncgen utility programs.  The only indication of any
problem is at the end of the "make install" output:

> Making `install' in directory /users/tj/softw/_netcdf/netcdf-3.5.0/src/f90
> 
> *** Error exit code 1

I can't tell from this error message why it failed, and we don't have
an f90 compiler on our HPUX 11 platform, so I can't duplicate the
error.  However, all you need to do to complete the installation of
the Fortran90 interface is to copy the "f90/netcdf.mod" file to the
netCDF "include/" directory and copy the "f90/netcdf.3f90" man page
documentation to where that should be installed, for example:

  cp netcdf.mod /users/tj/softw/_netcdf/netcdf-3.5.0/include/netcdf.mod
  cp netcdf.3f90 /users/tj/softw/_netcdf/netcdf-3.5.0/man/man3/netcdf.3f90

It's possible your Fortran90 compiler has created some variation of
"netcdf.mod", such as "netcdf.MOD", which you would copy instead of
"netcdf.mod".

Then complete the installation by invoking "make install" in the three
"netcdf-3.5.0/src/" subdirectories "ncdump/", "ncgen/", and "cxx/".

--Russ

_____________________________________________________________________

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