Open MPI logo

Docs Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Docs mailing list

Subject: Re: [OMPI docs] How to compile OpenMPI applications?
From: Jed Brown (jedbrown_at_[hidden])
Date: 2013-08-24 14:03:40

manday_at_[hidden] writes:

> I've frankly got no idea what you're talking about or whom you're
> adressing for that matter. There is no student with any assignment and
> neither are there any m4 files anywhere in the openmpi installation (at
> least on Gentoo).
> I'm simply a software developer trying to "properly" compile my OpenMPI
> software like I would compile any other program (that is, without
> auxilliary software). In more practical regard, I'd prefer that the
> compilation of this program integrate well with CMake and the normal
> compile process, in which additional tools such as mpicc are uncalled
> for.

As a CMake user, surely you are familiar with FindMPI.cmake, which uses
mpicc -showme (an variants) to figure out how to compile and link.

It's also common that people just expect CMAKE_C_COMPILER=/path/to/mpicc.

  • application/pgp-signature attachment: stored