Must mpif90 be used to compile parallel version of code?

Matthew Knepley knepley at gmail.com
Tue Jan 9 22:16:57 CST 2007


MPI is a library. mpif90 just adds the correct flags. Underneath it
is calling whatever compiler you configured with.

   Matt

On 1/9/07, Ben Tay <zonexo at gmail.com> wrote:
> Hi,
>
> I'm new to mpi. If I'm coding my code to use PETSC to solve my linear
> eqn in parallel, must I compile in mpif90 (for fortran) or can I
> compile in ifort and then instruct to send the job to n processors?
>
> Thank you.
>
>


-- 
One trouble is that despite this system, anyone who reads journals widely
and critically is forced to realize that there are scarcely any bars to eventual
publication. There seems to be no study too fragmented, no hypothesis too
trivial, no literature citation too biased or too egotistical, no design too
warped, no methodology too bungled, no presentation of results too
inaccurate, too obscure, and too contradictory, no analysis too self-serving,
no argument too circular, no conclusions too trifling or too unjustified, and
no grammar and syntax too offensive for a paper to end up in print. --
Drummond Rennie




More information about the petsc-users mailing list