Open MPI logo

Docs Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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