Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Urgent: needed some specific info about installing lam-mpi

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
valkyrite
Apprentice
Apprentice
Posts: 241
Joined: Thu Sep 19, 2002 3:29 pm

Urgent: needed some specific info about installing lam-mpi

  • Quote

Post by valkyrite » Thu Oct 21, 2004 9:58 pm

Hello,

I want to install lam-mpi on a cluster using "emerge".

I have choosen gentoo as the OS since I have been using it and am comfortable with it. At present I am already running lam-mpi successfully but have installed it manually. This is what I have done.
  • 1. Installed lam-mpi (using ./configure --prefix=/usr/local/lam-mpi, make, make install).
    2. Exported the direcotry /home and /usr/local to all other nodes and have configured necessary services for it to run smoothly.
However, I wish to use the lam-mpi ebuild provided with the portge for the purpose. One way I know of is that I install lam-mpi on all the nodes (I can do it using a small script).

But, is it possible (and if yes how) that I install lam-mpi using the emerge script in a particular directory (of my choice) on my master node only such that all the stuff resides in that particular directory and I simply export it to other nodes. It will reduce my job and more importantly I would be able to use the features provided by emerge.

I tried doing:

Code: Select all

env ROOT=/usr/local/lam-mpi emerge -v lam-mpi
And it installed (with a few glitches) almost an entire gentoo system (similar to what I expected) in that directory along with mpi stuff.

The problem is how do I get to run it from such an installation.
What is the procedure to unmerge it. (I can simply delete the entire directory though).

Code: Select all

env ROOT=/usr/local/lam-mpi emerge search lam-mpi
tells lam-mpi is not installed :? but I can see all the mpi stuff in there.

Any suggestion will be highly appreciated.

--
Tiwaris
Top
Skywacker
n00b
n00b
Posts: 72
Joined: Fri Jan 23, 2004 3:47 pm
Location: Missouri

  • Quote

Post by Skywacker » Wed Nov 10, 2004 10:45 pm

Sorry I'm not directly answering your question, but why are you doing this?

I have a cluster running lam-mpi with no problems, but lam-mpi is emerged locally on all nodes. I think you are going to take a performance hit running lam-mpi off an nfs share. You're already using the hard drive for the OS, so you're not aiming for diskless nodes, so I have to assume you're trying to ease administration of the cluster. In that case have your own local portage cache on your master for your nodes to update from. Search these forums, there's a couple threads on it.

-Sky
Top
valkyrite
Apprentice
Apprentice
Posts: 241
Joined: Thu Sep 19, 2002 3:29 pm

  • Quote

Post by valkyrite » Thu Nov 11, 2004 3:40 am

Thanks for the reply. Definitly I wanted to ease my administration and also wanted to keep the installation size to a minimum. At present I have installed lam-mpi on the master node (made a package of it) and then using a simple shell script, I installed the compiled package on all other nodes.

I have exported /usr/local/ and have installed all the custom stuff in that place (intel compilers, mpich etc.) It makes my job easy to do and takes less time.

Also isn't it redundant that you have to install it on all the nodes for it to work. Could you suggest me the best way to go about it (my main priority ofcourse is the peformance and second priority is ease of administration).

--Tiwaris
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic