I'll check my system, maybe cmake "can't find" MPI properly.
I'm using cmake 2.8.4. and my code works when I compile without cmake (I use
those instructions exactly).
Thank you
--- El jue, 23/6/11, Todd Gamblin escribió:
De: Todd Gamblin
Asunto: Re: [CMake] How
On Jun 22, 2011, at 11:11 AM, Mª Dolores Villalobos Ortiz wrote:
> Thank you.
>
> I have tried to compile my code using that version of CMakeLists, but it
> doesn't work. My program's output is still wrong.
Whether or not mpiexec launches properly isn't something CMake can control. If
you are
Thank you.
I have tried to compile my code using that version of CMakeLists, but it
doesn't work. My program's output is still wrong.
This is completely, utterly wrong!
# 2.7 was a development version, so you should either specify
# 2.6 or 2.8...
cmake_minim_required(VERSION 2.7)
project(ITK_M
Hm... this is the CMake user list, not the MPI-user list. You're
posing your question on the wrong list.
(but how did you compile? Did you use mpicc?)
Sincerely,
Jakob
On 06/22/2011 02:25 PM, Mª Dolores Villalobos Ortiz wrote:
>What do you mean with "it doesn't run correctly"? Does it
On 06/22/2011 12:00 PM, Mª Dolores Villalobos Ortiz wrote:
> Hi
>
> I'm trying to compile a main program (it contains MPI functions) using
> cmake. I get an executable file (there aren't problems in compilation ),
> but it doesn't run correctly.
>
> If I compile my code using a simple Makefile, i
>What do you mean with "it doesn't run correctly"? Does it not even
start? How do you start your program?
--
My program's code is:
#include
using namespace std;
#include "mpi.h"
int main( int argc, char * argv[] )
{
int node;
int num_nod
What do you mean with "it doesn't run correctly"? Does it not even
start? How do you start your program?
Andreas
Am 22.06.2011 12:00, schrieb Mª Dolores Villalobos Ortiz:
Hi
I'm trying to compile a main program (it contains MPI functions) using
cmake. I get an
Hi
I'm trying to compile a main program (it contains MPI functions) using cmake. I
get an executable file (there aren't problems in compilation ), but it doesn't
run correctly.
If I compile my code using a simple Makefile, it works; but I need to compile
it using cmake (that's a prerequisite f