Getting MPI BLAST built

| | Comments (0)
After a bunch of trial and error, and some semi-fruitless googling, finally have MPI BLAST built (for RHEL5U2 64-bit Server) with the Intel compilers.  So that I don't lose this information completely (for when I need to rebuild at some point), I figured I'd stick it here (and maybe someone else could find it if they needed it).  This isn't meant to be an exhaustive doc on how to get this configured and built on a variety of hardware and compilers, just what I needed to do to get this going in my own environment.
  1. Download the latest MPI BLAST source code (as of writing this, I used 1.5.0-pio).
  2. Unpack the files.
  3. Ignore the section of the docs that say you need to download the latest NCBI toolkit.
  4. Set your environment to find the MPI compilers and Intel compilers
  5. Edit the file ncbi/make/makedis.csh.  The case statement that switches on the output of uname -m does not have a switch for when the output is "x86_64" (uname -i also returns this as well).  Copy the one for "i?86" and change it to switch on "x86_64".
  6. Build the NCBI toolkit.  From the top level of the unpacked mpiblast sources, run the command "LINUX_MODE=icc ./ncbi/make/makedis.csh 2>&1 | tee out.makedis.txt".  If you want to build with gcc, just drop the LINUX_MODE from the command.  The first time this runs, it will give you an error that there's "No rule to make target 'ncbimain.o', needed by 'libncbi.a'."
  7. Run the same makedis.csh command a second time.  Now it will fail with the error "No rule to make target 'ni_debug.o', needed by 'libnetcli.a'."
  8. Run the makedis.csh command one last time, and the ncbi toolkit will finish building.
  9. Configure mpiblast to build.  You'll need to pass "--with-ncbi=`pwd`/ncbi", "--with-mpi=<path to where MPI is located on the system>" and "--enable-MPI_Alloc _mem" to configure, along with any other options (--prefix, etc.).
  10. Run "make all" to build, and then "make install" to get it installed on the system.


Leave a comment

About this Entry

This page contains a single entry by Michael published on July 7, 2009 10:36 AM.

links for 2009-07-03 was the previous entry in this blog.

links for 2009-07-10 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.