Re: AMBER: amber9 serial compile with pathscale on SuSe10.1/AMD64

From: David A. Case <case.scripps.edu>
Date: Fri, 24 Nov 2006 16:43:20 -0800

On Fri, Nov 24, 2006, In Hee Park wrote:
>
> While I was trying to serial compile amber9(cd-rom version) with
> bugfix.all patched up to now using pathscale2.5 compiler on AMD64
> machine running on SuSe10.1-novell, I noticed that only 31 executables
> were created out of 61 executables if successful compile completion.

Note the the compilation script stops at the *first* error, so any executables
that would be compiled after that will not get built. The workaround is to
comment out things that aren't working, so that the rest can get built.

Here is the error (at the bottom of your message):

pathCC -c -o elsize.o elsize.cc
In file included from /usr/include/c++/4.1.0/string:52,
                 from /usr/include/c++/4.1.0/bits/locale_classes.h:47,
                 from /usr/include/c++/4.1.0/bits/ios_base.h:47,
                 from /usr/include/c++/4.1.0/ios:48,
                 from /usr/include/c++/4.1.0/istream:44,
                 from /usr/include/c++/4.1.0/fstream:44,
                 from elsize.cc:74:
/usr/include/c++/4.1.0/bits/basic_string.h: In member function `bool
   std::basic_string<_CharT, _Traits, _Alloc>::_M_disjunct(const _CharT*)
const
   ':
/usr/include/c++/4.1.0/bits/basic_string.h:329: error: parse error before `;'
   token
make[1]: *** [elsize.o] Error 1


For some reason, pathCC is not able to compile a header that is being included
from the elsize program. You could look at line 329 of
/usr/include/c++/4.1.0/bits/basic_string.h to see if anything obvious is going
on. Note that this is not inside the Amber code, but in a system header file.

First, elsize is an extremely specialized program (I've never run it myself),
so you can pretty safely comment out the line in etc/Makefile that creates
this; If you really need it, compile with g++ rather than pathCC.

Second, someone from the Virginia Tech crowd should look into this. I don't
think there is any real reason why the elsize program should be a C++ program
anyway. I know we have talked about conversion to C, but don't remember if
anything happened.

...good luck...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Nov 26 2006 - 06:07:32 PST
Custom Search