Hello,
For HPL with LAM all you need to do is set MPinc and MPlib to nothing,
and set CC and LINKER to mpicc, like this:
CC = mpicc
LINKER = mpicc
MPinc =
MPlib =
And to use ATLAS in HPL, you'll need to set in the HPL Make.whatever
lines like these as well (changing /home/tmattox/... as needed):
LAdir = /home/tmattox/BENCHMARKS/ATLAS/lib/KASY0
LAinc = -I/home/tmattox/BENCHMARKS/ATLAS/include
LAlib = $(LAdir)/libcblas.a $(LAdir)/libatlas.a
You should also consider upgrading to a more recent LAM when you
get a chance. (Similarly, the most recent version of ATLAS is always in
order.)
--
Tim Mattox - tmattox_at_[hidden] - http://homepage.mac.com/tmattox/
http://aggregate.org/KAOS/ - http://advogato.org/person/tmattox/
On Thu, 9 Oct 2003, Harshu wrote:
> Hi Folks,
>
> I am newbie to Lam. I am a having a little trouble in compiling hpl.
>
> I am at loss to what is that I should specify in this section of the
> make file. I have Athlon when compiled Atlas used CBLAS option.
> I don't know what to specify to replace the existing values of mpich.
>
> I am using a distribution based on RH.9 and have the following verion
> of lam
>
> rpm -qa | grep lam
> lam-6.5.8-4
>
> I would really appreciate some pointers in getting this to work.
>
> regards
> harshu.
>
>
> ----------------------------------------------------------------------
> # - MPI directories - library
> ------------------------------------------
> #
> ----------------------------------------------------------------------
> # MPinc tells the C compiler where to find the Message Passing
> library
> # header files, MPlib is defined to be the name of the library to
> be
> # used. The variable MPdir is only used for defining MPinc and MPlib.
>
> MPdir = /usr/local/software/mpi
> MPinc = -I$(MPdir)/include
> MPlib = $(MPdir)/lib/libmpich.a
|