update python in rockscluster

download the python2.7

tar xfvz python2.7.tar.gz

cd python2.7
run ./configure –prefix=/share/apps/python2.7 –with-threads –enable-shared
make
make install
create python27.sh in /etc/profile.d
if [ -d /share/apps/python2.7/bin ]; then
export PATH=/share/apps/python2.7/bin:$PATH
fi
create python27.conf in /etc/ld.so.conf.d
/share/apps/python2.7/lib

one copy these files to all compute nodes:

I put python27.sh and python27.conf in /share/apps

rocks run host “cp /share/apps/python27.sh /etc/profile.d”

rocks run host “cp /share/apps/python27.conf /etc/ld.so.conf.d/

run ldconfig  on all nodes:

rocks run host ldconfig

About laotsao 老曹

HopBit GridComputing LLC Rockscluster Gridengine Solaris Zone, Solaris Cluster, OVM SPARC/Ldom Exadata, SPARC SuperCluster
This entry was posted in ROCKS. Bookmark the permalink.

2 Responses to update python in rockscluster

  1. Hersh says:

    Will it make any problem for the ROCKS 5.4.. I hope it is not going to create any issues for other programs such as yum etc… Please suggest…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s