On Jun 16, 2005, at 11:29 AM, nithu wrote:
> i'm able to compile simple c++ programs with gcc. Does
> it mean that i still have to change the LAM to work
> with gcc and not Pgcc, to compile the C++ programs of
> this particular software?
What I was saying was that your application looks like it is at least
somewhat customized for g++, but mpiCC using pgCC underneath to compile
things. So if you change your python makefile from g++ to mpiCC,
you're effectively changing it to pgCC, which your application doesn't
seem to like.
So one way to fix that is to make mpiCC use g++. The best way to do
that is to recompile your MPI to have support for g++ (instead of
pgCC). Note that I said "your MPI implementation" -- it's not clear
that you're using LAM/MPI. See below.
> the command to check if mpiCC uses gcc as background,
> does not work
>
> [root_at_master root]# mpiCC -showme
> pgCC-Warning-Unknown switch: -showme
> pgCC-Warning-No files to process
Are you sure that you're using LAM/MPI? "-showme" or "--showme" are
LAM-specific options that will definitely show what command mpiCC is
using to compile your applications. Do you know what version of LAM
you are running?
Do you have the "laminfo" command installed?
> is there any other alternative command?
>
> Are these problems anyway related to path for gcc?
It is doubtful.
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|