[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20041220: Problem compiling gribdec with 2004a on linux red hax...
- Subject: 20041220: Problem compiling gribdec with 2004a on linux red hax...
- Date: Mon, 20 Dec 2004 14:32:36 -0700
>From: Matthew Lazzara <address@hidden>
>Organization: SSEC/AMRC
>Keywords: 200412201715.iBKHFslI022787 McIDAS-XCD gribdec.k
Hi Matthew,
>How are ya? Season's Greetings from Wisconsin.
I'm doing well, thanks. I hope you are having/will have a great time
over the holidays also.
>I gotta a question for ya - I've upgraded from McIDAS-X 2003 to McIDAS-X
>2004a, and in trying to rebuild gribdec I'm getting this odd error about
>m0xcd.h (using either g77 or gcc).
Two things:
- you mean 'm0xcd.inc', not 'm0xcd.h' (Fortran vs C) (nitpicking :-)
- the message you are seeing is a warning, not an error:
g77 -c -O -Wuninitialized -fno-automatic -ff90-intrinsics-hide -I.
-I/home/mcidas/inc gribdec.f
m0xcd.inc: In subroutine `main0':
m0xcd.inc:174: warning:
PARAMETER (MNINT4 = Z'80000000')
>Do you have any advice?
I see this and ignore it.
>I've run
>into this on Linux Red Hax Enterprise 3.0, gcc/g77 3.2.3 and as a minor
>note, had no problems building on my Sun (Solaris 8 with older vendor
>compilers...but I've not tried the code out).
Do you have a problem running the code on RH Enterprise 3? I have not
seen problems with the various OSes I run on: e.g., Sun Solaris SPARC,
Fedora Core [12] Linux, FreeBSD.
>No rush on a reply,
>unless you know off the top of your head, as tomorrow I'm due to be off
>for the holidays. Let me know if you can think of anything.
Unless you are seeing a problem when trying to run gribdec.k, I would
ignore the warning. If you do think this is causing runtime errors,
please let me know so I can investigate more fully.
>Thanks so much!
No worries.
Have a great holiday!
Tom
>-------- Original Message --------
>Date: Mon, 20 Dec 2004 17:06:54 GMT
>From: AMRC <address@hidden>
>
>mccomp -gcc -I. -I/home/mcidas/inc -c btab.c
>mccomp: Using default optimizations
>rm -f btab.o
>gcc -c -I. -I/home/mcidas/inc btab.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcgribdecoder.c
>mccomp: Using default optimizations
>rm -f Mcgribdecoder.o
>gcc -c -I. -I/home/mcidas/inc Mcgribdecoder.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcmkmcgrid.c
>mccomp: Using default optimizations
>rm -f Mcmkmcgrid.o
>gcc -c -I. -I/home/mcidas/inc Mcmkmcgrid.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcupackbit.c
>mccomp: Using default optimizations
>rm -f Mcupackbit.o
>gcc -c -I. -I/home/mcidas/inc Mcupackbit.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcisbitset.c
>mccomp: Using default optimizations
>rm -f Mcisbitset.o
>gcc -c -I. -I/home/mcidas/inc Mcisbitset.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcgtpstrg.c
>mccomp: Using default optimizations
>rm -f Mcgtpstrg.o
>gcc -c -I. -I/home/mcidas/inc Mcgtpstrg.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcibmfloat.c
>mccomp: Using default optimizations
>rm -f Mcibmfloat.o
>gcc -c -I. -I/home/mcidas/inc Mcibmfloat.c
>mccomp -gcc -I. -I/home/mcidas/inc -c Mcgetmemory.c
>mccomp: Using default optimizations
>rm -f Mcgetmemory.o
>gcc -c -I. -I/home/mcidas/inc Mcgetmemory.c
>mccomp -gcc -c gribdec.pgm -I. -I/home/mcidas/inc
>mccomp: Using default optimizations
>rm -f gribdec.o
>g77 -c -O -Wuninitialized -fno-automatic -ff90-intrinsics-hide -I.
>-I/home/mcidas/inc gribdec.f
>m0xcd.inc: In subroutine `main0':
>m0xcd.inc:174: warning:
> PARAMETER (MNINT4 = Z'80000000')
> ^
>Integer at (^) too large except as negative number (preceded by unary
>minus sign)
>mccomp -gcc -o gribdec.k gribdec.o btab.o Mcgribdecoder.o Mcmkmcgrid.o
>Mcupackbit.o Mcisbitset.o Mcgtpstrg.o Mcibmfloat.o Mcgetmemory.o
>/home/mcidas/lib/main.o -L. -L/home/mcidas/lib -lmcidas -lm
>mccomp: Using default optimizations
>g77 -o gribdec.k gribdec.o btab.o Mcgribdecoder.o Mcmkmcgrid.o
>Mcupackbit.o Mcisbitset.o Mcgtpstrg.o Mcibmfloat.o Mcgetmemory.o
>/home/mcidas/lib/main.o -L. -L/home/mcidas/lib -L/usr/X11R6/lib -lmcidas
>-lm -ldl -lm
>mccomp -gcc -c grib2img.pgm -I. -I/home/mcidas/inc
>mccomp: Using default optimizations
>rm -f grib2img.o
>g77 -c -O -Wuninitialized -fno-automatic -ff90-intrinsics-hide -I.
>-I/home/mcidas/inc grib2img.f
>m0xcd.inc: In subroutine `main0':
>m0xcd.inc:174: warning:
> PARAMETER (MNINT4 = Z'80000000')
> ^
>Integer at (^) too large except as negative number (preceded by unary
>minus sign)
>mccomp -gcc -o grib2img.k grib2img.o btab.o Mcgribdecoder.o Mcmkmcgrid.o
>Mcupackbit.o Mcisbitset.o Mcgtpstrg.o Mcibmfloat.o Mcgetmemory.o
>/home/mcidas/lib/main.o -L. -L/home/mcidas/lib -lmcidas -lm
>mccomp: Using default optimizations
>g77 -o grib2img.k grib2img.o btab.o Mcgribdecoder.o Mcmkmcgrid.o
>Mcupackbit.o Mcisbitset.o Mcgtpstrg.o Mcibmfloat.o Mcgetmemory.o
>/home/mcidas/lib/main.o -L. -L/home/mcidas/lib -L/usr/X11R6/lib -lmcidas
>-lm -ldl -lm
>From address@hidden Mon Dec 20 15:16:12 2004
Tom,
Ah...thank you so much for the rapid reply!! O.k...we'll see how it
runs...and I'll let you know if anything goofy comes of it. So far,
code works o.k. on Red Hat...
Thanks again for the help!
Have a great holiday!
Cheers,
Matthew