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

Re: 20050117: Ice bulb temperature



Patrick,

You didn't show your GFUNC setting in gdcntr, but presumably you have:
GFUNC=TMIK(PRES,TMPK,RMIX)

Double check your dgdriv.f routine to verify that your
grid driver routine knows about your df_tmik routine?

Now that we know your dftmik.o routine is in gemlib.a,
and if you have added the call to that routine in dgdriv.f
so that it knows to call your routine when it is given the TMIK
function- you can verify that this routine has been updated in the
library with:
ar tv $GEBLIB/gemlib.a dgdriv.o

After you make any changes to the library routines, you need to relink
your GD programs such as gdcntr which you show below with:

cd $GEMPAK/source/programs/gd
make clean
make all
make install
make clean

And similarly for NMAP2 and Garp to recognize your routine:

cd $GEMPAK/source/programs/gui
make clean
make all
make install
make clean

cd $GARPHOME
make clean
make all
make install
make clean


Steve Chiswell
Unidata User Support    



On Tue, 2005-03-29 at 08:21, Patrick S. Market wrote:
> Steve:
> 
> I did the touch approach, ran make, and now I get 
> 
>    Isentropic Highlander =>ar tv $GEMLIB/gemlib.a | grep dftmik
>    rw-rw-r--  1001/    10   2228 Mar 29 09:09 2005 dftmik.o
> 
> However, I get the same error when I try to get a TMIK plot in
> GDCNTR:
> 
>    GEMPAK-GDCNTR>r
>    Creating process: gif for queue 2209
>    [DG -7]  Input grid TMIK ^970410/0000F000 @900 %PRES cannot be found.
> 
> I will send the files separately.
> 
> Pat
> 
> 
> > 
> > Patrick,
> > 
> > Can you send me your makefile and your dftmik.f?
> > I'll check the Makefile syntax.
> > 
> > You can run:
> > ar tv $GEMLIB/gemlib.a | grep dftmik
> > 
> > If that shows that your library does have the dftmik.o routine, then you 
> > have
> > already compiled it and added it to the library. Make will only compile the
> > routine if that is out of date with respect to the source. Editing
> > your file or typing "touch dftmik.f" would change the time stamp, so that
> > make would have to update the file in the library.
> > 
> > Steve Chiswell
> > 
> > On Mon, 28 Mar 2005, Patrick S. Market wrote:
> > 
> > > Steve:
> > >
> > > I have, indeed, put dftmik.o into the Makefile.  Typing 'make'
> > > in that directory seems to accomplish nothing.  No .o files
> > > appear.
> > >
> > > What shall I try now?
> > >
> > > Pat
> > >
> > > >
> > > > Patrick,
> > > >
> > > > The message from "ar" implies that the dftmik.o file has not been
> > > > created by compiling the dftmik.f source. Verify that you have added
> > > > your dftmik.o routine to the Makefile and that the file succeeds in
> > > > compiling.
> > > >
> > > > Steve Chiswell
> > > > Unidata User Support
> > > >
> > > >
> > > > On Tue, 2005-03-22 at 13:39, Patrick S. Market wrote:
> > > > > Steve:
> > > > >
> > > > > As before, I followed those instructions.  I used TMWK as a
> > > > > template, since it was a quite similar value that I had hoped to
> > > > > generate for the grid.
> > > > >
> > > > > I have rechecked your instructions, and I did follow them.  I should
> > > > > add that even after a make clean/all/install, the command
> > > > >
> > > > > ar rv $GEMLIB/gemlib.a dftmik.o
> > > > >
> > > > > returns
> > > > >
> > > > > ar: cannot open dftmik.o
> > > > >         No such file or directory
> > > > >
> > > > > I will begin again, and try rewriting the tmwk sub from scratch.
> > > > >
> > > > > Thanks,
> > > > > Pat
> > > >
> > >
> > >
> > > --
> > > ======================================================================
> > > Dr. Patrick S. Market
> > > Dept. of Soil, Env. & Atmospheric Sci.
> > > University of Missouri-Columbia
> > > 331 ABNR Hall                                 Phone:  (573) 882 - 1496
> > > Columbia, MO 65211 USA        E-mail: address@hidden
> > > ======================================================================
> > >
> > 
>