ADL: Compiling & running parallel autodock

Prashant S. Khodade prashant.khodade at
Thu May 28 07:19:37 PDT 2009

Hi Steve, is a shared library. Just see in which directory this
file is present. Once you know the directory put it in the

To illustrate further, executable will search for required files in
directories listed in LD_LIBRARY_PATH variable. You can see contents
of this variable from shell by echo $LD_LIBRARY_PATH and set it
according to your shell command. In your environment, probably
LD_LIBRARY_PATH variable is not set or does not contain directory

Following url
contains nice tutorial about shared library which might be useful.

Let me know if this solves the problem. Also let me know what other
errors you are getting, I would happy to help.


On Wed, May 27, 2009 at 8:29 PM, Steven Platt <Steven.Platt at> wrote:
> Hi again,
> Following Prashants advice (below) I have tried to compile Autodock for MPI by doing the following
> *       cd to autodock-4.0.1 source directory
> *       ./configure
> *       Edit Prashants MPI makefile for my system, and replaced all occurrences of gcc/g++ with mpicc/mpiCC
> *       Replace default autodock makefile, & main.h with MPI versions provided
> *       make
> which gives a few warnings...
> In function âvoid ParallelInitialization(int, char**, int*, int*)â:
> warning: unused variable âmpi_finishtâ
> warning: unused variable âmpi_totaltâ
> warning: unused variable âstatus1â
> mv -f .deps/main.Tpo .deps/main.Po
> mpiCC -Wall -O3     -o autodock4 main.o libad.a -lm
> So it appears to compile without too many complaints...
> The executable's then moved to the apps area of our Condor (v7.0.5) cluster. Our parallel cluster definitely works with other apps (Clustal, BLAST, etc), but running this compilation of MPI Autodock gives me a lot of the following errors (1 for each node it's trying to run on) and the job dies.
> /share/apps/autodock4: error while loading shared libraries: cannot open shared object file: No such file or directory
> I'm not a C programmer by trade so I'm not sure what's going on or where to start looking for answers. Any pointers will be appreciated.
> Thanks
> Steve
> Dr Steven Platt
> Statistics, Modelling and Bioinformatics
> Health Protection Agency
> Centre for Infections
> 61 Colindale Avenue
> London
> NW9 5EQ
> ------------------------------------------
> All,
> has not been updated yet for AutoDock 4.0.1. I am attaching, main.h and Makefile for 4.0.1 with this email.
> Steve,
> Thank you for attaching output of make. I can suggest following things:
> 1) Instead of g++, use MPI compiler.
> 2) Specify location of mpi.h in your include path. If you use MPI compiler it will not be necessary to do this step.
> Let me know if it works.
> Cheers,
> Prashant
> -----------------------------------------
> **************************************************************************
> The information contained in the EMail and any attachments is
> confidential and intended solely and for the attention and use of
> the named addressee(s). It may not be disclosed to any other person
> without the express authority of the HPA, or the intended
> recipient, or both. If you are not the intended recipient, you must
> not disclose, copy, distribute or retain this message or any part
> of it. This footnote also confirms that this EMail has been swept
> for computer viruses, but please re-sweep any attachments before
> opening or saving. HTTP://
> **************************************************************************
> ________________________________________________
> --- ADL: AutoDock List  --- ---

More information about the autodock mailing list