LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Lapack (https://www.linuxquestions.org/questions/linux-software-2/lapack-758874/)

soltanloo 10-01-2009 02:41 AM

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.

weibullguy 10-01-2009 04:41 AM

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.


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