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

Re: 20021030:LDM bash shell



Hi Pavel, 

A few questions...

1) What happened to the LDM previously installed?

2) Why are you loading 5.0.11, we are up to 5.2 now..

3) Why are you loading source instead of binary

4) Is the LDM running in a c-shell and not bash...

Thank you,

-Jeff
____________________________                  _____________________
Jeff Weber                                    address@hidden
Unidata Support                               PH:303-497-8676 
COMET Case Study Library                      FX:303-497-8690
University Corp for Atmospheric Research      3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000
________________________________________      ______________________

On Thu, 31 Oct 2002, Pavel Byles:: Howard University Engineering wrote:

> I now get an error message when running make install
> 
> Making `all' in directory /usr/local/ldm/ldm-5.0.11/src/protocol
> 
> make[2]: Entering directory `/usr/local/ldm/ldm-5.0.11/src/protocol'
> c89 -g -I../config -I. -I../misc -I../ulog -I../protocol -DHAVE_CONFIG_H 
> -c -o h_clnt.o h_clnt.c
> In file included from h_clnt.c:38:
> ../misc/alrm.h: In function `mysignal':
> ../misc/alrm.h:42: storage size of `sigact' isn't known
> ../misc/alrm.h:42: storage size of `oact' isn't known
> ../misc/alrm.h: At top level:
> ../misc/alrm.h:62: parse error before "env"
> ../misc/alrm.h:62: warning: data definition has no type or storage class
> h_clnt.c: In function `set_begin':
> h_clnt.c:408: storage size of `tz' isn't known
> make[2]: *** [h_clnt.o] Error 1
> make[2]: Leaving directory `/usr/local/ldm/ldm-5.0.11/src/protocol'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/ldm/ldm-5.0.11/src'
> make: *** [protocol/all] Error 2
> [ldm@localhost src]$
> 
> This is the error reported.
> 
> Pavel
> 
> On Wed, 30 Oct 2002, Jeff Weber wrote:
> 
> > Hi Pavel, 
> > 
> > Comments below in text....
> > 
> > -Jeff
> > ____________________________                  _____________________
> > Jeff Weber                                    address@hidden
> > Unidata Support                               PH:303-497-8676 
> > COMET Case Study Library                      FX:303-497-8690
> > University Corp for Atmospheric Research      3300 Mitchell Ln
> > http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000
> > ________________________________________      ______________________
> > 
> > On Tue, 29 Oct 2002, Pavel Byles:: Howard University Engineering wrote:
> > 
> > > Hey Jeff,
> > > How are you doing? It's been a long time since we spoke.
> > > I have 2 questions for you. (again)
> > > 
> > > Firstly, when installing the LDM from source I need to set the LDMHOME 
> > > environment variable. But "setenv LDMHOME /usr/local/ldm" does not work. 
> > > It gives this error:
> > 
> > 
> > I see you are in a bash shell, setenv is not the appropriate command in a
> > bash shell. You should enter:
> > 
> > export LDMHOME=/usr/local/ldm
> > 
> > if doing from a bash shell.
> > 
> > 
> > 
> > > [ldm@laptop /]$ setenv LDMHOME=/usr/local/ldm
> > > -bash: setenv: command not found
> > > 
> > > But when I do this:
> > > 
> > > [ldm@laptop /]$ set LDMHOME=/usr/local/ldm
> > > [ldm@laptop /]$ cd $LDMHOME
> > > [ldm@laptop ldm]$ pwd
> > > /usr/local/ldm
> > > [ldm@laptop ldm]$
> > > 
> > > I also put the "set LDMHOME=/usr/local/ldm" in the .cshrc file and then 
> > > sourced it then ran the configure
> > > It actually sets the variable LDMHOME to the /usr.... dir. So when I try 
> > > to compile the source I get this error:
> > > 
> > 
> > from the cshell in your .cshrc file the setenv command should be used
> > 
> > "setenv LDMHOME /usr/local/ldm"
> > 
> > 
> > > checking LDMHOME... configure: error: $LDMHOME not set.  See INSTALL.
> > > Why is it telling me that it's not set, because:
> > > 
> > > [ldm@laptop src]$ cd $LDMHOME
> > > [ldm@laptop ldm]$ ls
> > > bin   Desktop  ldm-5.0.11      ldm_changes.txt  logs  man
> > > data  include  ldm-5.0.11.tar  lib              mail  src
> > > [ldm@laptop ldm]$
> > > 
> > > What's wrong?
> > > 
> > 
> > 
> > 
> > 
> > > Secondly ....
> > > How do I tell the LDM to send data to the a specific decoder? (in the 
> > > pqact.conf)
> > 
> > 
> > It is a PIPE command, here is an example for the AVN model output:
> > Remember all tabs no spaces in pqact.conf!
> > 
> > # AVN model on global 5.0 x 2.5 degree grids
> > HRS     ^H.[A-D]... KWB. (..)(..).*/mAVN
> >         PIPE    /usr/local/ldm/decoders/gribtonc
> >         etc/avn-a.cdl
> >         data/GRIB/(\1:yy)(\1:mm)\1\2_avn-a.nc
> > 
> > Good Luck!
> > 
> > 
> > > 
> > > Pavel Byles
> > > on Redhat 8.0
> > > 
> > > 
> > 
> 
>