Re: AMBER: About NAB

From: Ilyas Yildirim <yildirim.pas.rochester.edu>
Date: Thu, 14 Apr 2005 20:19:14 -0400 (EDT)

Yes, the error message I first got was

# nab -O -v tri2dim.nab -o tri2dim.out
cpp cmd: /programs/nab-5.0/bin/ucpp -l -I/programs/nab-5.0/include
tri2dim.nab
nab2c cmd: /programs/nab-5.0/bin/nab2c -nfname tri2dim.nab
tri2dim.nab:32 Symbol circle not declared.
nab2c failed!

Then I went to $NABHOME/examples and tried to run nab there (which of
course will give me an error on writing). In anyca case, the "Symbol
circle not declared" is the error message. I thought that if I copy
circle.c to the directory I am running this particular .nab file,
everything will be solved, which of did not work. How can I get rid of
from this error message? Thanks in advance.

On Wed, 13 Apr 2005, David A. Case wrote:

> On Wed, Apr 13, 2005, Ilyas Yildirim wrote:
> >
> > I have been reading the NAB manual, and have a couple of questions. Is
> > there any mailing list for NAB that I can ask my questions? I am following
> > the program examples given in Ch.2, and sometimes it does not compile the
> > written program, even when I just copy the *.nab files from
> > $NABHOME/examples. (For example;
> > # nab -O program_6.nab -o deneme.out
> > can't open c-code file program_6.c
> > nab2c failed!)
>
> Does it work for other nab programs? Do the tests all pass?
>
> Try adding the -v flag to the command to see more about what is going on.
> You should get a message like "Symbol circle not declared", not the message
> listed above.
>
> The example files are not guaranteed to work -- they are there to illustrate
> some principles, and are actually fairly advanced. Nevertheless, the message
> that you quote is not one that I remember seeing.
>
> ...dac
>
>

-- 
  Ilyas Yildirim
  ---------------------------------------------------------------
  - Department of Chemisty       -                              -
  - University of Rochester      -                              -
  - Hutchison Hall, # B10        -                              -
  - Rochester, NY 14627-0216     - Ph.:(585) 275 67 66 (Office) -
  - http://www.pas.rochester.edu/~yildirim/                     -
  ---------------------------------------------------------------
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Fri Apr 15 2005 - 01:53:01 PDT
Custom Search