LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2009, 03:06 PM   #1
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Rep: Reputation: 1
Which MPI installed


Hi. I am using a linux machine, OS: RHEL 5.0 having 8 processors.
I am using a s/w which needs MPI to be installed. How would I know which MPI is installed in my machine and in which folder? Also is there any way to check how many processors I have?

My second question is as below:
One software is installed in my machine. If I want to run a 'script-file' to run the software from a particular folder, how can I do that?

Thanks in advance.

loss
 
Old 08-28-2009, 05:14 PM   #2
bkeeper
LQ Newbie
 
Registered: Dec 2005
Location: Muenchen, Germany
Posts: 25

Rep: Reputation: 16
As for the number of processors, simply do
Code:
less /proc/cpuinfo
To find which program is used, do
Code:
which firefox
or try
Code:
locate firefox
although that might not work with your MPI.

In the scrip file, why don't you just
Code:
cd
to the directory you want to run in?

Cheers,
BKeeper

Last edited by bkeeper; 08-28-2009 at 05:18 PM.
 
1 members found this post helpful.
Old 08-28-2009, 05:57 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
To know which "MPI" packages, you have installed :
rpm -qa | grep openmpi
and
rpm -qa | grep mpi

Available packages are :

openmpi
openmpi-devel
openmpi-libs
mpi-selector
mpitests-mvapich
mpitests-mvapich2
mpitests-openmpi

.. and may be
mpich2
mpich2-devel
mpich2-libs

Finding locations of the files :
rpm -ql <package-name>
.....
 
1 members found this post helpful.
  


Reply


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
Mpi mkrems Programming 0 06-09-2008 08:18 PM
Mpi chandan_shetty Linux - Networking 1 05-10-2008 06:16 AM
Mpi chui_yap Programming 1 03-07-2006 08:22 AM
what do I need to know to use MPI kgustaf Linux - Networking 0 07-25-2005 05:13 PM
MPI community kevingpo Programming 2 07-25-2005 04:39 PM


All times are GMT -5. The time now is 04:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration