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

Notices


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

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


hi,
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
aemus
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:39 AM.

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