Re: [AMBER] Running NAB

From: Jason Swails <jason.swails.gmail.com>
Date: Fri, 29 Oct 2010 16:13:45 -0400

The nab *program* is really a compiler (like gcc). It builds a "molecule"
language on top of C (more or less). If you know how normal compilers
behave, nab behaves in a very similar manner.

If you don't, then here's a quick overview of this particular application:

nab nuc.nab

will compile the nuc.nab code and put it into a default executable, a.out.
The program that you want to execute is a.out, not nuc.nab.

./a.out

is what you want to do.

Good luck!
Jason

On Fri, Oct 29, 2010 at 4:09 PM, Arun Gupta <arun.bioclues.org> wrote:

> Dear Dr. Case,
> Upon executing the first command in terminal window it gives an error,
> *nab: nuc.nab: no such file (arg # 1)*
>
> Best Regards,
> -Arun Gupta
>
>
> On Fri, Oct 29, 2010 at 4:04 PM, case <case.biomaps.rutgers.edu> wrote:
>
> > On Fri, Oct 29, 2010, Arun Gupta wrote:
> > >
> > > *nab nuc.nab
> > > ./a.out
> > > *
> > > is this has to be executed from the terminal or from the xleap?
> >
> > No; you should type these commands in a terminal window. The first
> command
> > compiles the program, and the second runs it.
> >
> > ....dac
> >
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Oct 29 2010 - 13:30:04 PDT
Custom Search