Re: [AMBER-Developers] Amber Tools Install

From: Volodymyr Babin <vbabin.ncsu.edu>
Date: Tue, 17 Mar 2009 15:33:33 +0000

Please try the following:

Index: mortsrc/pdbent/bond.cpp
===================================================================
RCS file: /cvsroot/amber11/src/gleap/mortsrc/pdbent/bond.cpp,v
retrieving revision 1.5
diff -u -r1.5 bond.cpp
--- mortsrc/pdbent/bond.cpp 5 Mar 2009 04:09:20 -0000 1.5
+++ mortsrc/pdbent/bond.cpp 17 Mar 2009 15:32:54 -0000
.. -15,7 +15,7 ..
            string line;
             std::getline( is, line );

- int maxseq = std::min( 4LU,
(line.length()-SEQ_START)/SEQ_WIDTH );
+ int maxseq = std::min(static_cast<size_t>(4),
(line.length()-SEQ_START)/SEQ_WIDTH );
             if( maxseq <= 0 )
             {
                 std::cout << "Warning: cannot recognize the following PDB
CONECT card: " << std::endl;


On Tue, March 17, 2009 11:28, Lachele Foley wrote:
> Got amber 11 from CVS last night. Lots of it worked except for this:
>
>
> make[3]: Entering directory
> `/e14/programs/amber11_20090316/src/gleap/mortsrc/pdbent'
> g++ -c -O2 -Wall -W -D_REENTRANT -I. -I.. -I../../freelib -I. -I..
> -I../../freelib -o atom.o atom.cpp
> g++ -c -O2 -Wall -W -D_REENTRANT -I. -I.. -I../../freelib -I. -I..
> -I../../freelib -o bond.o bond.cpp
> bond.cpp: In function ‘void mort::pdbent::read_bond(std::istream&,
> mort::molecule_t&)’:
> bond.cpp:18: error: no matching function for call to ‘min(long unsigned
> int, unsigned int)’
> make[3]: *** [bond.o] Error 1
> make[3]: Leaving directory
> `/e14/programs/amber11_20090316/src/gleap/mortsrc/pdbent'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/e14/programs/amber11_20090316/src/gleap/mortsrc'
> make[1]: *** [sleap] Error 2
> make[1]: Leaving directory `/e14/programs/amber11_20090316/src/gleap'
> make: *** [install] Error 2
>
> Other info, in case you care:
>
> [installer.frost src]$ echo $AMBERHOME
> /e14/programs/amber11_20090316/
> [installer.frost src]$ echo $PATH
> /e14/programs/amber11_20090316//bin:/usr/local/programs/amber10/exe:/usr/local/programs/CSD/cambridge/bin:/usr/local/programs/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/programs/moe/bin
>
> [installer.frost src]$ gcc --version
> gcc (GCC) 4.2.3
>
> [installer.frost src]$ g++ --version
> g++ (GCC) 4.2.3
>
> [installer.frost src]$ gfortran --version
> GNU Fortran (GCC) 4.2.3
>
>
> The configuration didn't give any complaints; it said it was successful.
> Did I do something silly? Apologies if so...
>
>
> :-) Lachele
> --
> B. Lachele Foley, PhD '92,'02
> Assistant Research Scientist
> Complex Carbohydrate Research Center, UGA
> 706-542-0263
> lfoley.ccrc.uga.edu
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Mar 18 2009 - 01:16:58 PDT
Custom Search