Results 1 to 1 of 1
I want to run the program with my computer which has two cores and I want to use both cores, here is the simple testing program: /*The Parallel Hello World ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-21-2011 #1
- Join Date
- Jun 2011
Question about mpirun
/*The Parallel Hello World Program*/
int main(int argc, char **argv)
printf("Hello World from Node %d\n",node);
I use mpicc to compile in ubuntu and I run it trying to use commands "mpirun -np 2 ./try.exe" and "mpirun ./try.exe" but some error message comes out:
mpiexec_ubuntu: cannot connect to local mpd (/tmp/mpd2.console_shsh); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
What do it means? can I use mpirun in ubuntu?