|
From: Bill H. <hi...@fa...> - 2001-05-03 06:30:37
|
Did you add '-DLITTLE' to CFLAGS in the foo_to_v5d.c.m makefile for the Linux compile? Good luck, Bill christopher moore wrote: > > I'm having a problem. I modified foo_to_v5d.c to read GMT grid files > (really netCDF files) to create a v5d file. > > It runs great on my SGI machine, but when I give it to a friend running > Linux (RH7) it doesn't work in the following way: > > We got it to compile and run (after hunting down a rouge fclose(f)). And > it creates a file, but vis5d and v5dinfo don't recognize it. > > Error: not a v5d file > Error: couldn't open pache3.v5d > > Frustrating, because it compiles and runs without errors. And it > compiles, runs, and gives good data files on my SGI. I'm not up on > Linux... anyone have trouble Creating v5d in Linux? We're using g++ (and > the netCDF c++ libraries, but they seem to be reading the files just fine > - it's writing v5d that's the trouble). Vis5d-5.2. > > Sorry so long. > > Chris > ______________________________________________________________ > Christopher Moore tel 206.526.6779 > Research Scientist, Oceanography fax 206.526.6744 > University of Washington/JISAO/NOAA-PMEL > -------------------------------------------------------------- -- ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hi...@fa... 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html |