From: "Daniel G. Chavarria" <danich@cs.rice.edu>
Newsgroups: comp.parallel.mpi
Subject: Re: Having problems with the compilation of MPE libraries
Date: Thu, 15 Oct 1998 13:20:55 -0500
Organization: CS Dept. Rice University
Message-Id: <36263D07.65C376A@cs.rice.edu>
References: <3609704E.EC06277C@cs.princeton.edu>
    <361E4D3D.48723FCC@mayo.edu>
    <stevenj-ya02408000R1210980057540001@news.mit.edu>
    <3625D40D.29D0C0FE@alumnes.eup.udl.es>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Ferran Eloi wrote:
> 
> >
> 
> Well, first of all my name is Ferran Eloi Gutierrez, and I'm an spanish
> student of Computer Science doing my end's career project that is about MPI
> where I'm trying to create a scheduler to control it.
> 
> Excuse me for my poor english, I can't practice the language.
> 
> I've some problems when I tried to compile the libraries of MPE (mpich
> programming environment) , for example:
>     The first problem that I see was that makefiles of mpe that's an incorrect
> PATH to compile:
>     first the mpicc wasn't correctly situated when I had compile de mpi, but I
> this solution was easy.
>    Now the problem that I've is the next:
>         When I compile the mpe libraries, the compiler can create the object
> files , but when all is created then it removes all the .o files. I've to try
> to eliminate the sentences when it removes the .o files but I think this is
> not the solution. By otherside I think I've installed well the mpi cause the
> mpirun works fine. I use a Linux Pentium II with the Linux Red Hat 5.1
> installed, and I've installed the MPI in /usr/local/mpich.
> 
> Dou you know what is hapennig ?
> 
> Thank you for your attention.
> 
> Ferran Eloi.

Ferran,

	What I usually do is not to use mpicc.  Instead I compile normally
using a makefile with the standard compiler (cc or gcc) and then in the
same makefile, I specify the mpi libraries for the linking phase.

	Hope this helps.


Cheers,

Daniel Chavarria

Ferran,

	Lo que normalmente hago es no usar mpicc.  En lugar de eso, utilizo el
compilador normal (cc o gcc) y luego en el makefile coloco las
invocaciones a las librerias de mpi en la phase de "linking".

	Espero que esto te ayude.  Si tenes algun problema, enviame un e-mail
directo y tal vez te pueda ayudar.

Saludos,

-- 
___________________________________________________________________

Daniel G. Chavarria-Miranda
PhD Student
CS Department, Rice University

