LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-14-2009, 02:10 PM   #1
madani
Member
 
Registered: Feb 2009
Posts: 36

Rep: Reputation: 15
Installing Python package including numpy , scipy,mpi4py , pycxx , symeig


Hi dear friends;
I need a python package which includes::
numpy
scipy
mpi4py
pycxx
symeig
---------
Would you lead me to proper address for free download ? and direct me for installation.
I will use it on a 64 bit linux which is centOS 5.2 .

I have tried downloading and installing them separately, before, But they were depending on other and several prerequisits. That is a demanding job.
Can you tell me an easy command to installing automatically what I need and all their prerequisits? you know ,I'm a newbie in Linux ,so please kindly lead me step by step and completely.!!!

Much thanks for your attention and help
Madani
 
Old 03-14-2009, 07:22 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Read about numpy, scipy :
http://numpy.scipy.org/

# yum -y install numpy scipy python-devel openmpi-devel
.............
'mpi4py'
http://pypi.python.org/pypi/mpi4py
> > mpi4py-0.6.0.tar.gz
tar xvf mpi4py-0.6.0.tar.gz
'cd mpi4py-0.6.0/' ... 'su' ..
# 'export PATH=$PATH:/usr/lib/openmpi/1.2.5-gcc/bin:/usr/bin'
# 'python setup.py install'
# 'exit'
..............
'pycxx'
http://cxx.sourceforge.net/README.html
http://prdownloads.sourceforge.net/c...x-5.4.2.tar.gz
> > pycxx-5.4.2.tar.gz .. tar xvf pycxx-5.4.2.tar.gz ..
'cd pycxx-5.4.2/' .. 'su' .. # 'python setup.py install'

And have a look in 'Demo/', you will have to edit 'setup.py' :
> Just delete line 1...36 , then it will work.
# 'cd Demo/' .. # 'python setup.py install'
and please read the README link for running the demos.
..............
'symeig'
http://mdp-toolkit.sourceforge.net/symeig.html
http://sourceforge.net/project/showf...roup_id=116959
http://sourceforge.net/project/showf...ease_id=634081
> > symeig-1.5.tar.gz .. 'tar xvf symeig-1.5.tar.gz' ..
'cd symeig-1.5/' .. 'su' .. # 'python setup.py install'
..............
That's it, good luck !
..............

You will need the 'rpmfusion.org' repo
http://rpmfusion.org/Configuration
Please click "RPM Fusion free for RHEL5 or compatible like CentOS"
and "RPM Fusion nonfree for RHEL5 or compatible like CentOS"
and install the two small downloaded packages with
the command # 'rpm -Uvh <package> <package>'
.....
All the above works on CentOS 5.2 - x86,
I guess, that it will work on 64 bit too.
The 'export PATH' may be a little different,
if the openmpi is located in /usr/lib64/, please
check the location with the command
'rpm -ql openmpi-devel'
.....

Last edited by knudfl; 03-16-2009 at 05:12 PM.
 
  


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
python error , import numpy ufmale Programming 2 08-26-2008 12:59 AM
Scipy And Numpy automata Linux - Software 1 10-18-2007 07:50 AM
Including python module causing script to abort? rose_bud4201 Programming 3 06-22-2007 12:31 PM
installing Python 2.4 package on Suse 9.1 asilentmurmur SUSE / openSUSE 7 03-06-2005 12:35 PM
Visual Python/Numpy uranologist Linux - Software 0 09-28-2003 11:08 PM

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

All times are GMT -5. The time now is 01:49 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
Open Source Consulting | Domain Registration