[AMBER-Developers] Yacc dependency

From: Robin Betz <rbetz.ucsd.edu>
Date: Tue, 24 Jan 2012 11:23:33 -0800

Hi all,

Currently AMBER serial compilation builds yacc, which is then used in the
parallel compilation. I believe that this is the only reason that serial
needs to be build before parallel.
Should yacc be built by AMBER at all? Most distributions have the byacc
package that will provide it. It could be added as a dependency instead and
removed from the AMBER source.

I've been working on the updated automated build system (
cc.ambermd.org:8080/dashboard) which doesn't compile serial first, and this
issue causes the build to fail with the following error:
/bin/sh: yacc: command not found
mv: cannot stat `y.tab.c': No such file or directory
mv: cannot stat `y.tab.h': No such file or directory
make[5]: *** [ncgentab.c] Error 1
make[4]: *** [ncmpigen] Error 2
make[3]: *** [all] Error 2
make[2]: *** [subdir_target] Error 1
make[1]: *** [src/lib/all] Error 2
make: *** [PNETCDF] Error 2
flex ./ncgen.l; \
 mv lex.yy.c ncgenyy.c
yacc -d ./ncgen.y; \
 mv y.tab.c ncgentab.c; \
mv y.tab.h ncgentab.h
make[5]: Leaving directory
`/home/cc/cruisecontrol-bin-2.8.4/projects/AmberTools_parallel_gnu-4.4.5/AmberTools/src/pnetcdf/src/utils/ncgen'
make[4]: Leaving directory
`/home/cc/cruisecontrol-bin-2.8.4/projects/AmberTools_parallel_gnu-4.4.5/AmberTools/src/pnetcdf/src/utils'
make[3]: Leaving directory
`/home/cc/cruisecontrol-bin-2.8.4/projects/AmberTools_parallel_gnu-4.4.5/AmberTools/src/pnetcdf/src'
make[2]: Leaving directory
`/home/cc/cruisecontrol-bin-2.8.4/projects/AmberTools_parallel_gnu-4.4.5/AmberTools/src/pnetcdf'
make[1]: Leaving directory
`/home/cc/cruisecontrol-bin-2.8.4/projects/AmberTools_parallel_gnu-4.4.5/AmberTools/src/pnetcdf'


Regards,

Robin Betz
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Jan 24 2012 - 11:30:02 PST
Custom Search