Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-28-2004, 09:32 AM   #1
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Rep: Reputation: 15
Creating a linux cluster effect on a single linux machine?

I'm using a linux cluster at college to run parallel programs using LAM/MPI. The cluster consists of 4 linux machines. LAM is basically a daemon based implementation of MPI. What it does is...when you boot up the nodes via the command 'lamboot -v hostfile' it launches daemons on each of the machines who's IPs are listed in the hostfile. Once the nodes are up and running you can run any parallel program using MPI i.e The Message Passing Interface. Now i wanted to see if i could in some way have the cluster effect on a single linux machine. So on my laptop i tried bringing up 4 virtual interfaces on top of the actual ethernet interface eth0 using the following command:

ifconfig eth0: x IP netmask up

I executed this command 4 times using 1, 2, 3 and 4 in place of x and in place of IP i wrote down 4 Class C addresses...i.e,, and

The command executed 4 times perfectly fine. But when i did a lamboot, first of all it wouldn't let me run it logged in as root saying it's a very bad practice to run daemons as root. Then i logged in as myself and not root, only the first node booted up and none of the rest....the boot process failed!!!

If anyone knows anything about creating a multihomed host (i.e giving one machine multiple ips) plzzzzzzzzzz let me know!!!!!!!!!!!


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
useradd:'invalid user name' error when creating a machine account on RedHat Linux ES4 santosh0805 Linux - General 1 07-12-2005 08:39 AM
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
Creating Single Instance linux application praj_linux Programming 2 11-19-2004 04:06 AM
linux echo effect Youssef_C Linux - Software 1 10-31-2004 04:26 PM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:00 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