NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: NetCDF under VMS...

>
> 
> Has *anyone* ported NetCDF to VMS ?!?
> 
> Inquiring minds want to know,
> 
> -RZ
>

I built netcdf-3_3_1 in November 1997 for VMS V.6 and VAX.

--Tina

Following are my notes:


11/12/97 C.Ludescher
Chages I made to get it working on Alpha VMS:
--------------------------------------------------------
Created  ...libsrc]makevms.com
         ..fortran]makevms.com

compile with /names=as_is    ! NC_sync / nc_sync
             /float=IEEE

libsrc:
======
posixio.c
        sysconf    -> hardcoded 8192
        undefine   -> remove

ncx.c
        #ifdef vax -> #ifdef vms
        move all #elif vax to beginning  -> #ifdef vms
             (otherwise generates non-vms code)

ncx.h
        #define SIZEOF_SIZE_T   4
        #define SIZEOF_OFF_T    4
        #define SIZEOF_DOUBLE   8
        #define SIZEOF_FLOAT    4
        #define SIZEOF_INT      4
        #define SIZEOF_LONG     4
        #define SIZEOF_SHORT    2

        #define X_DOUBLE_MAX    3.40282347e+38

fortran:
=======
        in *c, *.h, *.inc
        change all #if **** -> #ifdef ****

nfconfig.inc
        #define NF_INT1_T  BYTE
        #define NF_INT2_T  INTEGER*2
        #define NF_INT4_T  INTEGER*4
        #define NF_REAL_T  REAL*4
        #define NF_DOUBLE_T  REAL*8

        #define NF_INT1_IS_C_SIGNED_CHAR NF_INT1_T
        #define NF_INT2_IS_C_SHORT NF_INT2_T
        #define NF_INT_IS_C_INT    NF_INT4_T
        #define NF_REAL_IS_C_FLOAT NF_REAL_T
        #define NF_DOUBLEPRECISION_IS_C_DOUBLE NF_DOUBLE_T

 
> ==
> 
> Randy Zagar                          E-Mail: zagar@xxxxxxxx
> Sr. Scientific Programmer            E-Mail: zagar@xxxxxxxxxxxxxxxxxxx
> College of Marine Studies              HTTP://newark.cms.udel.edu/~zagar
> University of Delaware                Voice: (302) 831-1139
> Newark, DE 19716                        FAX: (302) 831-6838
> 
> 

  • 1999 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: