Re: [AMBER-Developers] Requirement to build serial before building parallel

From: case <>
Date: Wed, 10 Mar 2010 11:27:01 -0500

On Wed, Mar 10, 2010, Jason Swails wrote:

> >> yacc: e - line 10 of "./ncgen.y", syntax error
> >> %expect 1
> > What happens if you delete the %expect line ?
> Magic. It works now. (I uninstalled bison first to check). But
> still, this issue wasn't really found for 7 months after the initial
> pnetcdf was released officially (and it's been in CVS for even longer
> than that).

That's because the configure script for pnetcdf looks for bison, byacc and
yacc (in that order). Presumably, most everyone does have bison installed,
and so didn't see the error.

I've commented out the expect line in CVS, so now Amber's yacc should work.
Hence there should not be any requirement for bison.

The question of removing the test for yacc in configure is a balancing act.
Users are told to compiler AmberTools first, and, indeed, any serious use
of Amber requires the tools. But, as Ross points out often, experienced users
often want to compile just sander or pmemd on a particular computer. So,
I've remove the test for yacc -- if a user doesn't have bison, *and* doesn't
follow the rules in the users manual, and gets an error, we can hope that they
post a question on the list. Then we can berate them with a wet noodle for
not following the rules....

...thanks to Scott and Jason for tracking all this down....dac

AMBER-Developers mailing list
Received on Wed Mar 10 2010 - 08:30:04 PST
Custom Search