From: "Javier Fernández Baldomero" <jfernand@atc.ugr.es>
Newsgroups: comp.parallel.mpi
Subject: Re: Changing the compiler
Date: Tue, 13 Jul 1999 20:12:56 +0200
Organization: Depto. Arquitectura y Tecnología Computadores
Message-Id: <378B81A8.670A4E7@atc.ugr.es>
References: <378B53C5.222FFF0@econ.upf.es>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Xref: ukc comp.parallel.mpi:5321


Jaume Catarineu wrote:
> 
> Hi,
> 
> What should I do to change the default compiler executed in mpicc? I
> would like to use the pgcc (http://www.pgroup.com) compiler BUT, build
> the mpi library as shared (so I must compile MPI
> without the '--with-cc=pgcc' option.
> 

Hi:
In LAM, mpicc is a script, $LAMHOME/bin/mpicc, which ends up calling

exec hcc -o "$@" "$@".c $lmpi

more or less. hcc is a c wrapper to call cc with all those -I and -L
and -l (tstdio, trillium, args, t) libraries

Are you using LAM?

> Thanks,
> Jaume,
> 
>   

que gracia, hablando en inglés, como en el chiste :-)

-javier

