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

Re: 19990603: building NETCDF 3.3.1 under HP-UX 11.0



Rich,

> To: address@hidden
> From: Rich Loft <address@hidden>
> Subject: HP 11.0
> Organization: UCAR/NCAR/SCD
> Keywords: 199906032206.QAA29835

In the above message, you wrote:

> I'm trying to make NETCDF 3.3.1 build under HP-UX 11.0 and it
> gives the following error:
> 
> Making `all' in directory /mnt/ncar/ccm_omp/netcdf/libsrc
> 
> Make: Don't know how to make ncconfig.h.  Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> I am using the HPUX 10.0 settings for e-variables reported in 
> 
> http://www.unidata.ucar.edu/packages/netcdf/other-builds.html#hpux-10
> 
> Is their any fix for this, any guidance for HPUX 11.0 users of netcdf?

You should install version 3.4 of the netCDF package (the most recent
release) rather than version 3.3.1.

I just built version 3.4 of the netCDF package on our HP-UX B.11.00 E
9000/715 system using the following settings:

    ENVIRONMENT VARIABLE        VALUE
    --------------------        -----
    CC                          /bin/c89
    CPPFLAGS                    -DNDEBUG -D_HPUX_SOURCE -w
    CFLAGS                      -O
    FC                          /opt/fortran/bin/fort77
    FFLAGS                      -O -w
    CXX                         /usr/bin/CC

Whatever you do, don't use "-O3" in the FFLAGS environment variable.  It
causes the "ncgen" test to fail.

I suggest that you 

    1.  Get release 3.4 of the netCDF package; and
    
    2.  Execute steps 2 through 9 near the end of the INSTALL file.

Please let me know if this helps.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>