Re: [AMBER] syntax error and nab2c failed when using NAB

From: Jason Swails <jason.swails.gmail.com>
Date: Thu, 08 May 2014 09:41:20 -0400

On Thu, 2014-05-08 at 21:05 +0800, Dongshan Wei wrote:
> On Thu, May 8, 2014 at 8:54 PM, Jason Swails <jason.swails.gmail.com> wrote:
>
> > On Thu, 2014-05-08 at 20:36 +0800, Dongshan Wei wrote:
> > > On Thu, May 8, 2014 at 8:23 PM, Jason Swails <jason.swails.gmail.com>
> > wrote:
> > >
> > > > On Thu, 2014-05-08 at 20:14 +0800, Dongshan Wei wrote:
> > > > > Hi Jason,
> > > > >
> > > > > Thanks for your prompt reply. I changed the input file name from
> > mel.nab
> > > > to
> > > > > mmm.nab so I got the error info.
> > > > > It's strange it works in your computer. Which Amber version you use?
> > I
> > > > use
> > > > > Amber 12.
> > > >
> > > > I tried this with AmberTools 13 and with AmberTools 14, and it worked
> > > > the same with both.
> > > >
> > > > It's wierd. I run the script with Amber 12 or AmberTool 13, neither
> > one
> > > can pass. The error info still appears as follows:
> > >
> > > mel.nab:21 syntax error
> > > nab2c failed!
> > >
> > > Can any other one help me check again?
> >
> > I think we need more information at this point. What operating system
> > are you running? What compilers did you use?
> >
> > The operating system is Red Hat 4.4.6-3 and the compilers I used is
> intel ifort/icc.

The compiler version is also important. (In fact, versions for
_everything_ are typically important). It works on my computer with
ifort 13.1.3, but I don't know of anybody that still uses RHEL 4.

Do the NAB tests pass? If you go to $AMBERHOME/AmberTools/test and run
"make test.nab", do they all seem to pass? If they don't pass, you
should recompile Amber.

-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu May 08 2014 - 07:00:03 PDT
Custom Search