vallis.org: Michele's wikiblog

chsh
[insert password, then select /bin/bash; login again to get the new shell]
…
[do "module list", and "module unload" all the intel and mpich modules]
module load mpich-tcp-gnu
…
mkdir install
cd install
wget http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz
tar zxvf Python-2.5.1.tgz 
cd Python-2.5.1
./configure --prefix=$HOME
make
make install
cd ..
rm -rf Python-2.5.1
…
cd ~
cat >> .profile
[type "export PATH=$HOME/bin:$PATH";
 this will be effective at next login, so also run this in the terminal
 on some configurations this may need to go in .bashrc]
…
cd install
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py --prefix=$HOME
easy_install numpy
…
wget http://www.vallis.org/software/synthLISA-1.3.4c.tar.gz
tar zxf synthLISA-1.3.4c.tar.gz
cd synthLISA-1.3.4
./default-install.py swig --prefix=$HOME
python setup.py install --prefix=$HOME
cd ..
rm -rf synthLISA-1.3.4
…
[the following takes a long time, run in the background]
cd ~
cvs -d :pserver:vallis@gravity.phys.uwm.edu:/usr/local/cvs/duncan login
[CVS password: XXX]
cvs -d :pserver:vallis@gravity.phys.uwm.edu:/usr/local/cvs/duncan co qm
cvs -d :pserver:vallis@gravity.phys.uwm.edu:/usr/local/cvs/duncan co smbh
…
cd ~/install
wget http://mirrors.usc.edu/pub/gnu/gsl/gsl-1.9.tar.gz
tar zxf gsl-1.9.tar.gz
cd gsl-1.9
./configure --prefix=$HOME
make
make install
cd ..
rm -rf gsl-1.9
…
wget http://www.fftw.org/fftw-3.1.2.tar.gz
tar zxf fftw-3.1.2.tar.gz
cd fftw-3.1.2
./configure --prefix=$HOME
make
make install
make clean
./configure --prefix=$HOME --enable-float
make
make install
cd ..
rm -rf fftw-3.1.2
…
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig
…
cd ~
export LSCSOFT_USER=${LSCSOFT_USER:-"anonymous"}
export LSCSOFT_SRCDIR=${LSCSOFT_SRCDIR:-"${HOME}/src/lscsoft/"}
mkdir -p ${LSCSOFT_SRCDIR}
cvs -d:pserver:${LSCSOFT_USER}@gravity.phys.uwm.edu:2402/usr/local/cvs/lscsoft login
[CVS password: lscsoft]
cd ${LSCSOFT_SRCDIR}
cvs -d:pserver:${LSCSOFT_USER}@gravity.phys.uwm.edu:2402/usr/local/cvs/lscsoft co lal
export LSCSOFT_SRCDIR=${LSCSOFT_SRCDIR:-"${HOME}/src/lscsoft/"}
export LAL_PREFIX=${LAL_LOCATION:-"${HOME}/opt/lscsoft/lal"}
cd ${LSCSOFT_SRCDIR}/lal
./00boot
./configure --prefix=${LAL_PREFIX}
make
make install
cat >> ~/.profile
[type ". $HOME/opt/lscsoft/lal/etc/lal-user-env.sh"]
. $HOME/opt/lscsoft/lal/etc/lal-user-env.sh
…
cd ~/smbh
python master-install.py --prefix=$HOME
…
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/lib/pkgconfig
cat >> ~/.profile
[type "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib"
 type "PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/lib/pkgconfig"]
cd ~/qm
python setup.py install --prefix=$HOME --rpath
…
cd ~/install
wget http://pypi.python.org/packages/source/m/mpi4py/mpi4py-0.5.0.tar.gz
tar zxf mpi4py-0.5.0.tar.gz
cd mpi4py-0.5.0
python setup.py install --prefix=$HOME
python setup.py build_exe
python setup.py install_exe --prefix=$HOME
cd ..
[and then use the mpi4py installed in $HOME/bin instead of the system-provided mpirun]
…
[to install matplotlib]
cd ~/install
wget http://prdownloads.sourceforge.net/libpng/libpng-1.2.22.tar.gz?download
tar zxf libpng-1.2.22.tar.gz 
cd libpng-1.2.22
./configure --prefix=/home/vallis; make; make install
cd ..
rm -rf libpng-1.2.22
…
wget http://downloads.sourceforge.net/matplotlib/matplotlib-0.90.1.tar.gz?modtime=1180792804&big_mirror=0
tar zxf matplotlib-0.90.1.tar.gz
cd matplotlib-0.90.1
[edit setupext.py to add '/home/vallis' to the 'linux' and 'linux2' include dirs]
python setup.py install --prefix=$HOME
cd ..
rm -rf matplotlib-0.90.1
…
[get PyMC, patched version, from Michele]
tar zxvf PyMC-1.3.3.tar.gz 
cd PyMC-1.3.3
python setup.py install --prefix=$HOME
cd ..
rm -rf PyMC-1.3.3

Nov 28, 2007

cosmosmbh (/linuxtricks)
2007-11-28, 15:22 [edit]


  Login:   Password:   [rss] [cc] [w3] [css]

© M. Vallisneri 2012 — last modified on 2010/01/29

Tantum in modicis, quantum in maximis