Sorry, I\'m sure making a silly mistake, but did not work out.
I\'m compiling a simple mpi hello world:
#include
#include
I don't know how you can compile it:
int main (argc, argv)
int argc;
char *argv[];
will be changed to
int main (int argc, char *argv[])
another point is that mpi is message passing interface that passes messages between processes not cores or processors if you have a 4 core system you can run your code with so many processes as your ram permits but only 4 processes are working at any time and other processes must wait so it is efficient that you use only 4 process.