Brock Palen
Center for Advanced Computing

On Apr 10, 2007, at 12:10 AM, wrote:

Hello all,
I am trying to configure HPL on a beowulf cluster that I have put together for a senior project at Weber State University, and I am having a little bit of trouble.  First of all, about the cluster:
4-node diskless cluster
Fedora Core 6 - 64 bit version
Intel Pentium D dual core processors
MSI 965 motherboards
Right now I have one node doing a net boot with syslinux and would like to do a benchmark before I put the rest of the nodes together, so I can have a performance comparison with subsequent nodes.  I have installed the following packages on my system for HPL:
I may have installed more packages than necessary but I didn't think it would hurt.  Everything has installed successfully but I can't get the makefile.<arch> down.  I simply just don't understand enough of it to build it correctly.  I just keep getting '' errors.  The Makefile that I have attempted is below, called Make.Beowulf.  I just used a generic makefile from the setups directory and attempted to supply some paths to the libraries but to no avail.  I have tried to find documentation explaining more clearly how everything should be setup but nothing in lay-man terms, hence the errors.  A few questions:
What should my arch be?  Does that even matter?  Does it have to be x86_64?
I realize I have to supply paths to the BLAS and MPI headers and libraries but exactly which libraries and header files?
The compiler I am using is mpicc which is just linked to gcc, but shouldn't that compiler supply the links to the correct libraries and header files?
The MPlib parameter points to libmpich.a so I installed mpich2 but that didn't give me a libmpich.a directory so what should I use there?
Also, I am not using an network file systems so am I correct in assuming that all of the libraries need to be on each of the nodes?  If so, I need to know exactly where to put them, and again, I believe they would need to be put into the exact same location, so the problem is, which libraries and header files exactly?  (as to save precious RAM on each of the nodes).
I realize I may be asking a lot but the end of the semester is just around the corner.  I appreciate any help that you may give me ahead of time.  Thanks.
Stephen Jenkins

SHELL = /bin/sh


CD = cd

CP = cp

LN_S = ln -s

MKDIR = mkdir

RM = /bin/rm -f

TOUCH = touch

# - Platform identifier ------------------------------------------------

ARCH = Linux_x86_64

# - HPL Directory Structure / HPL library ------------------------------

TOPdir = $(HOME)/hpl

INCdir = $(TOPdir)/include

BINdir = $(TOPdir)/bin/$(ARCH)

LIBdir = $(TOPdir)/lib/$(ARCH)


HPLlib = $(LIBdir)/libhpl.a

# - Message Passing library (MPI) --------------------------------------

MPdir = /usr/include/openmpi

MPinc = -I$/usr/include/include

MPlib = $(MPdir)/lib/libmpich.a

# - Linear Algebra library (BLAS or VSIPL) -----------------------------

LAdir = $(HOME)/netlib/ARCHIVES/Linux_PII

LAinc =

LAlib = $(LAdir)/libcblas.a $(LAdir)/libatlas.a

# - F77 / C interface --------------------------------------------------


# - HPL includes / libraries / specifics -------------------------------

HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc)

HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib)

# - Compile time options -----------------------------------------------


# ----------------------------------------------------------------------


# - Compilers / linkers - Optimization flags ---------------------------

CC = /usr/bin/gcc

Change this to mpicc


CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops

# On some platforms, it is necessary to use the Fortran linker to find

# the Fortran internals used in the BLAS library.

LINKER = /usr/bin/g77

Why?  Also make this mpicc





RANLIB = echo

users mailing list