AMBER Archive (2008)

Subject: Re: AMBER: install amber 10 on linux with openSUSE 10.2 (x86-64)

From: David A. Case (case_at_biomaps.rutgers.edu)
Date: Tue Dec 23 2008 - 07:26:15 CST


On Mon, Dec 22, 2008, wl2290_at_columbia.edu wrote:
>
> ./configure_amber -static gfortran -> successful

Great...I'm glad things are working. At the worst, it looks like in
some circumstances you have problems compiling elsize:

> g++ -c -DBINTRAJ -I../netcdf/include -o elsize.o elsize.cc
> make[1]: Leaving directory `/opt/amber10/src/etc'

Above it looks like it worked. Then in the next attachment:

> ...
> ...

It's not easy to see what command is being executed for the following
types of errors.

> /usr/include/c++/4.1.2/bits/ios_base.h: In member function ???void std::ios_base::_Callback_list::_M_add_reference()???:
> make[1]: *** [elsize.o] Error 1

But, in this run, elsize was not correctly made.

Good news, however: (1) The first time it worked, so use that; (2)
elsize is very rarely used anyway, so it's likely you will never miss
it.

For Amber11, we have rewritten elsize as a C program which is a lot more
portable. [It's not the language per se, but it is true (in my
experience) that C++ can be abused to give code that is both
compiler-dependent and which gives compiler errors in other environments
that are very hard to track down.]

...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo_at_scripps.edu