[Beowulf] Help with HPL Makefile
Peter St. John
peter.st.john at gmail.com
Thu Apr 12 07:43:10 PDT 2007
I don't know, but one thing that caught my eye is the error at line 47, when
your makefile seems to have only 45 (nonblank) lines. If I miscounted (which
is easy), then the error could have raised when dropping off EOF without
meeting some grammatical expectation. That made me wonder what "RANLIB =
echo" means.
I assume that ls -l /hpl/scr/auxil/Beowulf/*.inc shows Make.inc?
Peter
On 4/12/07, snj78 at comcast.net <snj78 at comcast.net> wrote:
>
> Thanks for your replies everyone. I feel like I am understanding things
> a little better. One thing that I realized but not sure if this makes a
> difference is that I have installed an openmpi package and an mpich package
> so could that cause problems using the mpicc compiler and linking the
> different packages/libraries?
>
> I have rebuilt my make file and something interesting that I have noticed
> is that no matter what I change I still get the same error. I am always
> getting the following error:
>
> Makefile:47: Make.inc: No such file or directory
> *** No rule to make target 'Make.inc'. Stop
>
> I use the following command in my top directory, which is /hpl:
>
> make arch=Beowulf
>
> while my makefile is Make.Beowulf. I am still at a loss at can't figure
> out what to do next so I really the help you guys have given me, even though
> this may seem trivial.
>
> The make file and error log follow:
>
> Make.Beowulf
>
>
> SHELL = /bin/sh
>
> #
>
> CD = cd
>
> CP = cp
>
> LN_S = ln -s
>
> MKDIR = mkdir
>
> RM = /bin/rm -f
>
> TOUCH = touch
>
> #
>
> 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
>
> MPinc =-I$(MPdir)/include/openmpi
>
> MPlib = $(MPdir)/lib64/openmpi/libmpi.so
>
> # - Linear Algebra library (BLAS or VSIPL) -----------------------------
>
> LAdir = /usr/lib64
>
> LAinc =-I$(MPdir)/include
>
> LAlib = $(LAdir)/libblas.so.3 $(LAdir)/atlas/libblas.so.3
>
> #
>
> F2CDEFS =
>
> #
>
> HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc)
>
> HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib)
>
> #
>
> HPL_OPTS = -DHPL_CALL_CBLAS
>
> # ----------------------------------------------------------------------
>
> HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES)
>
> # - Compilers / linkers - Optimization flags ---------------------------
>
> CC = mpicc
>
> CCNOOPT =
>
> CCFLAGS = $(HPL_DEFS) -pipe -O3 -funroll-loops
>
> #
>
> LINKER = mpicc
>
> LINKFLAGS = $(CCFLAGS)
>
> #
>
> ARCHIVER = ar
>
> ARFLAGS = r
>
> RANLIB = echo
>
> Error File ( Condensed to show the last portion with the error code )
>
>
> make -f Make.top refresh_tst arch=Beowulf
>
> make[1]: Entering directory `/hpl'
>
> cp makes/Make.matgen testing/matgen/Beowulf/Makefile
>
> cp makes/Make.timer testing/timer/Beowulf/Makefile
>
> cp makes/Make.pmatgen testing/pmatgen/Beowulf/Makefile
>
> cp makes/Make.ptimer testing/ptimer/Beowulf/Makefile
>
> cp makes/Make.ptest testing/ptest/Beowulf/Makefile
>
> make[1]: Leaving directory `/hpl'
>
> make -f Make.top build_src arch=Beowulf
>
> make[1]: Entering directory `/hpl'
>
> ( cd src/auxil/Beowulf; make )
>
> make[2]: Entering directory `/hpl/src/auxil/Beowulf'
>
> Makefile:47: Make.inc: No such file or directory
>
> make[2]: *** No rule to make target `Make.inc'. Stop.
>
> make[2]: Leaving directory `/hpl/src/auxil/Beowulf'
>
> make[1]: *** [build_src] Error 2
>
> make[1]: Leaving directory `/hpl'
>
> make: *** [build] Error 2
>
>
>
>
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20070412/01f05c24/attachment.html>
More information about the Beowulf
mailing list