Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] mpi.h incorrect format error?
From: Tim Prince (n8tm_at_[hidden])
Date: 2012-08-06 14:18:33

  On 08/06/2012 07:35 AM, PattiMichelle wrote:
> -DMAX_HISTORY=25 -c buf_for_proc.c
You might need to examine the pre-processed source
  (mpicc -E buf_for_proc.c > buf_for_proc.i)
to see what went wrong in pre-processing at the point where the compiler
(gcc?) complains.
I suppose you must have built mpicc yourself; you would need to assure
that the mpicc on PATH is the one built with the C compiler on PATH.

Tim Prince