LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2009, 02:41 AM   #1
soltanloo
Member
 
Registered: Jun 2009
Posts: 39

Rep: Reputation: 15
Lapack


hi
i installed
Code:
lapack-3.2.1-3.fc10.i386
with yum
Code:
yum install lapack
on fedora10.
and now i don't know how can i run it ? if i install a package with yum i don't know how can i find the exe file. for example i installed MPICH2 yesterday and now i don't know how can i run it.
thank u in advance.
 
Old 10-01-2009, 04:41 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You don't run lapack. lapack is a library that other applications use.

To use MPICH2, you need to start the mpd daemon on each machine to be used by your program. Make sure you have a file .mpd.conf in your home directory on each machine, with a line like
Code:
secretword=
with your favorite word following. You also need to have passwordless SSH from your machine to all the other machines you will be using.

The primitive way to launch the daemons is to simply type
Code:
mpd &
in a terminal window at each machine. It is more convenient to use mpdboot. To do this, first set up a file mpd.hosts in your home directory, with the names of the machines on which you want daemons to be running; list the network names of the machines, one line per machine, e.g. my mpd.hosts file
Code:
aragorn.clusterfsck.net
boromir.clusterfsck.net
samwise.clusterfsck.net
legolas.clusterfsck.net
gimli.clusterfsck.net
gandolf.clusterfsck.net
meriadoc.clusterfsck.net
pippin.clusterfsck.net
treebeard.clusterfsck.net
frodo.clusterfsck.net
faramir.clusterfsck.net
Then execute
Code:
mpdboot -n <number of machines to start> -f ~/mpd.hosts
To run your program called my_parallel_program
Code:
mpirun my_parallel_program
There are many good HOWTOs for MPICH2 on the internet, including the MPICH2 website. Feel free to use them for more detailed instructions.

Last edited by weibullguy; 10-01-2009 at 04:44 AM.
 
  


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
ARPACK vs. LAPACK mkrems Programming 3 05-15-2008 01:00 PM
Compiling lapack hussar Linux - Software 0 10-18-2004 02:24 PM
lapack library problem marlinux Red Hat 3 09-02-2003 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 PM.

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