Re: [AMBER] AmberTool parallel compiling error

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 31 Jan 2011 13:47:40 -0500

The error messages here tell you what is wrong and how to fix it. See my
comments below:

On Mon, Jan 31, 2011 at 1:32 PM, Zhu, James <James.Zhu.ars.usda.gov> wrote:

> I set AMBEERHOME to amber11 home directory and ran make clean. Then I
> ran the following and cannot compiled AmberTool parallel version. How
> can I fix the problem?
>
>
>
> James
>
>
>
> [jzhu.jzhu-desktop src]$ ./configure -mpi
>
> Your AMBERHOME environment variable should be set to
> /home/jzhu/bin/amber11
>
> Warning: the X11 libraries are not in the usual location !
>
> To search for them try the command: locate libXt
>
> On new Fedora OS's install the libXt-devel libXext-devel
>
> libX11-devel libICE-devel libSM-devel packages.
>
> On old Fedora OS's install the xorg-x11-devel package.
>
> On RedHat OS's install the XFree86-devel package.
>
> On Ubuntu OS's install the xorg-dev package.
>
> For the moment Amber will be configured not to build XLEaP.
>

The X-libraries and/or header files needed for xleap couldn't be found. If
you have one of the operating systems listed above, follow the instructions.
 i.e., if you have Ubuntu, install the xorg-dev package

sudo apt-get install xorg-dev

(Note only debian uses apt-get. Others use different package managers like
yum or emerge).


>
> Error: Architecture/compiler gcc is not supported!
>

You should use configure as follows:

./configure -OPTIONS <compiler>, where compiler is gnu, intel, or pgi.
 "./configure -help" explains this, as does the manual.

However, parallel builds are much more advanced than serial builds for
AmberTools, and are not often used. Make sure that you can build AmberTools
in serial first and obtain a good working knowledge before you try to build
in parallel.

Good luck!
Jason


>
> Type './configure -help' for options.
>
>
>
>
>
> [jzhu.jzhu-desktop src]$ locate libXt
>
> /usr/lib/libXt.so.6
>
> /usr/lib/libXt.so.6.0.0
>
> /usr/lib/libXtst.so.6
>
> /usr/lib/libXtst.so.6.1.0
>
> /usr/lib64/libXt.so.6
>
> /usr/lib64/libXt.so.6.0.0
>
> /usr/lib64/libXtst.so.6
>
> /usr/lib64/libXtst.so.6.1.0
>
> /usr/share/doc/libXt-1.0.2
>
> /usr/share/doc/libXtst-1.0.1
>
> /usr/share/doc/libXt-1.0.2/AUTHORS
>
> /usr/share/doc/libXt-1.0.2/COPYING
>
> /usr/share/doc/libXt-1.0.2/ChangeLog
>
> /usr/share/doc/libXt-1.0.2/INSTALL
>
> /usr/share/doc/libXt-1.0.2/NEWS
>
> /usr/share/doc/libXt-1.0.2/README
>
> /usr/share/doc/libXtst-1.0.1/AUTHORS
>
> /usr/share/doc/libXtst-1.0.1/COPYING
>
> /usr/share/doc/libXtst-1.0.1/ChangeLog
>
> /usr/share/doc/libXtst-1.0.1/INSTALL
>
> /usr/share/doc/libXtst-1.0.1/README
>
>
>
>
>
> [jzhu.jzhu-desktop src]$ make parallel
>
> Error: config.h is of type serial, not parallel !
>
> Rerun ./configure with the -mpi flag.
>
> make: *** [configured_parallel] Error 2
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jan 31 2011 - 11:00:06 PST
Custom Search