Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-21-2004, 03:03 PM   #1
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Question Problem in a Parallel program for a 4 node CLUSTER

Actually i created a 4 node LINUX 9 cluster using MPICH.
now i have written a simple parallel program ( hworld.c) now on compiling it thru " mpicc -c hworld.c " creates a file "hworld.o" now when i run it thru " mpirun hworld " it doesn't run because the compiling command should also create a file " hworld " in order to run.
Reinstalling MPICH doesn't work.......................
Old 07-22-2004, 03:05 AM   #2
LQ Newbie
Registered: Sep 2003
Location: Puerto Rico
Distribution: Mandrake 10.0, gentoo.
Posts: 7

Rep: Reputation: 0
try using "mpicc hworld.c -o hworld"

this should create your executable.
Then run it with "mpirun -v -np 4 hworld"

Hope this is the answer you where looking for.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update/upgrade cluster through one node? jford_oldman Debian 8 11-02-2005 07:09 PM
Use a PCI videocard as a Cluster Node or similar ivan71 Programming 0 10-03-2004 08:38 AM
Linux Cluster - Random Node Crash ! insanecrac007 Linux - General 0 08-17-2004 10:30 AM
cant ping a node in a cluster.. dogma Linux - Networking 3 05-21-2003 11:06 PM
how do I SSH into a cluster node? dogma Linux - Newbie 4 05-15-2003 04:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration