[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970210: Key not found???
- Subject: 970210: Key not found???
- Date: Mon, 10 Feb 97 12:28:49 -0700
Dear Bob,
> To: "SUPPORT" <address@hidden>
> From: "R.A. Warner" <address@hidden>
> Subject: Key not found???
> Organization: NOAA
> Keywords: 199702051533.IAA09249
In the above message you wrote:
> My name is Bob Warner and I am a member of a team (of 3) working with
> satellite sensor data for coastal oceanography applications.
>
> We received some data that is in HDF.
>
> I have down loaded the HDF libraries from NCSA (version4r2), which
> included your netCDF in ...hdf4_0r2/mfhdf/xdr. We have DEC alpha
> workstations running OpenVMS and I have compiled libdf.a, libjpeg.a
> and libz.a.
>
> The last library that I need to compile is the libmfhdf.a which
> that comes with HDF4.0r2 rather unsavory, however I down loaded
> your vms_beta/netcdf-2_4_4.src.xdr and the world is looking much
> better.
Be advised that our netCDF implementation can't be used to read NCSA HDF
files: our implementation only reads Unidata netCDF files. Only NCSA's
netCDF implementation can can read both Unidata netCDF files and NCSA
HDF files.
> Yep, you guessed it, EXCEPT that XDRTEST.C wants a
> ucs$rpcxdr.h file rather badly. Of course, since we have OpenVMS,
> we don't use the TCP/IP UCX but rather Wollongong, so I tried that
> [...netdist.include.rpc]XDR.H -> NOPE, so I tried to use the XDR.H
> within the 2_4_4 directory ->nope, tried to comment out the include ->
> running Digital UNIX /usr/include/rpc/xdr.h -> nope
Because we don't have access to an OpenVMS system with the Wollongong
TCP/IP package installed, I'm afraid you're going to be on your own when
it comes to modifying the makevms.com scripts.
You might try posting your problem to the netCDF mailing-list. Someone
out there might have built the netCDF package on a system like yours.
>
> I have included the listings for 1. using the Digital UNIX and the
> run that was made 2. using the xdr.h that came within the 2_4_4 .src
> library all for your viewing pleasure, if you like that sort of thing.
>
> *****> :-(
> The messages from both runs state that a "KEY NOT FOUND", is that a
> license key or a header of some sort?
I have no idea.
>
> We use fortran and are not familiar with C, however as I mentioned the
> other libraries seemed to "make" without major problems.
>
> Thank you very much for any assistance!
>
> Sincerely, LOST-BETWEEN_VMS_&_NETCDF :-)
>
>
>
> 1.
> Source Listing 31-JAN-1997
> 15:2
> 2:45 DEC C V4.0-000 Page 1
> 31-JAN-1997
> 15:2
> 1:45 XDRTEST.C;7
>
> 1 /*
> 2 * Copyright 1988, University Corporation for Atmospheric
> R
> esearch
> 3 * Not for Resale. All copies to include this
> notic
> e.
> 4 */
> 5 #ifndef lint /* SUPPRESS 592 */
> 6 static char rcsid[] = "$Id: xdrtest.c,v 1.37 1996/10/04
> 17:07:33
> steve Exp $" ;
> 7 #endif
> 8
> 9 /*
> 10 * This program tests only the xdr library functionality
> require
> d by netCDF.
> 11 * 'xdr_vector' is not used by the netCDF, it is used here
> for
> convenience.
> 12 */
> 13 #include <sys/types.h> /* For <netinet/in.h> on some
> sy
> stems. */
> 32 /* Must be before <stdlib.h>
> und
> er DEC C
> 33 /* V5.0-003 on OpenVMS Alpha
> V6.
> 2 */
> 34 #include <stdio.h>
> 415 #include <stdlib.h>
> 704 #include <types.h> /* included just after
> <stdio.h>
> to prevent */
> 723 /* VMS warnings */
> 724 #ifndef MSDOS
> 725 # include <netinet/in.h> /* for htonl() */
> 932 #endif
> 933
> 934 #ifdef vms
> 935 # include <lib$routines.h> /* for init_timer() */
> 2553 #endif
> 2554
> 2555 /*
> 2556 * The following is necessary because the assert() macro
> *must*
> be defined
> 2557 * for the proper operation of this program.
> 2558 */
> 2559 #undef NDEBUG
> 2560
> 2561 #if 0
> X 2562 #define NDEBUG
> X 2563 # ifndef NDEBUG
> X 2564 # define _assert(ex) {if
> (!(ex)){(void)fprintf(stderr,"Assert
> ion failed: file \"%s\", line %d\n", __FILE__, __LIN
> X 2564 E__);exit(1);}}
> X 2565 # define assert(ex) _assert(ex)
> X 2566 # else
> X 2567 # define _assert(ex) ex
> X 2568 # define assert(ex) ex
> X 2569 # endif
> X 2570 #else
> 2571 #include <assert.h>
> 2622 #endif
> 2623
> 2624 #if __alpha && __vms
> 2625 # include <ucx$rpcxdr.h>
> .....1
> %CC-F-INCLUDEOPEN, (1) An error occurred while attempting to open the include
> fi
> le <ucx$rpcxdr.h>: Key not found.
>
> %CC-E-NOOBJ, (1) Object file deleted.
>
> 2626 /* <dka300:[specific.pathway.netdist.include.rpc]xdr.h> */
> 2627 #else
> X 2628 # include <xdr.h>
>
>
> 2.
>
> Source Listing 31-JAN-1997
> 15:4
> 7:06 DEC C V4.0-000 Page 1
> 27-JAN-1997
> 13:5
> 7:32 XDRTEST.C;6
>
> 1 /*
> 2 * Copyright 1988, University Corporation for Atmospheric
> R
> esearch
> 3 * Not for Resale. All copies to include this
> notic
> e.
> 4 */
> 5 #ifndef lint /* SUPPRESS 592 */
> 6 static char rcsid[] = "$Id: xdrtest.c,v 1.37 1996/10/04
> 17:07:33
> steve Exp $" ;
> 7 #endif
> 8
> 9 /*
> 10 * This program tests only the xdr library functionality
> require
> d by netCDF.
> 11 * 'xdr_vector' is not used by the netCDF, it is used here
> for
> convenience.
> 12 */
> 13 #include <sys/types.h> /* For <netinet/in.h> on some
> sy
> stems. */
> 32 /* Must be before <stdlib.h>
> und
> er DEC C
> 33 /* V5.0-003 on OpenVMS Alpha
> V6.
> 2 */
> 34 #include <stdio.h>
> 415 #include <stdlib.h>
> 704 #include <types.h> /* included just after
> <stdio.h>
> to prevent */
> 723 /* VMS warnings */
> 724 #ifndef MSDOS
> 725 # include <netinet/in.h> /* for htonl() */
> 932 #endif
> 933
> 934 #ifdef vms
> 935 # include <lib$routines.h> /* for init_timer() */
> 2553 #endif
> 2554
> 2555 /*
> 2556 * The following is necessary because the assert() macro
> *must*
> be defined
> 2557 * for the proper operation of this program.
> 2558 */
> 2559 #undef NDEBUG
> 2560
> 2561 #if 0
> X 2562 #define NDEBUG
> X 2563 # ifndef NDEBUG
> X 2564 # define _assert(ex) {if
> (!(ex)){(void)fprintf(stderr,"Assert
> ion failed: file \"%s\", line %d\n", __FILE__, __LIN
> X 2564 E__);exit(1);}}
> X 2565 # define assert(ex) _assert(ex)
> X 2566 # else
> X 2567 # define _assert(ex) ex
> X 2568 # define assert(ex) ex
> X 2569 # endif
> X 2570 #else
> 2571 #include <assert.h>
> 2622 #endif
> 2623
> 2624 /* #if __alpha && __vms */
> 2625 /* ucx tcpip # include <ucx$rpcxdr.h> */
> 2626 /* for Wollongong tcpip the following exists however it is the
> s
> ame */
> 2627 /* as the xdr.h with the omission of the key */
> 2628 /* <dka300:[specific.pathway.netdist.include.rpc]xdr.h> */
>
> Source Listing 31-JAN-1997
> 15:4
> 7:06 DEC C V4.0-000 Page 2
> 27-JAN-1997
> 13:5
> 7:32 XDRTEST.C;6
>
> 2630 # include <xdr.h> */
> .....1
> %CC-F-INCLUDEOPEN, (1) An error occurred while attempting to open the include
> fi
> le <xdr.h>: Key not found.
>
> %CC-E-NOOBJ, (1) Object file deleted.
>
> 2631 /* #endif */
> 2632
> 2633 #define TESTFILE "test.xdr"
> 2634 /* if this is NOT defined, then the program just reads the
> file
> */
> 2635 #define CREATE
> 2636
> 2637 #define EPSILON .0005
> 2638
> 2639 main(ac,av)
>
>
>
>
>
>
> - ------- End of Forwarded Message
>
>
> ------- End of Forwarded Message
--------
Steve Emmerson <address@hidden>