Try using "mpecc -mpicc=<path_to_mpicxx>" to compile your C++ program.
"mpicc -mpilog" is only available in the MPICH (not MPICH2 which provides
mpicc -mpe=mpilog). Non-MPICH(2) based implementation needs to use
mpecc instead to enable MPE.
----- "Ridhi Dua" <duaridhi_at_[hidden]> wrote:
> I have successfully installed MPE for my existing Open-MPI
> installation and
> have been able compile using the compiler wrapper 'mpecc'.
> But, I have some C++ MPI programs which cannot be compiled using
> mpecc. How
> do I achieve this,or do I need to make changes to my MPE installation
> procedure? I used the following command for my current installation.
> ./configure --prefix=/gpfs/fs3/home/xxx/mybin \
> MPI_CC=/sw/openmpi/bin/mpicc \
> --disable-f77 \
> (Also, I have managed to use mpecc, but not 'mpicc -mpilog hello.c' Is
> assumption even correct for Open-MPI or is it an option only for MPICH
> Thank you.
> ~ ridZ
> users mailing list