List Info

Thread: LAM: Problems in running Linpack HPL benchmark with LAM




LAM: Problems in running Linpack HPL benchmark with LAM
user name
2006-05-15 15:24:55
As you indicated in your followup mail, this is likely
caused by finding
the "wrong" libmpi.

I would generally recommend using the mpicc / mpif77 wrapper
compilers
when compiling applications such as HPL.  It allows you to
avoid
specifying all the -I's, -L's, and -l's that LAM
requires.  You can
clear out all those lines in the Makefile if you just use
mpif77 and
mpicc.  This will also get the "right" libmpi
and avoid these linker
problems.


> -----Original Message-----
> From: lam-bounceslam-mpi.org 
> [mailto:lam-bounceslam-mpi.org] On Behalf Of
Gavin Tran
> Sent: Friday, May 12, 2006 4:48 AM
> To: General LAM/MPI mailing list
> Subject: LAM: Problems in running Linpack HPL benchmark
with LAM
> 
> Hi,
> 
> I'm preparing to run a Linpack HPL benchmark on my
clusters with
> LAM/MPI 7.1.1 successfully installed.
> 
> I set params in Make.Linux_P4SSE_CBLAS for example. I
changed its
> default value from MPICH settings to LAM/MPI ,and also
with the path
> to ATLAS library.
> 
> When i run make arch=Linux_P4SSE_CBLAS , it poured out
a 
> series of errors below
> ----------------------------
>
home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl_m
is
> c.h:54:1:
> warning: this is the location of the previous
definition
> /usr/bin/gcc -o HPL_pdtest.o -c  -DHPL_CALL_CBLAS
>
-I/home/jishin/research/benchmark/linpack-hpl/hpl/include
>
-I/home/jishin/research/benchmark/linpack-hpl/hpl/include/Li
nu
> x_P4SSE_CBLAS
>  -I/usr/lib/lam/include -fomit-frame-pointer -O3
-funroll-loops
> ../HPL_pdtest.c
> In file included from /usr/lib/lam/include/mpi.h:23,
>                  from
>
/home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl_
pm
> isc.h:54,
>                  from
>
/home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl.
h:80,
>                  from ../HPL_pdtest.c:50:
> /usr/lib/lam/include/lam_config.h:591:1: warning: 
> "STDC_HEADERS" redefined
> ----------------------------
> usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x18): In
function 
> `MPI_Finalize':
> : undefined reference to `lam_mpi_thread_level'
> /usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x2a): In 
> function `MPI_Finalize':
> : undefined reference to `lam_mpi_main_thread'
> /usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x15f): In 
> function `MPI_Finalize':
> : undefined reference to `lam_mpi_thread_level'
> /usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x168): In 
> function `MPI_Finalize':
> : undefined reference to `lam_mpi_thread_finalize'
> /usr/lib/lam/lib/libmpi.a(lammpiinit.o)(.text+0x1f4):
In function
> `lam_mpi_init':
> : undefined reference to `lam_mpi_thread_level'
> /usr/lib/lam/lib/libmpi.a(lammpiinit.o)(.text+0x1fe):
In function
> `lam_mpi_init':
> : undefined reference to `lam_mpi_thread_init'
> /usr/lib/lam/lib/libmpi.a(lamthreads.o)(.text+0x21): In
function
> `lam_thread_create':
> : undefined reference to `pthread_create'
> /usr/lib/lam/lib/libmpi.a(lamthreads.o)(.text+0x55): In
function
> `lam_thread_join':
> : undefined reference to `pthread_join'
> /usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x248): In
function
> `lam_updown_reset_thr_level':
> : undefined reference to `lam_mpi_thread_level'
> /usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x258): In
function
> `lam_updown_reset_thr_level':
> : undefined reference to `lam_mpi_mutex'
> /usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x2b6): In

> function `lam_setfunc':
> : undefined reference to `lam_mpi_thread_level'
> ----------------------------------
> 
> There're a lot of similar errors.
> 
> By the way, I run my system on Debian Sarge. With ATLAS
library
> installed from apt-get , not from source.
> 
> Any ideas about that.
> 
> Thank in advance.
> 
> P.S : I attached make.log and my Make.Linux* file.
> -- 
> Gavin Tran
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
>
iD8DBQFDtPezQipgvQyG5e4RAv4WAJ0bpEAHemKWf+yaJ23JwETylJct/wCd
HQC6
> 8HsnvA0JLJedWHkFUFKFj1A=
> =FSoP
> -----END PGP SIGNATURE-----
> 

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: Problems in running Linpack HPL benchmark with LAM
user name
2006-05-17 04:52:05
Thank Jeff,

I did what you recommended and it compiled HPL successfully.

On 5/16/06, Jeff Squyres (jsquyres) <jsquyrescisco.com> wrote:
> As you indicated in your followup mail, this is likely
caused by finding
> the "wrong" libmpi.
>
> I would generally recommend using the mpicc / mpif77
wrapper compilers
> when compiling applications such as HPL.  It allows you
to avoid
> specifying all the -I's, -L's, and -l's that LAM
requires.  You can
> clear out all those lines in the Makefile if you just
use mpif77 and
> mpicc.  This will also get the "right"
libmpi and avoid these linker
> problems.
>
>
> > -----Original Message-----
> > From: lam-bounceslam-mpi.org
> > [mailto:lam-bounceslam-mpi.org] On Behalf Of
Gavin Tran
> > Sent: Friday, May 12, 2006 4:48 AM
> > To: General LAM/MPI mailing list
> > Subject: LAM: Problems in running Linpack HPL
benchmark with LAM
> >
> > Hi,
> >
> > I'm preparing to run a Linpack HPL benchmark on
my clusters with
> > LAM/MPI 7.1.1 successfully installed.
> >
> > I set params in Make.Linux_P4SSE_CBLAS for
example. I changed its
> > default value from MPICH settings to LAM/MPI ,and
also with the path
> > to ATLAS library.
> >
> > When i run make arch=Linux_P4SSE_CBLAS , it poured
out a
> > series of errors below
> > ----------------------------
> >
home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl_m
is
> > c.h:54:1:
> > warning: this is the location of the previous
definition
> > /usr/bin/gcc -o HPL_pdtest.o -c  -DHPL_CALL_CBLAS
> >
-I/home/jishin/research/benchmark/linpack-hpl/hpl/include
> >
-I/home/jishin/research/benchmark/linpack-hpl/hpl/include/Li
nu
> > x_P4SSE_CBLAS
> >  -I/usr/lib/lam/include -fomit-frame-pointer -O3
-funroll-loops
> > ../HPL_pdtest.c
> > In file included from
/usr/lib/lam/include/mpi.h:23,
> >                  from
> >
/home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl_
pm
> > isc.h:54,
> >                  from
> >
/home/jishin/research/benchmark/linpack-hpl/hpl/include/hpl.
h:80,
> >                  from ../HPL_pdtest.c:50:
> > /usr/lib/lam/include/lam_config.h:591:1: warning:
> > "STDC_HEADERS" redefined
> > ----------------------------
> > usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x18):
In function
> > `MPI_Finalize':
> > : undefined reference to `lam_mpi_thread_level'
> > /usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x2a):
In
> > function `MPI_Finalize':
> > : undefined reference to `lam_mpi_main_thread'
> >
/usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x15f): In
> > function `MPI_Finalize':
> > : undefined reference to `lam_mpi_thread_level'
> >
/usr/lib/lam/lib/libmpi.a(finalize.o)(.text+0x168): In
> > function `MPI_Finalize':
> > : undefined reference to
`lam_mpi_thread_finalize'
> >
/usr/lib/lam/lib/libmpi.a(lammpiinit.o)(.text+0x1f4): In
function
> > `lam_mpi_init':
> > : undefined reference to `lam_mpi_thread_level'
> >
/usr/lib/lam/lib/libmpi.a(lammpiinit.o)(.text+0x1fe): In
function
> > `lam_mpi_init':
> > : undefined reference to `lam_mpi_thread_init'
> >
/usr/lib/lam/lib/libmpi.a(lamthreads.o)(.text+0x21): In
function
> > `lam_thread_create':
> > : undefined reference to `pthread_create'
> >
/usr/lib/lam/lib/libmpi.a(lamthreads.o)(.text+0x55): In
function
> > `lam_thread_join':
> > : undefined reference to `pthread_join'
> >
/usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x248): In
function
> > `lam_updown_reset_thr_level':
> > : undefined reference to `lam_mpi_thread_level'
> >
/usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x258): In
function
> > `lam_updown_reset_thr_level':
> > : undefined reference to `lam_mpi_mutex'
> >
/usr/lib/lam/lib/libmpi.a(lamupdown.o)(.text+0x2b6): In
> > function `lam_setfunc':
> > : undefined reference to `lam_mpi_thread_level'
> > ----------------------------------
> >
> > There're a lot of similar errors.
> >
> > By the way, I run my system on Debian Sarge. With
ATLAS library
> > installed from apt-get , not from source.
> >
> > Any ideas about that.
> >
> > Thank in advance.
> >
> > P.S : I attached make.log and my Make.Linux* file.
> > --
> > Gavin Tran
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> >
iD8DBQFDtPezQipgvQyG5e4RAv4WAJ0bpEAHemKWf+yaJ23JwETylJct/wCd
HQC6
> > 8HsnvA0JLJedWHkFUFKFj1A=
> > =FSoP
> > -----END PGP SIGNATURE-----
> >
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
>


-- 
Gavin Tran

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDtPezQipgvQyG5e4RAv4WAJ0bpEAHemKWf+yaJ23JwETylJct/wCd
HQC6
8HsnvA0JLJedWHkFUFKFj1A=
=FSoP
-----END PGP SIGNATURE-----

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )