Am using CMake build system along with an OpenMPI based project.
CMake is using mpicc's -showme:compile and -showme:link output to
build compile and link flags; however, it is expecting -showme:compile
to dump at least some "-I" flags, that it is further parsing in order
to build the list of includ
What exactly does mpicc --showme:compile output?
mpicc (and friends) typically do not output -I only for "special"
directories, such as /usr/include, because adding -I/usr/include may
subvert the compiler's normal include directory search order.
On Apr 16, 2008, at 7:57 AM, Crni Gorac wrot
I think that in pure OpenMPI environment (without any resorce manager) you
should be able to run applications like this:
mpirun -np 2 mpi_executable
or
mpirun -np 4 -machinefile machines.list mpi_executable
where machines.list contains a list of your computers identified by their
host names.
The
On Wed, Apr 16, 2008 at 2:18 PM, Jeff Squyres wrote:
> What exactly does mpicc --showme:compile output?
>
> mpicc (and friends) typically do not output -I only for "special"
> directories, such as /usr/include, because adding -I/usr/include may
> subvert the compiler's normal include directory
Cally:
In the hostfile you add a "slots" line. For example on my dual
opteron (single core) system, I have slots=2. This can be read about
in more detail in the FAQ - I provide a link for this section below -
you may need to scroll down to see the example hostfile at the end of
the section.
htt
On Apr 16, 2008, at 9:38 AM, Crni Gorac wrote:
mpicc (and friends) typically do not output -I only for "special"
directories, such as /usr/include, because adding -I/usr/include may
subvert the compiler's normal include directory search order.
On my machine, "mpicc -showme:compile" outputs "-p