[AMBER] [SOLVED] Re: Compilation fail of amberTools 1.2 for amber10 support

From: Jose Borreguero <borreguero.gmail.com>
Date: Wed, 16 Nov 2011 11:20:06 -0500

>Please see http://archive.ambermd.org/201007/0361.html. Note that (if you
try
>this route) you need to modify na_anal.nab, not na_anal.c.

So I edited na_anal.nab and removed the troublesome quotes around %s. Now
it reads
*printf( "%s is not a valid answer.\n",...*

Descending into nab/ subdirectory and issuing* make install *resulted in a
successful build of nab

Going ahead with the compilation, I obtained a second error message:
*fortran.cpp:19:46: error: ‘sprintf’ was not declared in this scope*

Edited file ./gleap/mortsrc/common/fortran.cpp and included the following
header
#include <cstdio>

Descended into gleap subdirectory and issuing* make install *resulted in a
successful build

That completed the build of amberTools 1.2

The following three tests failed, the rest passed:

make -f Makefile_at test.nat
*Can't open residue library
/usr/local/amber/amber10/dat/reslib/al_nucleic94.liib* (thre's no such file)

make -f Makefile_at test.antechamber.hasG77
*./Run.tp: Program error*

make -f Makefile_at test.leap
*Loading library: ./all_nucleic91.lib
Segmentation fault*


Jose M. Borreguero


On Wed, Nov 16, 2011 at 9:42 AM, David A Case <case.biomaps.rutgers.edu>wrote:

> On Wed, Nov 16, 2011, Jose Borreguero wrote:
> >
> > I tried to compile (using gcc 4.6.1 and gfortran 4.6.1) amberTools-1.2
> for
> > amber10 support after applying the bugfixes patch file, and obtained:
> > *ERROR: na_anal.c:2417:16: error: expected ‘)’ before ‘is’*
> >
> > Inspection of line 2417 of file ./nab/na_anal.c shows:
> > *printf( "\"%s" is not a valid answer.\n", ParallelAnswer );*
>
> Please see http://archive.ambermd.org/201007/0361.html. Note that (if
> you try
> this route) you need to modify na_anal.nab, not na_anal.c.
>
> But there is probably some other error preventing nab in AmberTools 1.2
> from compiling with gcc4.6. I now have a virtual machine with Ubuntu
> 11.10,
> so I try to spring some time free to try this. It's a very odd problem
> that
> seems to have "gone away" in the conversion to later versions of
> AmberTools,
> but I don't think(?) anyone knows why.
>
> >
> > I tried commenting the line *(cd
> > nab && make install ) *in the Makefile_at because I don't use nab, but
> > then I end up with another build error:
> > */usr/local/amber/amber10/bin/nab -c symop.nab*
> > *make[1]: /usr/local/amber/amber10/bin/nab: Command not found*
>
> Good start; also comment out the line "(cd nss && make install)"
>
> ....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
Received on Wed Nov 16 2011 - 08:30:03 PST
Custom Search