Thanks Laurent, I will try your proposed settings.

        Note that I didn't want to use CC= and LINKER= since I dont know the 
probable impacts on the rest of the benchmarks...hmm...though this IS a 
clustering benchamrk. Also note that I wasn't trying to compile for MPICH, I 
merely copied the lines from a "clean" config as a reference ;)

Eric

Le mercredi 21 février 2007 11:48, Laurent Nguyen a écrit :
> Hello,
> 
> I believe that you are trying to use mpich, not openmpi (libmpich.a).
> Personnally, I've compiling HPCC on AIX IBM with OpenMPI with theses lines:
> 
>   # ----------------------------------------------------------------------
>   # - Message Passing library (MPI) --------------------------------------
>   # ----------------------------------------------------------------------
>   # 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        =
>   MPinc        =
>   MPlib        =
> ...
> CC = mpicc
> 
> LINKER = mpicc
> 
> But, in my environnment variable $PATH, I've the directory where OpenMPI 
> executables are: /****/openmpi/bin
> 
> I hope I could help you...
> 
> Regards
> 
> 
> **************************************
> NGUYEN Anh-Khai Laurent - Ingénieur de Recherche
> Equipe Support Utilisateur
> 
> Email    :    laurent.ngu...@idris.fr
> Tél      :    01.69.35.85.66
> Adresse  :    IDRIS - Institut du Développement et des Ressources en
>                Informatique Scientifique
>                CNRS
>                Batiment 506
>                BP 167
>                F - 91403 ORSAY Cedex
> Site Web :    http://www.idris.fr
> **************************************
> 
> Eric Thibodeau a écrit :
> > Hello all,
> > 
> >     As we all know, compiling OpenMPI is not a matter of adding -lmpi 
> > (http://www.open-mpi.org/faq/?category=mpi-apps). I have tried many 
> > different approaches on configuring the 3 crucial MPI lines in the HPCC 
> > Makefiles with no success. There seems to be no correct way to get mpicc 
> > --shome:* to return the correct info and forcing the correct paths/info 
> > seems to be incorrect (ie, what OpenMPI lib do I point to here:  MPlib = 
> > $(MPdir)/lib/libmpich.a)
> > 
> > Any help would be greatly appreciated!
> > 
> > Exerp from the Makefile:
> > 
> > # ----------------------------------------------------------------------
> > # - Message Passing library (MPI) --------------------------------------
> > # ----------------------------------------------------------------------
> > # 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/mpi
> > MPinc        = -I$(MPdir)/include
> > MPlib        = $(MPdir)/lib/libmpich.a
> > 
> > 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 

-- 
Eric Thibodeau
Neural Bucket Solutions Inc.
T. (514) 736-1436
C. (514) 710-0517

Reply via email to