Thank Jeff,
I did what you recommended and it compiled HPL successfully.
On 5/16/06, Jeff Squyres (jsquyres) <jsquyres_at_[hidden]> 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-bounces_at_[hidden]
> > [mailto:lam-bounces_at_[hidden]] 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_mis
> > 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/Linu
> > 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/wCdHQC6
> > 8HsnvA0JLJedWHkFUFKFj1A=
> > =FSoP
> > -----END PGP SIGNATURE-----
> >
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
Gavin Tran
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDtPezQipgvQyG5e4RAv4WAJ0bpEAHemKWf+yaJ23JwETylJct/wCdHQC6
8HsnvA0JLJedWHkFUFKFj1A=
=FSoP
-----END PGP SIGNATURE-----
|